expr.c (expand_java_return): RETURN_EXPR has void type.
authorRichard Guenther <rguenther@suse.de>
Thu, 12 Jul 2007 09:29:26 +0000 (09:29 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 12 Jul 2007 09:29:26 +0000 (09:29 +0000)
commit176be57beaed92f771fd7c86007363e17f65324e
tree65d095d6a08cf82cda8ea486135787036289c7f6
parenteb8f7cafe7a12bcae1ec1ded699d63379e3c0018
expr.c (expand_java_return): RETURN_EXPR has void type.

2007-07-12  Richard Guenther  <rguenther@suse.de>

* expr.c (expand_java_return): RETURN_EXPR has void type.
(build_jni_stub): Likewise.  Use a comparison against zero
for null-pointer test in COND_EXPR.
(build_field_ref): Build POINTER_PLUS_EXPR with correct
type.  Convert result instead.
(build_invokevirtual): Likewise.

From-SVN: r126574
gcc/java/ChangeLog
gcc/java/expr.c