optimization/10087: [3.3/3.4 regression] optimizer produces wrong code when indexing 2D array
Steven Bosscher
s.bosscher@student.tudelft.nl
Sat Mar 15 00:06:00 GMT 2003
The following reply was made to PR optimization/10087; it has been noted by GNATS.
From: Steven Bosscher <s.bosscher@student.tudelft.nl>
To: p.van-hoof@qub.ac.uk, gcc-gnats@gcc.gnu.org,
gcc-bugs@gcc.gnu.org, nobody@gcc.gnu.org, gcc-prs@gcc.gnu.org
Cc:
Subject: Re: optimization/10087: [3.3/3.4 regression] optimizer produces wrong
code when indexing 2D array
Date: Sat, 15 Mar 2003 01:01:01 +0100
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10087
# gcc-3.3 10087.c -O
# a.out
result 1.000000e+00
# gcc-3.3 10087.c -O -fforce-mem -fstrength-reduce -fgcse
# a.out
result -1.997810e+00
Turning off any of these three options makes the output equal to
unoptimized or -O.
Greetz
Steven
More information about the Gcc-prs
mailing list