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 debug/55094] New: [4.7/4.8 Regression] ICE in maybe_record_trace_start, at dwarf2cfi.c:2224


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

             Bug #: 55094
           Summary: [4.7/4.8 Regression] ICE in maybe_record_trace_start,
                    at dwarf2cfi.c:2224
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: debug
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: d.g.gorbachev@gmail.com


GCC 4.8, i686-pc-linux-gnu. Also happens in 4.7 configured with checking.

Compile this with `-g -Os -fomit-frame-pointer -fno-asynchronous-unwind-tables
-mpreferred-stack-boundary=2':

============== 8< ==============
extern int puts(const char *s);

int main(int argc, char **argv)
{
  if (argc) {
    puts(argv[0]);
    __builtin_trap();
  }
  __builtin_trap();
}
============== >8 ==============

1.c: In function 'main':
1.c:10:1: internal compiler error: in maybe_record_trace_start, at
dwarf2cfi.c:2224
 }
 ^
0x82cf181 maybe_record_trace_start
    ../../gcc-4.8/gcc/dwarf2cfi.c:2224
0x82cf56b scan_trace
    ../../gcc-4.8/gcc/dwarf2cfi.c:2401
0x82cf9cd create_cfi_notes
    ../../gcc-4.8/gcc/dwarf2cfi.c:2556
0x82cfcfa execute_dwarf2_frame
    ../../gcc-4.8/gcc/dwarf2cfi.c:2915
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.


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