[Bug c++/13239] [3.3 REGRESSION] Assertion does not seem to work correctly anymore
rmerkert at alphatech dot com
gcc-bugzilla@gcc.gnu.org
Tue Dec 2 03:16:00 GMT 2003
------- Additional Comments From rmerkert at alphatech dot com 2003-12-02 03:16 -------
I've modified the code slightly and I'm attaching the generated assembly code
from : /local/gcc-3.3.3/bin/g++ -o test.S test.cpp -S -march=i386
You can see where the problem is :
there are three functions :
_ZNK1X1xEv
_ZNK1X1zEv
_ZNK1Y1yEv
You can see that at labels .LCFI3 and .LCFI4 there are calls to and _ZNK1X1zEv
and _ZNK1Y1yEv, respectively (i.e. X::x, and X::z, and Y::y). This corresponds
to the first assertion.
Around label .L3, there are only calls to _ZNK1X1xEv and _ZNK1Y1yEv, which means
the call to X::z is omitted in the second assertion.
Any ideas what this problem might be? I did build the compiler with gcc from
SuSe's 9.0 distribution. Could this have caused this problem?
I have to say that with the old SuSe8.2 this worked for me, so I suspect suse to
be the root cause.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13239
More information about the Gcc-bugs
mailing list