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
Richard Henderson <rth at redhat dot com> writes:
> 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.
Seems plausible. We already have similar logic in other parts of the
compiler.
zw