From patchwork Thu Oct 13 15:11:56 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tristan Gingold X-Patchwork-Id: 119547 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id 85651B6FA5 for ; Fri, 14 Oct 2011 02:12:31 +1100 (EST) Received: (qmail 13449 invoked by alias); 13 Oct 2011 15:12:28 -0000 Received: (qmail 13439 invoked by uid 22791); 13 Oct 2011 15:12:27 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from mel.act-europe.fr (HELO mel.act-europe.fr) (194.98.77.210) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 13 Oct 2011 15:12:08 +0000 Received: from localhost (localhost [127.0.0.1]) by filtered-smtp.eu.adacore.com (Postfix) with ESMTP id 0886ACB026E for ; Thu, 13 Oct 2011 17:12:08 +0200 (CEST) Received: from mel.act-europe.fr ([127.0.0.1]) by localhost (smtp.eu.adacore.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 80h3Wse98Vtc for ; Thu, 13 Oct 2011 17:11:58 +0200 (CEST) Received: from ulanbator.act-europe.fr (ulanbator.act-europe.fr [10.10.1.67]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mel.act-europe.fr (Postfix) with ESMTP id 6C46FCB0359 for ; Thu, 13 Oct 2011 17:11:58 +0200 (CEST) From: Tristan Gingold Subject: [Patch]: fix typo in rs6000.c (AIX bootstrap broken) Date: Thu, 13 Oct 2011 17:11:56 +0200 Message-Id: <093BC4FE-A5E0-424F-8880-EF21D54E7F29@adacore.com> To: GCC Patches Mime-Version: 1.0 (Apple Message framework v1244.3) X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Hi, looks like an obvious typo. Ok for trunk ? Tristan. 2011-10-13 Tristan Gingold * config/rs6000/rs6000.c (rs6000_init_builtins): Fix typo. diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index 4fd2192..3bfe33e 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -12213,7 +12213,7 @@ rs6000_init_builtins (void) #if TARGET_XCOFF /* AIX libm provides clog as __clog. */ - if ((tdecl = builtin_decl_explicit ([BUILT_IN_CLOG))) != NULL_TREE) + if ((tdecl = builtin_decl_explicit (BUILT_IN_CLOG)) != NULL_TREE) set_user_assembler_name (tdecl, "__clog"); #endif