This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/39745] New: Wrong code by >= -O2 for pre-initialized variable and casted access
- From: "ktietz at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Apr 2009 19:16:51 -0000
- Subject: [Bug middle-end/39745] New: Wrong code by >= -O2 for pre-initialized variable and casted access
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
This test case comes from the gdtoa library. The problem is reduced to a simple
test-case. Wrong code is produced for optimization levels higher or equal to 2.
--
Summary: Wrong code by >= -O2 for pre-initialized variable and
casted access
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Keywords: wrong-code
Severity: critical
Priority: P3
Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: ktietz at gcc dot gnu dot org
GCC target triplet: i686-*-* x86_64-*-*
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39745