This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug java/1305] [JSR133] GCJ ignores volatile modifier
- From: "aph at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Jun 2006 17:38:19 -0000
- Subject: [Bug java/1305] [JSR133] GCJ ignores volatile modifier
- References: <bug-1305-3625@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #9 from aph at gcc dot gnu dot org 2006-06-19 17:38 -------
Subject: Bug 1305
Author: aph
Date: Mon Jun 19 17:38:08 2006
New Revision: 114778
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114778
Log:
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.
Modified:
trunk/gcc/java/ChangeLog
trunk/gcc/java/expr.c
trunk/gcc/java/java-gimplify.c
trunk/gcc/java/java-tree.h
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=1305