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]

[Bug c++/20485] [3.4 Regression] ice with -O1 or above


------- Additional Comments From reichelt at gcc dot gnu dot org  2005-03-16 01:08 -------
Here's a reduced testcase:

====================================
struct A
{
    A* foo() { return 0; }
};

void foo(A *p)
{
    return;
    if (A *q = p) p = q->foo();
}
====================================

I can't reproduce the bug (neither with the original testcase nor with
the reduced one) with the current 3.4 branch.

I think this is a duplicate of PR17827.


*** This bug has been marked as a duplicate of 17827 ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


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


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