Re: [Patch]: fix typo in rs6000.c (AIX bootstrap broken)

2011-10-18 Thread Tristan Gingold
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  ging...@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
 
 



Re: [Patch]: fix typo in rs6000.c (AIX bootstrap broken)

2011-10-18 Thread David Edelsohn
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 ging...@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  ging...@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






Re: [Patch]: fix typo in rs6000.c (AIX bootstrap broken)

2011-10-18 Thread Tristan Gingold

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 ging...@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  ging...@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