On 11/05/13 04:53, Richard Biener wrote:
Fortran front-end doesn't provide this IIRC.
Are you sure? omp lowering makes unconditional use of it and I see
it created in f95-lang.c. There are various other unconditional uses
one covering vararg functions, one exceptions. I doubt we have a
language that doesn't have BUILT_IN_TRAP, and if that is so, it should
be fixed to provide it ... (java seems to miss it).
Could have been java -- I added that fragment in response to finding an
implicit NULL dereference during a bootstrap and noting the language
simply never defined the appropriate builtin.
Java would actually make sense -- removing the fragment doesn't trip the
bootstrap failure anymore -- which can be explained by the change to use
infer_nonnull_range which returns false unless
-fdelete-null-pointer-checks is enabled (which it isn't for java).
Jeff