move handling of pr21419 in the front-ends, fix pr21451
Nathan Sidwell
nathan@codesourcery.com
Wed Oct 5 09:48:00 GMT 2005
Paolo Bonzini wrote:
-----------------------------------------
>
> 2005-10-02 Paolo Bonzini <bonzini@gnu.org>
>
> * c-typeck.c (readonly_error): Handle USE being lv_asm.
> (build_asm_expr): Call it if outputs are read-only.
> * gimplify.c (gimplify_asm_expr): Remove former fix to PR 21419.
>
> 2005-10-02 Paolo Bonzini <bonzini@gnu.org>
>
> * semantics.c (finish_asm_stmt): Call readonly_error if outputs are
> read-only.
>
> 2005-10-02 Paolo Bonzini <bonzini@gnu.org>
>
> * gcc.dg/asm-1.c: Compile on all targets.
> * gcc.dg/pr21419.c: Adjust error messages.
> * g++.dg/ext/asm7.C: New.
the c++ bits are ok too.
nathan
--
Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery LLC
nathan@codesourcery.com :: http://www.planetfall.pwp.blueyonder.co.uk
More information about the Gcc-patches
mailing list