public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/30848] [4.1/4.2/4.3 regression] ICE with invalid constraint in asm statement
  2007-02-18 22:47 [Bug middle-end/30848] New: [4.1/4.2/4.3 regression] ICE with invalid constraint in asm statement reichelt at gcc dot gnu dot org
@ 2007-02-18 22:47 ` reichelt at gcc dot gnu dot org
  2007-02-18 23:10 ` [Bug target/30848] " pinskia at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2007-02-18 22:47 UTC (permalink / raw)
  To: gcc-bugs



-- 

reichelt at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.1.3


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30848


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

* [Bug middle-end/30848]  New: [4.1/4.2/4.3 regression] ICE with invalid constraint in asm statement
@ 2007-02-18 22:47 reichelt at gcc dot gnu dot org
  2007-02-18 22:47 ` [Bug middle-end/30848] " reichelt at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2007-02-18 22:47 UTC (permalink / raw)
  To: gcc-bugs

The following invalid code snippet triggers an ICE since GCC 3.0
(with the exception of GCC 3.4.4 - 3.4.6):

=====================================
void foo(double d)
{
  __asm__ ("" : "=u" (d));
}
=====================================

bug.c: In function 'foo':
bug.c:3: error: output regs must be grouped at top of stack
bug.c:4: internal compiler error: in emit_swap_insn, at reg-stack.c:818
Please submit a full bug report, [etc.]


-- 
           Summary: [4.1/4.2/4.3 regression] ICE with invalid constraint in
                    asm statement
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: ice-on-invalid-code, error-recovery, monitored
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: reichelt at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30848


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

* [Bug target/30848] [4.1/4.2/4.3 regression] ICE with invalid constraint in asm statement
  2007-02-18 22:47 [Bug middle-end/30848] New: [4.1/4.2/4.3 regression] ICE with invalid constraint in asm statement reichelt at gcc dot gnu dot org
  2007-02-18 22:47 ` [Bug middle-end/30848] " reichelt at gcc dot gnu dot org
@ 2007-02-18 23:10 ` pinskia at gcc dot gnu dot org
  2007-02-19 21:13 ` mmitchel at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-02-18 23:10 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2007-02-18 23:10 -------
This is an x86 specific inline-asm bug really as the "u" constraint is x86
specific.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|inline-asm                  |target
 GCC target triplet|                            |i?86-*-* x86_64-*-*


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30848


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

* [Bug target/30848] [4.1/4.2/4.3 regression] ICE with invalid constraint in asm statement
  2007-02-18 22:47 [Bug middle-end/30848] New: [4.1/4.2/4.3 regression] ICE with invalid constraint in asm statement reichelt at gcc dot gnu dot org
  2007-02-18 22:47 ` [Bug middle-end/30848] " reichelt at gcc dot gnu dot org
  2007-02-18 23:10 ` [Bug target/30848] " pinskia at gcc dot gnu dot org
@ 2007-02-19 21:13 ` mmitchel at gcc dot gnu dot org
  2007-03-06 17:58 ` rth at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-02-19 21:13 UTC (permalink / raw)
  To: gcc-bugs



-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30848


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

* [Bug target/30848] [4.1/4.2/4.3 regression] ICE with invalid constraint in asm statement
  2007-02-18 22:47 [Bug middle-end/30848] New: [4.1/4.2/4.3 regression] ICE with invalid constraint in asm statement reichelt at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2007-02-19 21:13 ` mmitchel at gcc dot gnu dot org
@ 2007-03-06 17:58 ` rth at gcc dot gnu dot org
  2007-03-07 18:14 ` rth at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: rth at gcc dot gnu dot org @ 2007-03-06 17:58 UTC (permalink / raw)
  To: gcc-bugs



-- 

rth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |rth at gcc dot gnu dot org
                   |dot org                     |
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2007-03-06 17:57:51
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30848


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

* [Bug target/30848] [4.1/4.2/4.3 regression] ICE with invalid constraint in asm statement
  2007-02-18 22:47 [Bug middle-end/30848] New: [4.1/4.2/4.3 regression] ICE with invalid constraint in asm statement reichelt at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2007-03-06 17:58 ` rth at gcc dot gnu dot org
@ 2007-03-07 18:14 ` rth at gcc dot gnu dot org
  2007-03-07 19:16 ` rth at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: rth at gcc dot gnu dot org @ 2007-03-07 18:14 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from rth at gcc dot gnu dot org  2007-03-07 18:13 -------
