https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69182

            Bug ID: 69182
           Summary: Internal compiler error, dwarf2out_frame_debug_expr,
                    at dwarf2cfi.c:1550
           Product: gcc
           Version: 4.9.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: henric at bergenwall dot com
  Target Milestone: ---

Source file: main.cc:
    #include <iostream>
    #include <sstream>
    int main(int argc, char *argv[]) {
        std::stringstream strstr;
        strstr << "hello world";
        std::cout << strstr.str() << std::endl;
        return 0;
    }

Build command: g++ main.cc -ffixed-ebp -finstrument-functions -m32
-maccumulate-outgoing-args


Build output:
main.cc: In function 'int main(int, char**)':
main.cc:11:1: internal compiler error: in dwarf2out_frame_debug_expr, at
dwarf2cfi.c:1550
 }
 ^
0x743c31 dwarf2out_frame_debug_expr
        /tmp/gcc391/build-gcc-4.9.1/../gcc-4.9.1/gcc/dwarf2cfi.c:1548
0x744143 dwarf2out_frame_debug
        /tmp/gcc391/build-gcc-4.9.1/../gcc-4.9.1/gcc/dwarf2cfi.c:2043
0x744143 scan_insn_after
        /tmp/gcc391/build-gcc-4.9.1/../gcc-4.9.1/gcc/dwarf2cfi.c:2369
0x745eb2 scan_trace
        /tmp/gcc391/build-gcc-4.9.1/../gcc-4.9.1/gcc/dwarf2cfi.c:2526
0x746808 create_cfi_notes
        /tmp/gcc391/build-gcc-4.9.1/../gcc-4.9.1/gcc/dwarf2cfi.c:2565
0x746808 execute_dwarf2_frame
        /tmp/gcc391/build-gcc-4.9.1/../gcc-4.9.1/gcc/dwarf2cfi.c:2925
0x746808 execute
        /tmp/gcc391/build-gcc-4.9.1/../gcc-4.9.1/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.

Reply via email to