This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/26001] [4.1/4.2 Regression] LAPACK testsuite failure with optimization
- 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: 30 Jan 2006 19:13:23 -0000
- Subject: [Bug middle-end/26001] [4.1/4.2 Regression] LAPACK testsuite failure with optimization
- References: <bug-26001-10743@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #10 from pinskia at gcc dot gnu dot org 2006-01-30 19:13 -------
(In reply to comment #8)
> Did the regression also happen on 4.1? We should probably revert Feng Wang's
> patch there.
But there is a latent bug. I don't know a way to reproduce this without Feng's
patch in C or C++, maybe Ada. But the bug is still there.
Here is the reduced testcase that passes at -O0 but fails at -O1.
CHARACTER*10 INTSTR
CHARACTER C1
DATA INTSTR / '0123456789' /
C1 = INTSTR(1:1)
print *, C1
if(C1 .ne. '0') call abort()
end
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26001