This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/15580] wrong code generation in c++ assignment operator
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 May 2004 00:51:05 -0000
- Subject: [Bug c++/15580] wrong code generation in c++ assignment operator
- References: <20040521234554.15580.unicorn@re.com.ua>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-05-22 00:51 -------
I cannot produce it at all:
tin:~/src/gnu/gcctest>g++ pr15580.cc <-- the mainline
tin:~/src/gnu/gcctest>./a.out
0xbffec920
0xbffec920
tin:~/src/gnu/gcctest>~/ia32_linux_gcc3_4/bin/g++ pr15580.cc <-- released 3.4.0
tin:~/src/gnu/gcctest>./a.out
0xbffec920
0xbffec920
tin:~/src/gnu/gcctest>~/ia32_linux_gcc3_3/bin/g++ pr15580.cc -static <-- release of 3.3.3
./a.
tin:~/src/gnu/gcctest>./a.out
0xbffec920
0xbffec920
tin:~/src/gnu/gcctest>~/ia32_linux_gcc3_3_1/bin/g++ pr15580.cc -static <-- a prelease of 3.3.1
tin:~/src/gnu/gcctest>./a.out
0xbffec920
0xbffec920
So either it was fixed in a later version of 3.3.3 which is most likely, since you are using an old prelease
of 3.3.3, can you try the released version?
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
Keywords| |wrong-code
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15580