This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/30262] New: [4.1/4.2/4.3 Regression] ICE with nested fn accessed var in asm "m" constraint
- From: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Dec 2006 23:06:29 -0000
- Subject: [Bug tree-optimization/30262] New: [4.1/4.2/4.3 Regression] ICE with nested fn accessed var in asm "m" constraint
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
void
foo (void)
{
unsigned int x = 0;
void bar (void)
{
x = 254;
}
bar ();
asm volatile ("" :: "m" (x));
}
ICEs in various places at -O and higher in both 4.1.1 and on the trunk.
>From initial skim, it seems tree-nested.c ought to be more careful when
changing
asms.
--
Summary: [4.1/4.2/4.3 Regression] ICE with nested fn accessed var
in asm "m" constraint
Product: gcc
Version: 4.1.2
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P3
Component: tree-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jakub at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30262