[Bug fortran/70854] ICE in gfc_process_block_locals, at fortran/trans-decl.c:6447

dominiq at lps dot ens.fr gcc-bugzilla@gcc.gnu.org
Tue May 3 08:47:00 GMT 2016


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

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2016-05-03
     Ever confirmed|0                           |1

--- Comment #3 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Confirmed from gcc-5 up to trunk. Compiling the first test in comment 0 with
4.5 up to 4.9 gives an ICE even without -finit-*:

pr70854.f90:6:0: internal compiler error: in gfc_process_block_locals, at
fortran/trans-decl.c:5906
       block

While compiling the second test in comment 0 with -finit-* does not give an
ICE, the linking fails with something such as

Undefined symbols for architecture x86_64:
  "_a.3428", referenced from:
      _MAIN__ in ccTNe8Tp.o
ld: symbol(s) not found for architecture x86_64
collect2: error: ld returned 1 exit status


More information about the Gcc-bugs mailing list