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/29915] New: ICE in propagate_rtx_1


Testcase:

double x[256];

void foo(void)
{
  int i;
  for (i = 0; i < 256; ++i)
    x[i] = x[i] * x[i];
}

trunk-g/gcc> ./cc1 -quiet -O2 t.i
t.i: In function 'foo':
t.i:8: 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) run
Starting program: /abuild/rguenther/trunk-g/gcc/cc1 -quiet -O2 t.i

Program received signal SIGSEGV, Segmentation fault.
0x0000000000ba5dd6 in propagate_rtx_1 (px=0x7fffed03b940, old=0x2b33be382080, 
    new=0x2b33be382040, can_appear=1 '\001')
    at /space/rguenther/src/svn/trunk/gcc/fwprop.c:234
234       enum rtx_code code = GET_CODE (x);
(gdb) print x
$1 = (rtx) 0x1

with r119016


-- 
           Summary: ICE in propagate_rtx_1
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: rtl-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rguenth at gcc dot gnu dot org
GCC target triplet: x86_64-*-*


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


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