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 rtl-optimization/37435] New: [4.4 regression] ICE with volatiles


The following code snippet triggers an ICE on mainline (i686-pc-linux-gnu)
when compiled with "-O2 -fPIC":

=========================
volatile _Decimal32 d;
volatile int i;

void foo()
{
  d += i;
  d += i;
}
=========================

bug.c: In function 'foo':
bug.c:8: internal compiler error: in eliminate_regs_in_insn, at reload1.c:3180
Please submit a full bug report, [etc.]

The regression was introduced between 2008-08-23 and 2008-08-29.


-- 
           Summary: [4.4 regression] ICE with volatiles
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code, monitored
          Severity: normal
          Priority: P3
         Component: rtl-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: reichelt at gcc dot gnu dot org


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


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