public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/27451] New: [4.0/4.1/4.2 regression] ICE with invalid asm statement
@ 2006-05-06 1:14 reichelt at gcc dot gnu dot org
2006-05-06 3:08 ` [Bug c++/27451] " pinskia at gcc dot gnu dot org
` (8 more replies)
0 siblings, 9 replies; 10+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-05-06 1:14 UTC (permalink / raw)
To: gcc-bugs
The following invalid testcase crashes the C++ frontend since GCC 3.4.0:
=====================
void foo()
{
asm("" ::: X);
}
=====================
bug.cc: In function 'void foo()':
bug.cc:3: error: expected string-literal before 'X'
bug.cc:3: error: expected `)' before 'X'
bug.cc:3: internal compiler error: tree check: expected string_cst, have
error_mark in expand_asm_operands, at stmt.c:696
Please submit a full bug report, [etc.]
The C frontend is not affected.
--
Summary: [4.0/4.1/4.2 regression] ICE with invalid asm statement
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Keywords: ice-on-invalid-code, error-recovery, monitored
Severity: normal
Priority: P3
Component: c++
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=27451
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/27451] [4.0/4.1/4.2 regression] ICE with invalid asm statement
2006-05-06 1:14 [Bug c++/27451] New: [4.0/4.1/4.2 regression] ICE with invalid asm statement reichelt at gcc dot gnu dot org
@ 2006-05-06 3:08 ` pinskia at gcc dot gnu dot org
2006-05-07 8:16 ` pinskia at gcc dot gnu dot org
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-05-06 3:08 UTC (permalink / raw)
To: gcc-bugs
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pinskia at gcc dot gnu dot
| |org
Target Milestone|--- |4.0.4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27451
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/27451] [4.0/4.1/4.2 regression] ICE with invalid asm statement
2006-05-06 1:14 [Bug c++/27451] New: [4.0/4.1/4.2 regression] ICE with invalid asm statement reichelt at gcc dot gnu dot org
2006-05-06 3:08 ` [Bug c++/27451] " pinskia at gcc dot gnu dot org
@ 2006-05-07 8:16 ` pinskia at gcc dot gnu dot org
2006-05-22 9:21 ` patchapp at dberlin dot org
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-05-07 8:16 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from pinskia at gcc dot gnu dot org 2006-05-07 08:16 -------
Confirmed, the C front-end does not even include the asm in the IR while the
C++ Front-end does.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2006-05-07 08:16:10
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27451
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/27451] [4.0/4.1/4.2 regression] ICE with invalid asm statement
2006-05-06 1:14 [Bug c++/27451] New: [4.0/4.1/4.2 regression] ICE with invalid asm statement reichelt at gcc dot gnu dot org
2006-05-06 3:08 ` [Bug c++/27451] " pinskia at gcc dot gnu dot org
2006-05-07 8:16 ` pinskia at gcc dot gnu dot org
@ 2006-05-22 9:21 ` patchapp at dberlin dot org
2006-05-22 9:22 ` reichelt at gcc dot gnu dot org
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: patchapp at dberlin dot org @ 2006-05-22 9:21 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from patchapp at dberlin dot org 2006-05-22 09:20 -------
Subject: Bug number PR c++/27451
A patch for this bug has been added to the patch tracker.
The mailing list url for the patch is
http://gcc.gnu.org/ml/gcc-patches/2006-05/msg01090.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27451
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/27451] [4.0/4.1/4.2 regression] ICE with invalid asm statement
2006-05-06 1:14 [Bug c++/27451] New: [4.0/4.1/4.2 regression] ICE with invalid asm statement reichelt at gcc dot gnu dot org
` (2 preceding siblings ...)
2006-05-22 9:21 ` patchapp at dberlin dot org
@ 2006-05-22 9:22 ` reichelt at gcc dot gnu dot org
2006-05-22 16:49 ` reichelt at gcc dot gnu dot org
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-05-22 9:22 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from reichelt at gcc dot gnu dot org 2006-05-22 09:21 -------
Posted a patch.
--
reichelt at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |reichelt at gcc dot gnu dot
|dot org |org
URL| |http://gcc.gnu.org/ml/gcc-
| |patches/2006-
| |05/msg01090.html
Status|NEW |ASSIGNED
Keywords| |patch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27451
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/27451] [4.0/4.1/4.2 regression] ICE with invalid asm statement
2006-05-06 1:14 [Bug c++/27451] New: [4.0/4.1/4.2 regression] ICE with invalid asm statement reichelt at gcc dot gnu dot org
` (3 preceding siblings ...)
2006-05-22 9:22 ` reichelt at gcc dot gnu dot org
@ 2006-05-22 16:49 ` reichelt at gcc dot gnu dot org
2006-05-22 16:54 ` reichelt at gcc dot gnu dot org
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-05-22 16:49 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from reichelt at gcc dot gnu dot org 2006-05-22 16:49 -------
Subject: Bug 27451
Author: reichelt
Date: Mon May 22 16:49:33 2006
New Revision: 113985
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113985
Log:
PR c++/27451
* stmt.c (expand_asm_operands): Skip asm statement with erroneous
clobbers.
* g++.dg/ext/asm9.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/ext/asm9.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/stmt.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27451
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/27451] [4.0/4.1/4.2 regression] ICE with invalid asm statement
2006-05-06 1:14 [Bug c++/27451] New: [4.0/4.1/4.2 regression] ICE with invalid asm statement reichelt at gcc dot gnu dot org
` (4 preceding siblings ...)
2006-05-22 16:49 ` reichelt at gcc dot gnu dot org
@ 2006-05-22 16:54 ` reichelt at gcc dot gnu dot org
2006-05-22 16:55 ` [Bug c++/27451] [4.1 " reichelt at gcc dot gnu dot org
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-05-22 16:54 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from reichelt at gcc dot gnu dot org 2006-05-22 16:53 -------
Subject: Bug 27451
Author: reichelt
Date: Mon May 22 16:53:38 2006
New Revision: 113986
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113986
Log:
PR c++/27451
* stmt.c (expand_asm_operands): Skip asm statement with erroneous
clobbers.
* g++.dg/ext/asm9.C: New test.
Added:
branches/gcc-4_0-branch/gcc/testsuite/g++.dg/ext/asm9.C
Modified:
branches/gcc-4_0-branch/gcc/ChangeLog
branches/gcc-4_0-branch/gcc/stmt.c
branches/gcc-4_0-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27451
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/27451] [4.1 regression] ICE with invalid asm statement
2006-05-06 1:14 [Bug c++/27451] New: [4.0/4.1/4.2 regression] ICE with invalid asm statement reichelt at gcc dot gnu dot org
` (5 preceding siblings ...)
2006-05-22 16:54 ` reichelt at gcc dot gnu dot org
@ 2006-05-22 16:55 ` reichelt at gcc dot gnu dot org
2006-05-29 6:50 ` reichelt at gcc dot gnu dot org
2006-05-29 7:08 ` [Bug c++/27451] [4.0/4.1/4.2 " reichelt at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-05-22 16:55 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from reichelt at gcc dot gnu dot org 2006-05-22 16:55 -------
Fixed on mainline and 4.0 branch.
Waiting for the 4.1 branch to thaw.
--
reichelt at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[4.0/4.1/4.2 regression] ICE|[4.1 regression] ICE with
|with invalid asm statement |invalid asm statement
Target Milestone|4.0.4 |4.1.2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27451
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/27451] [4.1 regression] ICE with invalid asm statement
2006-05-06 1:14 [Bug c++/27451] New: [4.0/4.1/4.2 regression] ICE with invalid asm statement reichelt at gcc dot gnu dot org
` (6 preceding siblings ...)
2006-05-22 16:55 ` [Bug c++/27451] [4.1 " reichelt at gcc dot gnu dot org
@ 2006-05-29 6:50 ` reichelt at gcc dot gnu dot org
2006-05-29 7:08 ` [Bug c++/27451] [4.0/4.1/4.2 " reichelt at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-05-29 6:50 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from reichelt at gcc dot gnu dot org 2006-05-29 06:50 -------
Subject: Bug 27451
Author: reichelt
Date: Mon May 29 06:50:07 2006
New Revision: 114189
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114189
Log:
PR c++/27451
* stmt.c (expand_asm_operands): Skip asm statement with erroneous
clobbers.
* g++.dg/ext/asm9.C: New test.
Added:
branches/gcc-4_1-branch/gcc/testsuite/g++.dg/ext/asm9.C
Modified:
branches/gcc-4_1-branch/gcc/ChangeLog
branches/gcc-4_1-branch/gcc/stmt.c
branches/gcc-4_1-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27451
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/27451] [4.0/4.1/4.2 regression] ICE with invalid asm statement
2006-05-06 1:14 [Bug c++/27451] New: [4.0/4.1/4.2 regression] ICE with invalid asm statement reichelt at gcc dot gnu dot org
` (7 preceding siblings ...)
2006-05-29 6:50 ` reichelt at gcc dot gnu dot org
@ 2006-05-29 7:08 ` reichelt at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-05-29 7:08 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from reichelt at gcc dot gnu dot org 2006-05-29 07:08 -------
Now also fixed on the 4.1 branch.
--
reichelt at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
Summary|[4.1 regression] ICE with |[4.0/4.1/4.2 regression] ICE
|invalid asm statement |with invalid asm statement
Target Milestone|4.1.2 |4.0.4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27451
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2006-05-29 7:08 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-06 1:14 [Bug c++/27451] New: [4.0/4.1/4.2 regression] ICE with invalid asm statement reichelt at gcc dot gnu dot org
2006-05-06 3:08 ` [Bug c++/27451] " pinskia at gcc dot gnu dot org
2006-05-07 8:16 ` pinskia at gcc dot gnu dot org
2006-05-22 9:21 ` patchapp at dberlin dot org
2006-05-22 9:22 ` reichelt at gcc dot gnu dot org
2006-05-22 16:49 ` reichelt at gcc dot gnu dot org
2006-05-22 16:54 ` reichelt at gcc dot gnu dot org
2006-05-22 16:55 ` [Bug c++/27451] [4.1 " reichelt at gcc dot gnu dot org
2006-05-29 6:50 ` reichelt at gcc dot gnu dot org
2006-05-29 7:08 ` [Bug c++/27451] [4.0/4.1/4.2 " reichelt 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).