public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: inline-asm/9233: ICE for inline asm call to function taking a reference parameter
@ 2003-05-10 5:26 Dara Hazeghi
0 siblings, 0 replies; 2+ messages in thread
From: Dara Hazeghi @ 2003-05-10 5:26 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR inline-asm/9233; it has been noted by GNATS.
From: Dara Hazeghi <dhazeghi@yahoo.com>
To: gcc-gnats@gcc.gnu.org, j.vanbemmel@home.nl
Cc:
Subject: Re: inline-asm/9233: ICE for inline asm call to function taking a reference parameter
Date: Fri, 9 May 2003 22:25:04 -0700
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-
trail&database=gcc&pr=9233
Hello,
I can confirm that this bug is still present and 3.2.3, 3.3 branch and
mainline (20030509) all ICE on the testcase.
Dara
^ permalink raw reply [flat|nested] 2+ messages in thread
* inline-asm/9233: ICE for inline asm call to function taking a reference parameter
@ 2003-01-08 21:06 j.vanbemmel
0 siblings, 0 replies; 2+ messages in thread
From: j.vanbemmel @ 2003-01-08 21:06 UTC (permalink / raw)
To: gcc-gnats
>Number: 9233
>Category: inline-asm
>Synopsis: ICE for inline asm call to function taking a reference parameter
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: ice-on-legal-code
>Submitter-Id: net
>Arrival-Date: Wed Jan 08 13:06:01 PST 2003
>Closed-Date:
>Last-Modified:
>Originator: j.vanbemmel@home.nl
>Release: gcc version 3.2 20020927 (prerelease) under cygwin
>Organization:
>Environment:
cygwin under Win2000
>Description:
Code below will trigger an ICE:
src/test.cpp:22: Internal compiler error in emit_move_insn, at expr.c:2769
struct X {
short a,b,c,d;
short e,f,g,h; // without these, I get "impossible register constraint"
};
class I
{
public:
virtual bool f( X& p1 ) const = 0;
};
class C : public I
{
virtual bool f( X& p1 ) const;
static void g( X& p1 ) asm( "g" );
};
bool
C::f( X& p1 ) const
{
__asm__ __volatile__( "call g" : : "r"(p1) : "memory" );
return true;
}
>How-To-Repeat:
gcc -c test.cpp
>Fix:
probably edit expr.c :)
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-05-10 5:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-10 5:26 inline-asm/9233: ICE for inline asm call to function taking a reference parameter Dara Hazeghi
-- strict thread matches above, loose matches on Subject: below --
2003-01-08 21:06 j.vanbemmel
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).