public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/18725] New: another ICE on trivial invalid asm
@ 2004-11-29 18:39 jsm28 at gcc dot gnu dot org
  2004-11-29 18:43 ` [Bug middle-end/18725] [4.0 Regression] " pinskia at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2004-11-29 18:39 UTC (permalink / raw)
  To: gcc-bugs

void
f (void)
{
  int x = 1;
  asm ("" : "" (x), "" (x));
}

yields

t.c: In function 'f':
t.c:5: error: output operand constraint lacks '='
t.c:5: error: output operand constraint lacks '='
t.c:3: error: Incorrect sharing of tree nodes
__asm__("":"" <<< error >>>, "" <<< error >>>:);

<<< error >>>

t.c:3: internal compiler error: verify_stmts failed.
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

: Search converges between 2004-09-18-014002-trunk (#546) and
2004-09-18-161001-trunk (#547).

-- 
           Summary: another ICE on trivial invalid asm
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jsm28 at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org


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


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

* [Bug middle-end/18725] [4.0 Regression] another ICE on trivial invalid asm
  2004-11-29 18:39 [Bug middle-end/18725] New: another ICE on trivial invalid asm jsm28 at gcc dot gnu dot org
@ 2004-11-29 18:43 ` pinskia at gcc dot gnu dot org
  2004-11-29 19:00 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-29 18:43 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-11-29 18:43 -------
Confirmed, I have a patch already.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |pinskia at gcc dot gnu dot
                   |dot org                     |org
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|                            |1
           Keywords|                            |error-recovery, ice-on-
                   |                            |invalid-code
   Last reconfirmed|0000-00-00 00:00:00         |2004-11-29 18:43:30
               date|                            |
            Summary|another ICE on trivial      |[4.0 Regression] another ICE
                   |invalid asm                 |on trivial invalid asm
   Target Milestone|---                         |4.0.0


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


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

* [Bug middle-end/18725] [4.0 Regression] another ICE on trivial invalid asm
  2004-11-29 18:39 [Bug middle-end/18725] New: another ICE on trivial invalid asm jsm28 at gcc dot gnu dot org
  2004-11-29 18:43 ` [Bug middle-end/18725] [4.0 Regression] " pinskia at gcc dot gnu dot org
@ 2004-11-29 19:00 ` pinskia at gcc dot gnu dot org
  2004-11-29 19:03 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-29 19:00 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-11-29 19:00 -------
Patch here: <http://gcc.gnu.org/ml/gcc-patches/2004-11/msg02585.html>.

I am wondering now why anybody would think error_mark_node would not be sharedable.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch


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


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

* [Bug middle-end/18725] [4.0 Regression] another ICE on trivial invalid asm
  2004-11-29 18:39 [Bug middle-end/18725] New: another ICE on trivial invalid asm jsm28 at gcc dot gnu dot org
  2004-11-29 18:43 ` [Bug middle-end/18725] [4.0 Regression] " pinskia at gcc dot gnu dot org
  2004-11-29 19:00 ` pinskia at gcc dot gnu dot org
@ 2004-11-29 19:03 ` pinskia at gcc dot gnu dot org
  2004-11-29 20:36 ` cvs-commit at gcc dot gnu dot org
  2004-11-29 20:36 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-29 19:03 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |minor
           Keywords|                            |ice-checking


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


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

* [Bug middle-end/18725] [4.0 Regression] another ICE on trivial invalid asm
  2004-11-29 18:39 [Bug middle-end/18725] New: another ICE on trivial invalid asm jsm28 at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2004-11-29 19:03 ` pinskia at gcc dot gnu dot org
@ 2004-11-29 20:36 ` cvs-commit at gcc dot gnu dot org
  2004-11-29 20:36 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-11-29 20:36 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-11-29 20:36 -------
Subject: Bug 18725

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	pinskia@gcc.gnu.org	2004-11-29 20:36:37

Modified files:
	gcc            : ChangeLog tree-cfg.c 
	gcc/testsuite  : ChangeLog 
Added files:
	gcc/testsuite/gcc.dg: pr18725.c 

Log message:
	2004-11-29  Andrew Pinski  <pinskia@physics.uc.edu>
	
	PR middle-end/18725
	* gcc.dg/pr18725.c: New test.
	
	2004-11-29  Andrew Pinski  <pinskia@physics.uc.edu>
	
	PR middle-end/18725
	* tree-cfg.c (tree_node_can_be_shared): Error_mark_node can be
	shared always.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.6628&r2=2.6629
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-cfg.c.diff?cvsroot=gcc&r1=2.126&r2=2.127
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.4683&r2=1.4684
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/pr18725.c.diff?cvsroot=gcc&r1=NONE&r2=1.1



-- 


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


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

* [Bug middle-end/18725] [4.0 Regression] another ICE on trivial invalid asm
  2004-11-29 18:39 [Bug middle-end/18725] New: another ICE on trivial invalid asm jsm28 at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2004-11-29 20:36 ` cvs-commit at gcc dot gnu dot org
@ 2004-11-29 20:36 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-29 20:36 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-11-29 20:36 -------
Fixed.

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


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


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

end of thread, other threads:[~2004-11-29 20:36 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-29 18:39 [Bug middle-end/18725] New: another ICE on trivial invalid asm jsm28 at gcc dot gnu dot org
2004-11-29 18:43 ` [Bug middle-end/18725] [4.0 Regression] " pinskia at gcc dot gnu dot org
2004-11-29 19:00 ` pinskia at gcc dot gnu dot org
2004-11-29 19:03 ` pinskia at gcc dot gnu dot org
2004-11-29 20:36 ` cvs-commit at gcc dot gnu dot org
2004-11-29 20:36 ` pinskia 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).