This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/11618] Floating point values not reproduced at -O3 with a simple C++ copy constructor.
- 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: 21 Jul 2003 17:42:41 -0000
- Subject: [Bug c++/11618] Floating point values not reproduced at -O3 with a simple C++ copy constructor.
- References: <20030721171124.11618.gtalbot@locuspharma.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11618
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-07-21 17:42 -------
One you are using a prerelease of 3.2 from redhat (report it to them).
Second I cannot reproduce it on 3.2.3, 3.2.2 or 3.3.1 (20030707) (so update your compiler):
(3_2 = 3.2.3, 3_3 = 3.3.1)
tin:~/src/gnu/gcctest/pr11618>~/ia32_linux_gcc3_3/bin/g++ -O3 pr11618.ii
tin:~/src/gnu/gcctest/pr11618>./a.out
R1=-0.317785 R2=0.347851 R3=-0.0181945 R4=0.881862
tin:~/src/gnu/gcctest/pr11618>~/ia32_linux_gcc3_3/bin/g++ pr11618.ii
tin:~/src/gnu/gcctest/pr11618>./a.out
R1=-0.317785 R2=0.347851 R3=-0.0181945 R4=0.881862
tin:~/src/gnu/gcctest/pr11618>~/ia32_linux_gcc3_2/bin/g++ pr11618.ii
tin:~/src/gnu/gcctest/pr11618>./a.out
R1=-0.317785 R2=0.347851 R3=-0.0181945 R4=0.881862
tin:~/src/gnu/gcctest/pr11618>~/ia32_linux_gcc3_2/bin/g++ pr11618.ii -O3
tin:~/src/gnu/gcctest/pr11618>./a.out
R1=-0.317785 R2=0.347851 R3=-0.0181945 R4=0.881862
tin:~/src/gnu/gcctest/pr11618>~/ia32_linux_gcc3_2_2/bin/g++ pr11618.ii -O3
tin:~/src/gnu/gcctest/pr11618>./a.out
R1=-0.317785 R2=0.347851 R3=-0.0181945 R4=0.881862