I just tried to compile the Suse Linux package openmcu-2.2.0-232.75
with the GNU g++ version 4.5 snapshot 20090416.

The compiler said

/home/dcb/gcc/20090416/results/lib/gcc/x86_64-unknown-linux-gnu/4.5.0/../../../../include/c++/4.5.0/bits/stl_pair.h:68:
error: Wrong prev_try pointer in EH region 11
Eh tree:                                                                       
                                       6 must_not_throw may_contain_throw
   4 catch tree_label:<L6> may_contain_throw type:                             
                                         5 cleanup tree_label:<L7>
may_contain_throw
   1 try may_contain_throw catch regions: 4 also known as:2, 3, 7, 8           
                                         10 must_not_throw
tree_label:<D.201871> may_contain_throw also known as:12
       11 cleanup tree_label:<D.201872> may_contain_throw prev try:1           
                                         9 cleanup tree_label:<D.201870>
may_contain_throw prev try:1
/home/dcb/gcc/20090416/results/lib/gcc/x86_64-unknown-linux-gnu/4.5.0/../../../../include/c++/4.5.0/bits/stl_pair.h:68:
internal compiler error: verify_eh_tree failed

Preprocessed source code attached. Flag -O2 required.


-- 
           Summary: verify_eh_tree failed with -O2
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dcb314 at hotmail dot com
  GCC host triplet: x86_64-suse-linux


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

Reply via email to