[Bug fortran/40011] Problems with -fwhole-file
pault at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue May 5 18:12:00 GMT 2009
------- Comment #13 from pault at gcc dot gnu dot org 2009-05-05 18:12 -------
(In reply to comment #12)
...snip...
> [ibook-dhum] f90/bug% a.out
> 42
> 42
> Abort
>
This turns out to be the same bug as that which caused the segfault in
gas_dyn.f90. Use associated procedures need to be excluded from the part of
the patch in trans-decl.c. Once this is done, the whole polyhedron suite
compiles and runs at any level of optimization.
The updated patch is regtesting right now. It still needs module procedures to
be incorporated but it is nearly there.
I have been thinking hard about type cheating - I am likely to allow it for
std-f77 and legacy, to warn with other standards and fail with -pedantic.
However, I am open to better proposals. I have not checked yet whether type
cheating references to a procedure need a double declaration or not (ie. to
avoid typing troubles in the back end).
Paul
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40011
More information about the Gcc-bugs
mailing list