[Bug lto/41638] Back-end builtins are mishandled
rguenth at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Oct 9 22:32:00 GMT 2009
------- Comment #3 from rguenth at gcc dot gnu dot org 2009-10-09 22:32 -------
Subject: Bug 41638
Author: rguenth
Date: Fri Oct 9 22:31:53 2009
New Revision: 152606
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=152606
Log:
2009-10-09 Richard Guenther <rguenther@suse.de>
PR lto/41638
* target-def.h (TARGET_BUILTIN_DECL): Define.
(TARGET_INITIALIZER): Add TARGET_BUILTIN_DECL.
* target.h (struct gcc_target): Add builtin_decl target hook.
* doc/tm.texi (TARGET_BUILTIN_DECL): Document.
* lto-streamer-in.c (lto_get_builtin_tree): Fix handling of
target builtins.
* lto-streamer-out.c (lto_output_tree_pointers): Use sorry,
not gcc_unreachable.
(lto_output_builtin_tree): Sorry if the target does not support
streaming target builtins.
* config/rs6000/rs6000.c (TARGET_BUILTIN_DECL): Define.
(rs6000_builtin_decl): New function.
* config/i386/i386.c (TARGET_BUILTIN_DECL): Define.
(ix86_builtin_decl): New function.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/i386/i386.c
trunk/gcc/config/rs6000/rs6000.c
trunk/gcc/doc/tm.texi
trunk/gcc/lto-streamer-in.c
trunk/gcc/lto-streamer-out.c
trunk/gcc/target-def.h
trunk/gcc/target.h
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41638
More information about the Gcc-bugs
mailing list