This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug regression/23327] New: Improper removal of struct field assignments by optimizer
- From: "gcczilla at achurch dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Aug 2005 15:58:10 -0000
- Subject: [Bug regression/23327] New: Improper removal of struct field assignments by optimizer
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
GCC 4.0.0 and later optimize out struct assignments inappropriately when the
struct is used as an input to an asm(). For example, in:
struct {int a,b} args;
a
--
Summary: Improper removal of struct field assignments by
optimizer
Product: gcc
Version: 4.0.1
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: regression
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: gcczilla at achurch dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23327