This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix a pasto in rs6000_init_builtins


On Fri, Aug 21, 2009 at 10:21:54AM -0400, David Edelsohn wrote:
> Hi, Jakub
> 
> Yes, good catch.
> 
> Michael also noticed a logic error in rs6000_override_options, but has
> not posted a patch yet:
> 
>   /* Set the pointer size.  */
>   if (TARGET_POWERPC64)
>     {
>       rs6000_pmode = (int)DImode;
>       rs6000_pointer_size = 64;
>     }
>   else
>     {
>       rs6000_pmode = (int)SImode;
>       rs6000_pointer_size = 32;
>     }
> 
> That should be TARGET_64BIT.

Yep, I'm waiting on testsuite builds.  I found another logic problem where some
of the Altivec tests fail producing the correct message that I'm testing.

-- 
Michael Meissner, IBM
4 Technology Place Drive, MS 2203A, Westford, MA, 01886, USA
meissner@linux.vnet.ibm.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]