c++/10247: [3.4 regression] ICE in ocp_convert, at cp/cvt.c:636

bangerth@dealii.org bangerth@dealii.org
Fri Mar 28 17:26:00 GMT 2003


Old Synopsis: ICE in ocp_convert, at cp/cvt.c:636
New Synopsis: [3.4 regression] ICE in ocp_convert, at cp/cvt.c:636

State-Changed-From-To: analyzed->open
State-Changed-By: bangerth
State-Changed-When: Fri Mar 28 15:07:53 2003
State-Changed-Why:
    [Toggling states to avoid moving to the other machine with
    the mail connection :-)]
    
    This is a regression in mainline. Steven was already
    close with his testcase (sent privately), here's a
    maximally reduced one:
    -----------------------------
    class A {};
    
    A const foo();
    
    void bar() {
      A a = foo();
      A b = true ? a : foo();
    }
    -------------------------
    g/x> /home/bangerth/bin/gcc-3.4-pre/bin/c++ -c y.cc
    y.cc: In function `void bar()':
    y.cc:7: internal compiler error: in ocp_convert, at cp/cvt.c:636
    
    There's a note in the audit trail that it might be related
    to 10224. I don't think that's the case, and indeed Nathan's
    fix doesn't cure this report as well, so they are different.
    
    W.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10247



More information about the Gcc-bugs mailing list