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 tree-optimization/24307] New: ICE in early_tree_profile


/space/rguenther/obj/gcc-libgfortran/gcc/f951
/space/rguenther/src/gcc-libgfortran/gcc/testsuite/gfortran.fortran-torture/execute/character_select_1.f90
-quiet -dumpbase character_select_1.f90 -mtune=pentiumpro -auxbase
character_select_1 -O0 -w -version -fprofile-generate -o character_select_1.s
/space/rguenther/src/gcc-libgfortran/gcc/testsuite/gfortran.fortran-torture/execute/character_select_1.f90:
In function ?MAIN__?:
/space/rguenther/src/gcc-libgfortran/gcc/testsuite/gfortran.fortran-torture/execute/character_select_1.f90:3:
internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

(gdb) bt
#0  0x080b94c6 in is_gimple_variable (t=0x0) at tree-gimple.c:239
#1  0x080b963e in is_gimple_val (t=0x0) at tree-gimple.c:366
#2  0x083ab6cc in tree_find_edge_insert_loc (e=<value optimized out>, 
    bsi=0xbfa5e524, new_bb=0x0) at tree-cfg.c:2973
#3  0x083ab950 in bsi_commit_one_edge_insert (e=0x401cb2f8, new_bb=0x0)
    at tree-cfg.c:3026
#4  0x083ae44f in bsi_commit_edge_inserts () at tree-cfg.c:3007
#5  0x082d2452 in branch_prob () at profile.c:1129
#6  0x0834c90a in tree_profiling () at tree-profile.c:246
#7  0x0834c22c in execute_one_pass (pass=0x855d3a0) at passes.c:832


Testcase from the gfortran.fortran-torture/execute suite:

CHARACTER(LEN=6) :: C = "STEVEN"

SELECT CASE (C)
   CASE ("AAA":"EEE")
      CALL abort
   CASE ("R":"T")
      CONTINUE
   CASE DEFAULT
      CALL abort
END SELECT
END


-- 
           Summary: ICE in early_tree_profile
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P2
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rguenth at gcc dot gnu dot org


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


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