This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/26643] New: Linux matroxfb_probe miscompiled
- From: "olh at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Mar 2006 14:24:34 -0000
- Subject: [Bug c/26643] New: Linux matroxfb_probe miscompiled
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
This testcase does not return 0 on powerpc64-suse-linux and s390x-suse-linux
with compiled with -O1
but it does with -O0.
I tried all the new opts from -O0 to -O1, but adding them all to -O0 does not
fix it. No idea why.
flags=' -O1'
gcc -Wall -c -o /tmp/main.o /tmp/main.c $flags
gcc -Wall -c -o /tmp/matroxfb_probe.o /tmp/matroxfb_probe.c $flags
gcc -Wall -o /tmp/matroxfb_probe /tmp/main.o /tmp/matroxfb_probe.o $flags
/tmp/matroxfb_probe
--
Summary: Linux matroxfb_probe miscompiled
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: olh at suse dot de
GCC build triplet: powerpc64-linux
GCC host triplet: powerpc64-linux
GCC target triplet: powerpc64-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26643