diff mbox

: fix typo in rs6000.c (AIX bootstrap broken)

Message ID 093BC4FE-A5E0-424F-8880-EF21D54E7F29@adacore.com
State New
Headers show

Commit Message

Tristan Gingold Oct. 13, 2011, 3:11 p.m. UTC
Hi,

looks like an obvious typo.  Ok for trunk ?

Tristan.

2011-10-13  Tristan Gingold  <gingold@adacore.com>

	* config/rs6000/rs6000.c (rs6000_init_builtins): Fix typo.

Comments

Tristan Gingold Oct. 18, 2011, 10:52 a.m. UTC | #1
Ping…

On Oct 13, 2011, at 5:11 PM, Tristan Gingold wrote:

> Hi,
> 
> looks like an obvious typo.  Ok for trunk ?
> 
> Tristan.
> 
> 2011-10-13  Tristan Gingold  <gingold@adacore.com>
> 
> 	* 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
> 
>
David Edelsohn Oct. 18, 2011, 2:23 p.m. UTC | #2
Tristan,

Mike fixed the typo already.  Why are you still seeing a problem?

- David

On Tue, Oct 18, 2011 at 6:52 AM, Tristan Gingold <gingold@adacore.com> wrote:
> Ping…
>
> On Oct 13, 2011, at 5:11 PM, Tristan Gingold wrote:
>
>> Hi,
>>
>> looks like an obvious typo.  Ok for trunk ?
>>
>> Tristan.
>>
>> 2011-10-13  Tristan Gingold  <gingold@adacore.com>
>>
>>       * 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
>>
>>
>
>
Tristan Gingold Oct. 18, 2011, 2:25 p.m. UTC | #3
On Oct 18, 2011, at 4:23 PM, David Edelsohn wrote:

> Tristan,
> 
> Mike fixed the typo already.  Why are you still seeing a problem?

Indeed, was fixed later.

Tristan.

> 
> - David
> 
> On Tue, Oct 18, 2011 at 6:52 AM, Tristan Gingold <gingold@adacore.com> wrote:
>> Ping…
>> 
>> On Oct 13, 2011, at 5:11 PM, Tristan Gingold wrote:
>> 
>>> Hi,
>>> 
>>> looks like an obvious typo.  Ok for trunk ?
>>> 
>>> Tristan.
>>> 
>>> 2011-10-13  Tristan Gingold  <gingold@adacore.com>
>>> 
>>>       * 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
>>> 
>>> 
>> 
>>
diff mbox

Patch

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