On 09/04/2015 08:29 AM, Marek Polacek wrote:
In this PR, we were crashing on an invalid asm.  I think let's just reject
MODIFY_EXPRs as memory inputs - I'll wager those aren't meant to be supported
anyway.

Bootstrapped/regtested on x86_64-linux, ok for trunk?

2015-09-04  Marek Polacek  <pola...@redhat.com>

        PR inline-asm/67448
        * gimplify.c (gimplify_asm_expr): Don't allow MODIFY_EXPR as
        a memory input.

        * gcc.dg/asm-10.c: New test.
OK. Do we need a corresponding doc update too? If so, consider that pre-approved.

jeff

Reply via email to