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

dominiq at lps dot ens.fr gcc-bugzilla@gcc.gnu.org
Tue Feb 5 16:56:00 GMT 2019


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

--- Comment #7 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> The assert is meaningful, it is a bug if something is created
> with one context once and then something tries to change that
> context to something else.  So whatever wants to change that
> is doing something wrong, or it has been created in a wrong
> context initially.

OK. However asserts are not user friendly. Is it due to the fact that m1.f95
compiles only if it finds an adv_m.mod file and m2.f95 generates its own file?


More information about the Gcc-bugs mailing list