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/43351] New: ICE: SIGSEGV with -fgraphite-identity in 4.4


This is very similiar to pr43083. In trunk, it stopped crashing between r156745
and r156999, so it's probably fixed by r156997, fix for pr43083.

Command line:
gcc -O1 testcase.c
in 4.4, it crashes with -O[123s], but in trunk r156745 only with -O1

---- testcase.c ----
int foo(int i)
{
  if (i < 0) return 0;
  for (; i < 10; i++);
}
--------------------
(it can be further reduced so it crashes in 4.4, but not in 4.5 r156745)

Tested revisions:
r157339 - OK
r156999 - OK
r156745 - crash
r153685 - crash
4.4 r157395 - crash
4.4 r153668 - crash
4.4 r149995 - crash

Compiler output:
$ /mnt/svn/gcc-4_4/binary-157395-enable-checking/bin/gcc -O1
-fgraphite-identity -c testcase.c
testcase.c: In function 'foo':
testcase.c:1: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


-- 
           Summary: ICE: SIGSEGV with -fgraphite-identity in 4.4
           Product: gcc
           Version: 4.4.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: zsojka at seznam dot cz
  GCC host triplet: x86_64-pc-linux-gnu
GCC target triplet: x86_64-pc-linux-gnu


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


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