This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/33391] New: [4.3 regression] gfortran.df/do_3.F90 fails at -O2
- From: "fxcoudert at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Sep 2007 14:45:31 -0000
- Subject: [Bug target/33391] New: [4.3 regression] gfortran.df/do_3.F90 fails at -O2
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
gfortran.dg/do_3.F90 started FAILing somewhere between rev. 128091 and rev.
128123 (see testresults for that period) on i386-linux, i686-linux and
x86_64-linux. Reduced testcase is:
program test
integer(kind=1) :: i
do i = -128, 127
end do
if (i /= -128) call abort
end program test
It works at -O1 but fails at -O2. It's hard to tell which revision introduced
it, but as Jan committed most of these revs, I'm adding him to the CC list.
Jan, if you have any idea what's going on here, I'd be glad to have your
insight.
--
Summary: [4.3 regression] gfortran.df/do_3.F90 fails at -O2
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Keywords: wrong-code
Severity: normal
Priority: P3
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: fxcoudert at gcc dot gnu dot org
GCC build triplet: i386
GCC host triplet: i386
GCC target triplet: i386
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33391