This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: optimization/9570: [3.3/3.4 regression] Assember error with -finline-functions with g++-3.3


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]