optimization/9570: [3.3/3.4 regression] Assember error with -finline-functions with g++-3.3
bangerth@dealii.org
bangerth@dealii.org
Tue Feb 4 17:13:00 GMT 2003
Old Synopsis: Assember error with -finline-functions with g++-3.3
New Synopsis: [3.3/3.4 regression] Assember error with -finline-functions with g++-3.3
State-Changed-From-To: open->analyzed
State-Changed-By: bangerth
State-Changed-When: Tue Feb 4 17:13:45 2003
State-Changed-Why:
Confirmed. Here's a minimal testcase:
-------------------------------
int i = 0;
void foo() {
static bool b;
if (! i)
asm("movl %%esp, %0" : "=r" (i));
}
asm(".p2align " "2" "; .globl mcount; mcount:"
"call " "foo" "\n\t"
"ret");
-------------------------------
tmp/g> /home/bangerth/bin/gcc-3.3-pre/bin/gcc -c -finline-functions x.ii
/tmp/ccHAbFuk.s: Assembler messages:
/tmp/ccHAbFuk.s:14: Error: attempt to .org backwards
It also fails with present mainline, but succeeds with
3.2.2pre, so this is a regression.
W.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9570
More information about the Gcc-bugs
mailing list