This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/33554] New: Runtime segfault with nested derived types with -O0


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]