------- Comment #11 from cvs-commit at gcc dot gnu dot org  2005-10-05 12:17 
-------
Subject: Bug 24146

CVSROOT:        /cvs/gcc
Module name:    gcc
Changes by:     [EMAIL PROTECTED]     2005-10-05 12:17:16

Modified files:
        gcc            : ChangeLog c-typeck.c gimplify.c 
        gcc/cp         : ChangeLog semantics.c 
        gcc/testsuite  : ChangeLog 
        gcc/testsuite/gcc.dg: asm-1.c pr21419.c 
Added files:
        gcc/testsuite/g++.dg/ext: asm7.C asm8.C 
        gcc/testsuite/gcc.dg: asm-pr24146.c 

Log message:
        2005-10-05  Paolo Bonzini  <[EMAIL PROTECTED]>

        PR tree-optimization/21419
        PR tree-optimization/24146
        PR tree-optimization/24151

        * 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.

        cp:
        2005-10-05  Paolo Bonzini  <[EMAIL PROTECTED]>

        PR tree-optimization/21419
        PR tree-optimization/24146
        PR tree-optimization/24151

        * semantics.c (finish_asm_stmt): Call readonly_error if outputs are
        read-only.  Set ASM_VOLATILE_P for asms without outputs.

        testsuite:
        2005-10-05  Paolo Bonzini  <[EMAIL PROTECTED]>

        PR tree-optimization/21419
        PR tree-optimization/24146
        PR tree-optimization/24151

        * g++.dg/ext/asm7.C: New.
        * g++.dg/ext/asm8.C: New.
        * gcc.dg/asm-1.c: Compile on all targets.
        * gcc.dg/asm-pr24146.c: New.
        * gcc.dg/pr21419.c: Adjust error messages.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.10087&r2=2.10088
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-typeck.c.diff?cvsroot=gcc&r1=1.480&r2=1.481
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/gimplify.c.diff?cvsroot=gcc&r1=2.156&r2=2.157
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.4912&r2=1.4913
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/semantics.c.diff?cvsroot=gcc&r1=1.490&r2=1.491
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.6140&r2=1.6141
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/ext/asm7.C.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/ext/asm8.C.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/asm-pr24146.c.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/asm-1.c.diff?cvsroot=gcc&r1=1.2&r2=1.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/pr21419.c.diff?cvsroot=gcc&r1=1.1&r2=1.2


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24146

Reply via email to