Subject: Bug 30848

Author: rth
Date: Wed Mar  7 18:13:29 2007
New Revision: 122669

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=122669
Log:
        PR target/30848
        * reg-stack.c (emit_swap_insn): If a malformed asm was seen,
        silently fix up the stack in the case of a missing register.

Added:
    trunk/gcc/testsuite/gcc.target/i386/pr30848.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/reg-stack.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30848


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

* [Bug target/30848] [4.1/4.2/4.3 regression] ICE with invalid constraint in asm statement
  2007-02-18 22:47 [Bug middle-end/30848] New: [4.1/4.2/4.3 regression] ICE with invalid constraint in asm statement reichelt at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2007-03-07 18:14 ` rth at gcc dot gnu dot org
@ 2007-03-07 19:16 ` rth at gcc dot gnu dot org
  2007-03-07 19:18 ` rth at gcc dot gnu dot org
  2007-03-07 19:22 ` rth at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: rth at gcc dot gnu dot org @ 2007-03-07 19:16 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from rth at gcc dot gnu dot org  2007-03-07 19:16 -------
Subject: Bug 30848

Author: rth
Date: Wed Mar  7 19:15:46 2007
New Revision: 122671

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=122671
Log:
        PR target/30848
        * reg-stack.c (emit_swap_insn): If a malformed asm was seen,
        silently fix up the stack in the case of a missing register.

Added:
    branches/gcc-4_1-branch/gcc/testsuite/gcc.target/i386/pr30848.c
Modified:
    branches/gcc-4_1-branch/gcc/ChangeLog
    branches/gcc-4_1-branch/gcc/reg-stack.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30848


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

* [Bug target/30848] [4.1/4.2/4.3 regression] ICE with invalid constraint in asm statement
  2007-02-18 22:47 [Bug middle-end/30848] New: [4.1/4.2/4.3 regression] ICE with invalid constraint in asm statement reichelt at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2007-03-07 19:16 ` rth at gcc dot gnu dot org
@ 2007-03-07 19:18 ` rth at gcc dot gnu dot org
  2007-03-07 19:22 ` rth at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: rth at gcc dot gnu dot org @ 2007-03-07 19:18 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from rth at gcc dot gnu dot org  2007-03-07 19:18 -------
Subject: Bug 30848

Author: rth
Date: Wed Mar  7 19:18:22 2007
New Revision: 122672

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=122672
Log:
        PR target/30848
        * reg-stack.c (emit_swap_insn): If a malformed asm was seen,
        silently fix up the stack in the case of a missing register.

Added:
    branches/gcc-4_2-branch/gcc/testsuite/gcc.target/i386/pr30848.c
Modified:
    branches/gcc-4_2-branch/gcc/ChangeLog
    branches/gcc-4_2-branch/gcc/reg-stack.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30848


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

* [Bug target/30848] [4.1/4.2/4.3 regression] ICE with invalid constraint in asm statement
  2007-02-18 22:47 [Bug middle-end/30848] New: [4.1/4.2/4.3 regression] ICE with invalid constraint in asm statement reichelt at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2007-03-07 19:18 ` rth at gcc dot gnu dot org
@ 2007-03-07 19:22 ` rth at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: rth at gcc dot gnu dot org @ 2007-03-07 19:22 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from rth at gcc dot gnu dot org  2007-03-07 19:21 -------
Fixed.


-- 

rth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30848


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

end of thread, other threads:[~2007-03-07 19:22 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-18 22:47 [Bug middle-end/30848] New: [4.1/4.2/4.3 regression] ICE with invalid constraint in asm statement reichelt at gcc dot gnu dot org
2007-02-18 22:47 ` [Bug middle-end/30848] " reichelt at gcc dot gnu dot org
2007-02-18 23:10 ` [Bug target/30848] " pinskia at gcc dot gnu dot org
2007-02-19 21:13 ` mmitchel at gcc dot gnu dot org
2007-03-06 17:58 ` rth at gcc dot gnu dot org
2007-03-07 18:14 ` rth at gcc dot gnu dot org
2007-03-07 19:16 ` rth at gcc dot gnu dot org
2007-03-07 19:18 ` rth at gcc dot gnu dot org
2007-03-07 19:22 ` rth at gcc dot gnu dot org

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).