This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: optimization/9570: [3.3/3.4 regression] Assember error with -finline-functions with g++-3.3
- From: bangerth at dealii dot org
- To: adam at os dot inf dot tu-dresden dot de, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org
- Date: 4 Feb 2003 17:13:45 -0000
- Subject: Re: optimization/9570: [3.3/3.4 regression] Assember error with -finline-functions with g++-3.3
- Reply-to: bangerth at dealii dot org, adam at os dot inf dot tu-dresden dot de, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
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