This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/33554] New: Runtime segfault with nested derived types with -O0
- From: "anlauf at gmx dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Sep 2007 17:40:45 -0000
- Subject: [Bug fortran/33554] New: Runtime segfault with nested derived types with -O0
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Hi,
the attached program crashes at runtime when compiled *without* optimization:
% gfc -g gfcbug72.f90 -fbounds-check -fbacktrace -O0 && ./a.out
before construct_temp, size (temp) = 2
Program received signal 11 (SIGSEGV): Segmentation fault.
Backtrace for this error:
+ /lib/libc.so.6 [0x4007cbf8]
+ function __gfcbug72_MOD_setup (0x8049CA4)
at line 23 of file gfcbug72.f90
+ in the main program
at line 40 of file gfcbug72.f90
+ /lib/libc.so.6(__libc_start_main+0xce) [0x40068d3e]
--
Summary: Runtime segfault with nested derived types with -O0
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: anlauf at gmx dot de
GCC host triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33554