http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59746

            Bug ID: 59746
           Summary: internal compiler error: Segmentation fault
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hjl.tools at gmail dot com

[hjl@gnu-6 gcc]$ cat testcase-min.f
         CALL RCCFL(NVE,IR,NU3,VE(1,1,1,I))
      COMMON /CCFILE/ INTG,NT1,NT2,NT3,NVM,NVE,NFRLE,NRESF,NRESL
      COMMON /CCFILE/ INTG,NT1,NT2,NT3,NVM,NVE,NFRLE,NRESF,NRESL
[hjl@gnu-6 gcc]$ ./xgcc -B./ -S -O3 -ffast-math -funroll-loops -ffixed-form 
testcase-min.f
testcase-min.f:2.72:

      COMMON /CCFILE/ INTG,NT1,NT2,NT3,NVM,NVE,NFRLE,NRESF,NRESL        
                                                                        1
Error: Unexpected COMMON statement at (1)
testcase-min.f:3.72:

      COMMON /CCFILE/ INTG,NT1,NT2,NT3,NVM,NVE,NFRLE,NRESF,NRESL        
                                                                        1
Error: Unexpected COMMON statement at (1)
f951: internal compiler error: Segmentation fault
0xbbb91a crash_signal
    /export/gnu/import/git/gcc/gcc/toplev.c:337
0x65c7a5 gfc_restore_last_undo_checkpoint()
    /export/gnu/import/git/gcc/gcc/fortran/symbol.c:3106
0x65c92d gfc_undo_symbols()
    /export/gnu/import/git/gcc/gcc/fortran/symbol.c:3156
0x6162d3 reject_statement
    /export/gnu/import/git/gcc/gcc/fortran/parse.c:1752
0x61630b unexpected_statement
    /export/gnu/import/git/gcc/gcc/fortran/parse.c:1766
0x619a06 parse_progunit
    /export/gnu/import/git/gcc/gcc/fortran/parse.c:4195
0x61a7e0 gfc_parse_file()
    /export/gnu/import/git/gcc/gcc/fortran/parse.c:4664
0x6673a2 gfc_be_parse_file
    /export/gnu/import/git/gcc/gcc/fortran/f95-lang.c:188
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
[hjl@gnu-6 gcc]$

Reply via email to