public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: j.vanbemmel@home.nl To: gcc-gnats@gcc.gnu.org Subject: inline-asm/9233: ICE for inline asm call to function taking a reference parameter Date: Wed, 08 Jan 2003 21:06:00 -0000 [thread overview] Message-ID: <20030108210246.17371.qmail@sources.redhat.com> (raw) >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:
next reply other threads:[~2003-01-08 21:06 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2003-01-08 21:06 j.vanbemmel [this message] 2003-05-10 5:26 Dara Hazeghi
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20030108210246.17371.qmail@sources.redhat.com \ --to=j.vanbemmel@home.nl \ --cc=gcc-gnats@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).