[Bug fortran/25146] New: ICE on error diagnostics
rep dot nop at aon dot at
gcc-bugzilla@gcc.gnu.org
Mon Nov 28 19:09:00 GMT 2005
$ cat invalid_nullify.F
program ice_on_error_diagnostics
implicit none
TYPE (nonexisting_type1) t1 !, TARGET :: t1
nullify(t1%something)
end program
$ gfortran-4.0 invalid_nullify.F
In file invalid_nullify.F:3
TYPE (nonexisting_type1) t1 !, TARGET :: t1
1
Error: Derived type 'nonexisting_type1' at (1) is being used before it is
defined
*** glibc detected *** free(): invalid pointer: 0x08510b00 ***
/tmp/ccXyK2zB.f:0: internal compiler error: Aborted
$ gfortran-4.0 --version
GNU Fortran 95 (GCC 4.0.2 (Debian 4.0.2-2))
I get the same ICE with gfortran-4.{1,2}
g77-3.4.5 does print the error diagnostics proper, so please set 19292 to
depend on this one.
--
Summary: ICE on error diagnostics
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: rep dot nop at aon dot at
GCC build triplet: i686-linux-gnu
GCC host triplet: i686-linux-gnu
GCC target triplet: i686-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25146
More information about the Gcc-bugs
mailing list