c++/7782: [mainline regression] C++ compiler internal error in delete_insn, at cfgrtl.c:139

reichelt@igpm.rwth-aachen.de reichelt@igpm.rwth-aachen.de
Tue Nov 5 09:28:00 GMT 2002


Old Synopsis: C++ compiler internal error in delete_insn, at cfgrtl.c:139
New Synopsis: [mainline regression] C++ compiler internal error in delete_insn, at cfgrtl.c:139

State-Changed-From-To: open->analyzed
State-Changed-By: reichelt
State-Changed-When: Tue Nov  5 09:28:45 2002
State-Changed-Why:
    The bug is fixed on the 3.2 branch but still present on
    mainline. It's a regression from 3.0.x where the code
    compiled fine - thus "high priority".
    
    BTW, the problem can be demonstrated with the following reduced testcase:
    
    -------------------------snip here-----------------------
    struct A
    {
       long long x, y;
    
       void bar () const
       {
          A a;
    
          a.y = ~y;
          if ((a.x = -y)) ++a.y;
       }
    
       void foo (int) const;
    };
    
    
    void A::foo (int i) const
    {
       if (i) bar();
       if (i) bar();
    }
    -------------------------snip here-----------------------
    
    The bug seems to be target specific since it does not show up
    on mips-sgi-irix6.5.

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



More information about the Gcc-bugs mailing list