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: "alfred dot minarik dot 1 at aon dot at" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 May 2004 05:20:11 -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 alfred dot minarik dot 1 at aon dot at 2004-05-22 05:20 -------
(In reply to comment #6)
> I´m able to reproduce this on
> $ uname -a
> CYGWIN_NT-5.0 w2k 1.5.9(0.112/4/2) 2004-03-18 23:05 i686 unknown unknown
Cygwin
> $ gcc --version
> gcc (GCC) 3.3.1 (cygming special)
> Copyright (C) 2003 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions. There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> $ g++ pr15580.cc
> $ ./a.exe
> 0x22f058
> 0x22f05c
> Alfred
but seems fixed in 3.4.0
$ uname -a
CYGWIN_NT-5.0 w2k 1.5.9(0.112/4/2) 2004-03-18 23:05 i686 unknown unknown
$ gcc --version
gcc (GCC) 3.4.0
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$ g++ pr15580.cc
$ ./a.exe
0x22f058
0x22f058
Alfred
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15580