This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: inline-asm/9910: gcc dies on inline assembly
- From: Richard Henderson <rth at redhat dot com>
- To: Zack Weinberg <zack at codesourcery dot com>
- Cc: jay at remotepoint dot com, gcc-gnats at gcc dot gnu dot org, gcc at sources dot redhat dot com, dies at sources dot redhat dot com
- Date: Mon, 3 Mar 2003 15:12:54 -0800
- Subject: Re: inline-asm/9910: gcc dies on inline assembly
- References: <20030303005309.20077.qmail@sources.redhat.com> <87d6l9w8kc.fsf@egil.codesourcery.com>
On Sun, Mar 02, 2003 at 05:19:31PM -0800, Zack Weinberg wrote:
> gcc should not ICE, but this is emphatically not correct code.
I wonder if the thing to do is have instantiate_virtual_regs,
when it sees that instantiation is not possible, and that the
target insn is an asm, issue an error message and remove the
insn from the instruction stream.
I really can't think of any other solution.
r~