re PR java/1305 ([JSR133] GCJ ignores volatile modifier)
commitfe4e7c6527eb4452c33a8df24e7d76b82ce1a18a
authorAndrew Haley <aph@redhat.com>
Mon, 19 Jun 2006 17:38:08 +0000 (19 17:38 +0000)
committerAndrew Haley <aph@gcc.gnu.org>
Mon, 19 Jun 2006 17:38:08 +0000 (19 17:38 +0000)
tree3b4b80cba4b272464d1b60f8d164c7cd515a34ef
parent3c618f8732814407a5c98146fa24761ba7dddd78
re PR java/1305 ([JSR133] GCJ ignores volatile modifier)

2006-06-19  Andrew Haley  <aph@redhat.com>

        PR java/1305
        PR java/27908
        * expr.c (java_modify_addr_for_volatile): New function.
        (expand_java_field_op): Handle volatile fields.
        * java-gimplify.c (java_gimplify_component_ref): Call
        java_modify_addr_for_volatile to give the field_ref the correct
        volatile type.
        (java_gimplify_modify_expr): Likewise.
        * java-tree.h (java_modify_addr_for_volatile): New decl.

From-SVN: r114778
gcc/java/ChangeLog
gcc/java/expr.c
gcc/java/java-gimplify.c
gcc/java/java-tree.h