]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR lto/41638 (Back-end builtins are mishandled)
authorRichard Guenther <rguenther@suse.de>
Fri, 9 Oct 2009 22:31:53 +0000 (22:31 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 9 Oct 2009 22:31:53 +0000 (22:31 +0000)
commite9e4b3a892d0d19418f23bb17bdeac33f9a8bfd2
tree8ac7173644937212b4dfddf787410b0ecfa43674
parentd0a9804e353b33d339e20f0aa2bd458a4ff08649
re PR lto/41638 (Back-end builtins are mishandled)

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.

From-SVN: r152606
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/config/rs6000/rs6000.c
gcc/doc/tm.texi
gcc/lto-streamer-in.c
gcc/lto-streamer-out.c
gcc/target-def.h
gcc/target.h