Command line:
$ gcc -O2 -ftracer -fira-coalesce testcase.c

Compiler output:
$ gcc -O2 -ftracer -fira-coalesce testcase.c
bad allocation for 58 and 60
testcase.c: In function 'foo':
testcase.c:26:1: internal compiler error: in check_allocation, at ira.c:1677
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

The crash happens for many of the files I tested.

Tested revisions:
r162499 - crash
r162456 - crash
r162222 - OK


-- 
           Summary: [4.6 Regression] ICE: in check_allocation, at ira.c:1677
                    with -O2 -ftracer -fira-coalesce
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-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=45061

Reply via email to