re PR inline-asm/15740 (ICE caused by a memory operand in an asm statement)
authorRichard Henderson <rth@redhat.com>
Wed, 29 Dec 2004 01:22:15 +0000 (17:22 -0800)
committerRichard Henderson <rth@gcc.gnu.org>
Wed, 29 Dec 2004 01:22:15 +0000 (17:22 -0800)
commit74f0c611c681e93dfb49bcd0d525f76d8c46af24
tree54bc73bf49c5c1cd15ddc720798149307cd44186
parent85f3cc42950bc89d6f494397c4ebb39bc830a66e
re PR inline-asm/15740 (ICE caused by a memory operand in an asm statement)

PR inline-asm/15740
        * gimplify.c (gimplify_asm_expr): Move resolve asm names ...
        * c-typeck.c (build_asm_expr): ... here.  Validate input
        constraints.  Mark memory inputs addressable.

        * semantics.c (finish_asm_stmt): Resolve asm names.  Validate input
        constraints.  Mark memory inputs addressable.

From-SVN: r92693
gcc/ChangeLog
gcc/c-typeck.c
gcc/cp/ChangeLog
gcc/cp/semantics.c
gcc/gimplify.c
gcc/testsuite/g++.dg/opt/asm2.C [new file with mode: 0644]
gcc/testsuite/gcc.dg/asm-9.c [new file with mode: 0644]