[Bug fortran/54880] [OOP] ICE in gfc_create_module_variable, at fortran/trans-decl.c:4013

slayoo at staszic dot waw.pl gcc-bugzilla@gcc.gnu.org
Fri Oct 12 09:48:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54880

--- Comment #2 from Sylwester Arabas <slayoo at staszic dot waw.pl> 2012-10-12 09:48:12 UTC ---
Hi,

I've came across it after simply switching the order of module definitions in a
file (i.e. no preprocessor - I've used the preprocessor to simplify the test
case). 

I would then answer: definitely YES! - fixing it might save someone a lot of
time. Due to the ICE, and due the fact that the presence of the .mod file
influences gfortran's behaviour here, figuring out what's wrong is really
tricky and time consuming. 

Sylwester



More information about the Gcc-bugs mailing list