Testcase is as simple as this, compile with -O2 (can be triggered in a cross
compiler):

void foo (unsigned u)
{
  if (u != 0x34303365)
    bar ();
}

Result may vary, either segfault in get_last_value_validate(), or ICE in
copy_rtx, at rtl.c:314, or abort() in libc after free, depending on how
compiler is invoked (from gdb or not), amount of enabled checking and host
machine.


-- 
           Summary: [4.3 Regression] ICE segmentation fault or abort in
                    combine on alpha
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code, build
          Severity: normal
          Priority: P3
         Component: rtl-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: belyshev at depni dot sinp dot msu dot ru
GCC target triplet: alpha-unknown-linux-gnu


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

Reply via email to