[Bug target/45790] [4.6 Regression] rs6000 builtin vs LTO

howarth at nitro dot med.uc.edu gcc-bugzilla@gcc.gnu.org
Wed Sep 29 23:23:00 GMT 2010


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45790

Jack Howarth <howarth at nitro dot med.uc.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |howarth at nitro dot
                   |                            |med.uc.edu

--- Comment #7 from Jack Howarth <howarth at nitro dot med.uc.edu> 2010-09-29 19:15:02 UTC ---
(In reply to comment #6)
> (In reply to comment #5)
> > rs6000_builtin_decl should be working correctly.
> 
> Indeed, 
> I suspect it is because we patch the builtin names to append $LDBL128 for the
> case that we have 128bit long doubles.   However, I've not had a chance to
> investigate why that patching process does not result in a correctly emitted
> builtin (or maybe the target needs to get to opportunity to do so in lto).

You might also look at the definition of TARGET_OS_CPP_BUILTINS() in
gcc/config/rs6000/darwin.h.
The arm-none-eabi target which is also regressed has that redefined as well.



More information about the Gcc-bugs mailing list