public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: optimization/9570: [3.3/3.4 regression] Assember error with -finline-functions with g++-3.3
@ 2003-02-04 17:13 bangerth
  0 siblings, 0 replies; 3+ messages in thread
From: bangerth @ 2003-02-04 17:13 UTC (permalink / raw)
  To: adam, gcc-bugs, gcc-prs, nobody

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: optimization/9570: [3.3/3.4 regression] Assember error with -finline-functions with g++-3.3
@ 2003-02-05 15:06 Wolfgang Bangerth
  0 siblings, 0 replies; 3+ messages in thread
From: Wolfgang Bangerth @ 2003-02-05 15:06 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR optimization/9570; it has been noted by GNATS.

From: Wolfgang Bangerth <bangerth@ticam.utexas.edu>
To: Eric Botcazou <ebotcazou@libertysurf.fr>
Cc: gcc-bugs@gcc.gnu.org, <gcc-gnats@gcc.gnu.org>
Subject: Re: optimization/9570: [3.3/3.4 regression] Assember error with
 -finline-functions with g++-3.3
Date: Wed, 5 Feb 2003 08:57:00 -0600 (CST)

 On Wed, 5 Feb 2003, Eric Botcazou wrote:
 
 > >     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");
 > >     -------------------------------
 > 
 > I get:
 > 
 > pr9570.c: In function `foo':
 > pr9570.c:5: error: syntax error before "b"
 > 
 > with this testcase.
 
 
 Try again with the C++ front-end? ;-)
 
 W.
 
 -------------------------------------------------------------------------
 Wolfgang Bangerth             email:            bangerth@ticam.utexas.edu
                               www: http://www.ticam.utexas.edu/~bangerth/
 
 
 


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: optimization/9570: [3.3/3.4 regression] Assember error with -finline-functions with g++-3.3
@ 2003-02-05 14:56 Wolfgang Bangerth
  0 siblings, 0 replies; 3+ messages in thread
From: Wolfgang Bangerth @ 2003-02-05 14:56 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR optimization/9570; it has been noted by GNATS.

From: Wolfgang Bangerth <bangerth@ticam.utexas.edu>
To: gcc-gnats@gcc.gnu.org
Cc:  
Subject: Re: optimization/9570: [3.3/3.4 regression] Assember error with
 -finline-functions with g++-3.3
Date: Wed, 5 Feb 2003 08:55:14 -0600 (CST)

 ---------- Forwarded message ----------
 Date: Wed, 5 Feb 2003 09:18:15 +0100
 From: Eric Botcazou <ebotcazou@libertysurf.fr>
 To: bangerth@dealii.org
 Cc: gcc-bugs@gcc.gnu.org
 Subject: Re: optimization/9570: [3.3/3.4 regression] Assember error with
     -finline-functions with g++-3.3
 
 >     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");
 >     -------------------------------
 
 I get:
 
 pr9570.c: In function `foo':
 pr9570.c:5: error: syntax error before "b"
 
 with this testcase.
 
 
 -- 
 Eric Botcazou
 


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-02-05 15:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-04 17:13 optimization/9570: [3.3/3.4 regression] Assember error with -finline-functions with g++-3.3 bangerth
2003-02-05 14:56 Wolfgang Bangerth
2003-02-05 15:06 Wolfgang Bangerth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).