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++/15580] wrong code generation in c++ assignment operator


------- 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


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