public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: inline-asm/9413: ICE in illegal asm constraint
@ 2003-05-12 11:27 giovannibajo
  0 siblings, 0 replies; 3+ messages in thread
From: giovannibajo @ 2003-05-12 11:27 UTC (permalink / raw)
  To: dpates, ehrhardt, gcc-bugs, gcc-prs, nobody

Synopsis: ICE in illegal asm constraint

State-Changed-From-To: analyzed->closed
State-Changed-By: bajo
State-Changed-When: Mon May 12 11:25:38 2003
State-Changed-Why:
    Duplicate of PR 9860.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9413


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

* Re: inline-asm/9413: ICE in illegal asm constraint
@ 2003-05-10  6:16 Dara Hazeghi
  0 siblings, 0 replies; 3+ messages in thread
From: Dara Hazeghi @ 2003-05-10  6:16 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR inline-asm/9413; it has been noted by GNATS.

From: Dara Hazeghi <dhazeghi@yahoo.com>
To: gcc-gnats@gcc.gnu.org
Cc:  
Subject: Re: inline-asm/9413: ICE in illegal asm constraint
Date: Fri, 9 May 2003 23:09:54 -0700

 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit- 
 trail&database=gcc&pr=9413
 
 This is a duplicate of PR 9860
 


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

* Re: inline-asm/9413: ICE in illegal asm constraint
@ 2003-01-24 13:29 ehrhardt
  0 siblings, 0 replies; 3+ messages in thread
From: ehrhardt @ 2003-01-24 13:29 UTC (permalink / raw)
  To: dpates, ehrhardt, gcc-bugs, gcc-prs, nobody

Old Synopsis: Internal compiler error received
New Synopsis: ICE in illegal asm constraint

State-Changed-From-To: open->analyzed
State-Changed-By: cae
State-Changed-When: Fri Jan 24 13:29:45 2003
State-Changed-Why:
    The code is actually illegal, please report this with the
    author of the original code. However, gcc still shouldn't ice.
    The testcase can be reduce to the following:
    ------- cut ------
    void foo(void)
    {
    	__asm__ __volatile__( "" : : "A" ((void)(3)));
    }
    ------- cut ------
    
    Obviously the code wasn't originally written like this but used typeof
    and most likely macros as in the following example:
    
    #define BLAH(X) __asm__ __volatile__( "" : : "A" ((__typeof__(*(X)))(3)))
    void foo(void * argv)
    {
    	BLAH(argv);
    }
    
    The ICE has been there ever since at least 2.95.2, i.e. not a regression.
    With recent 3.4 the ICE is here:
    
    9413-2.c: In function `foo':
    9413-2.c:4: internal compiler error: in emit_move_insn_1, at expr.c:3484
    Please submit a full bug report,
    
         regards   Christian
    

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9413


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

end of thread, other threads:[~2003-05-12 11:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-12 11:27 inline-asm/9413: ICE in illegal asm constraint giovannibajo
  -- strict thread matches above, loose matches on Subject: below --
2003-05-10  6:16 Dara Hazeghi
2003-01-24 13:29 ehrhardt

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