[java] Fix builtins decls
Andrew Haley
aph@redhat.com
Mon May 23 18:34:00 GMT 2005
Jan Hubicka writes:
> Hi,
> tree-profiling branch dies horribly by trying to remove
> __builtin_predict calls since these are believed to be trapping in Java.
> I've bootstrapped/regtested i686--linux the attached patch on
> tree-profiling and I am testing it on mainline now too.
> OK (once mainline unslush, as this does not counts as a regression
> there)
>
> 2005-05-22 Jan Hubicka <jh@suse.cz>
> * builtins.c (define_builtin): Accept new flags parameter.
> (initialize_builtins): Mark the builtins const and nothrow accordingly.
That's fine except for __builtin_expect, which is neither const nor
nothrow.
Andrew.
More information about the Gcc-patches
mailing list