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

            Bug ID: 59575
           Summary: ICE in maybe_record_trace_start, at dwarf2cfi.c:2239
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: debug
          Assignee: unassigned at gcc dot gnu.org
          Reporter: rmansfield at qnx dot com
            Target: arm-unknown-linux-gnueabi

~/gnu/gcc/trunk/arm-eabi/gcc$ cat ~/ice.i
void
test (int *p)
{
  int i;
  long long j;
  if (p)
    {
      foo (p);
    }
  else
    {
      if (p = (int *)bar (i, j, 0x1))
    {
      foo (p);
    }
    }
}
~/gnu/gcc/trunk/arm-eabi/gcc$ ./xgcc -B. ~/ice.i -Os -g -march=armv7-a -c
/home/ryan/ice.i: In function 'test':
/home/ryan/ice.i:17:1: internal compiler error: in maybe_record_trace_start, at
dwarf2cfi.c:2239
 }
 ^
0x6848bf maybe_record_trace_start
    ../../gcc/dwarf2cfi.c:2239
0x684f7e scan_trace
    ../../gcc/dwarf2cfi.c:2416
0x6857fe create_cfi_notes
    ../../gcc/dwarf2cfi.c:2570
0x6857fe execute_dwarf2_frame
    ../../gcc/dwarf2cfi.c:2925
0x6857fe execute
    ../../gcc/dwarf2cfi.c:3421
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
~/gnu/gcc/trunk/arm-eabi/gcc$ ./xgcc -v
Using built-in specs.
COLLECT_GCC=./xgcc
Target: arm-unknown-linux-gnueabi
Configured with: ../configure --target=arm-unknown-linux-gnueabi
--prefix=/home/ryan/x-tools/arm-unknown-linux-gnueabi
--with-sysroot=/home/ryan/x-tools/arm-unknown-linux-gnueabi/arm-unknown-linux-gnueabi//sys-root
--disable-multilib
--with-local-prefix=/home/ryan/x-tools/arm-unknown-linux-gnueabi/arm-unknown-linux-gnueabi/sys-root
--disable-nls --enable-threads=posix --enable-symvers=gnu --enable-c99
--enable-long-long --enable-target-optspace
target_alias=arm-unknown-linux-gnueabi --enable-languages=c++ --disable-shared
--disable-libmudflap --disable-libssp --enable-checking
Thread model: posix
gcc version 4.9.0 20131222 (experimental) [trunk revision 206165] (GCC) 

Started failing at rev204698

Reply via email to