public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug inline-asm/11676] New: operand to volatile asm incorrectly removed
@ 2003-07-26 14:23 rth at gcc dot gnu dot org
  2003-07-26 14:24 ` [Bug inline-asm/11676] " rth at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: rth at gcc dot gnu dot org @ 2003-07-26 14:23 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary: operand to volatile asm incorrectly removed
           Product: gcc
           Version: 3.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: inline-asm
        AssignedTo: rth at gcc dot gnu dot org
        ReportedBy: rth at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-linux
  GCC host triplet: i686-linux
GCC target triplet: i686-linux

The first attached test case canaries the problem by generating an
obviously bogus "used before set" warning with -Wall.  An x86-specific
modification yields a test case that demonstrates the loss of an
input operand to a volatile inline asm.


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

* [Bug inline-asm/11676] operand to volatile asm incorrectly removed
  2003-07-26 14:23 [Bug inline-asm/11676] New: operand to volatile asm incorrectly removed rth at gcc dot gnu dot org
@ 2003-07-26 14:24 ` rth at gcc dot gnu dot org
  2003-07-26 14:25 ` rth at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: rth at gcc dot gnu dot org @ 2003-07-26 14:24 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From rth at gcc dot gnu dot org  2003-07-26 14:24 -------
Created an attachment (id=4480)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=4480&action=view)
test that generates a warning


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

* [Bug inline-asm/11676] operand to volatile asm incorrectly removed
  2003-07-26 14:23 [Bug inline-asm/11676] New: operand to volatile asm incorrectly removed rth at gcc dot gnu dot org
  2003-07-26 14:24 ` [Bug inline-asm/11676] " rth at gcc dot gnu dot org
  2003-07-26 14:25 ` rth at gcc dot gnu dot org
@ 2003-07-26 14:25 ` rth at gcc dot gnu dot org
  2003-07-26 23:40 ` pinskia at physics dot uc dot edu
  2003-08-25 17:43 ` uweigand at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: rth at gcc dot gnu dot org @ 2003-07-26 14:25 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From rth at gcc dot gnu dot org  2003-07-26 14:25 -------
Created an attachment (id=4481)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=4481&action=view)
test that demonstrates incorrect code


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

* [Bug inline-asm/11676] operand to volatile asm incorrectly removed
  2003-07-26 14:23 [Bug inline-asm/11676] New: operand to volatile asm incorrectly removed rth at gcc dot gnu dot org
  2003-07-26 14:24 ` [Bug inline-asm/11676] " rth at gcc dot gnu dot org
@ 2003-07-26 14:25 ` rth at gcc dot gnu dot org
  2003-07-26 14:25 ` rth at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: rth at gcc dot gnu dot org @ 2003-07-26 14:25 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


rth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2003-07-26 14:25:41
               date|                            |


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

* [Bug inline-asm/11676] operand to volatile asm incorrectly removed
  2003-07-26 14:23 [Bug inline-asm/11676] New: operand to volatile asm incorrectly removed rth at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2003-07-26 14:25 ` rth at gcc dot gnu dot org
@ 2003-07-26 23:40 ` pinskia at physics dot uc dot edu
  2003-08-25 17:43 ` uweigand at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-07-26 23:40 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at physics dot uc dot edu changed:

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


------- Additional Comments From pinskia at physics dot uc dot edu  2003-07-26 23:40 -------
Fixed in the mainline by:
2003-07-26  Richard Henderson

        PR inline-asm/11676
        * cse.c (count_reg_usage): Handle asm_operands properly.


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

* [Bug inline-asm/11676] operand to volatile asm incorrectly removed
  2003-07-26 14:23 [Bug inline-asm/11676] New: operand to volatile asm incorrectly removed rth at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2003-07-26 23:40 ` pinskia at physics dot uc dot edu
@ 2003-08-25 17:43 ` uweigand at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: uweigand at gcc dot gnu dot org @ 2003-08-25 17:43 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


uweigand at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |uweigand at de dot ibm dot
                   |                            |com


------- Additional Comments From uweigand at gcc dot gnu dot org  2003-08-25 17:43 -------
*** Bug 10536 has been marked as a duplicate of this bug. ***


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

end of thread, other threads:[~2003-08-25 17:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-26 14:23 [Bug inline-asm/11676] New: operand to volatile asm incorrectly removed rth at gcc dot gnu dot org
2003-07-26 14:24 ` [Bug inline-asm/11676] " rth at gcc dot gnu dot org
2003-07-26 14:25 ` rth at gcc dot gnu dot org
2003-07-26 14:25 ` rth at gcc dot gnu dot org
2003-07-26 23:40 ` pinskia at physics dot uc dot edu
2003-08-25 17:43 ` uweigand 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).