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

            Bug ID: 62091
           Summary: ice in before_dom_children
           Product: gcc
           Version: 4.9.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com

Created attachment 33291
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33291&action=edit
C++ source code

For the attached code, compiled by gcc trunk dated 20140810,
the following crash message is produced

$ ../results/bin/gcc -c -O2 bug159.cc
snmpmsg.cpp: In member function ‘int
Snmp_pp::SnmpMessage::unload(Snmp_pp::Pdu&, Snmp_pp::OctetStr&,
Snmp_pp::snmp_version&, Snmp_pp::OctetStr*, Snmp_pp::OctetStr*, long int*,
Snmp_pp::UdpAddress*, Snmp_pp::Snmp*)’:
snmpmsg.cpp:540:5: internal compiler error: in before_dom_children, at
tree-ssa-pre.c:4411
0xbd423c eliminate_dom_walker::before_dom_children(basic_block_def*)
    ../../src/trunk/gcc/tree-ssa-pre.c:4411
0xf59987 dom_walker::walk(basic_block_def*)
    ../../src/trunk/gcc/domwalk.c:177
0xbd1332 eliminate
    ../../src/trunk/gcc/tree-ssa-pre.c:4526
0xbd253c execute
    ../../src/trunk/gcc/tree-ssa-pre.c:4941
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.
$  

Compiler flag -O2 required.

Reply via email to