This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]