This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Java: Clean up java_gimplify_new_array_init
- From: Andrew Haley <aph at redhat dot com>
- To: Bryce McKinlay <mckinlay at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org, java-patches at gcc dot gnu dot org
- Date: Tue, 10 Aug 2004 10:03:31 +0100
- Subject: Java: Clean up java_gimplify_new_array_init
- References: <4117FF44.3070702@redhat.com>
Bryce McKinlay writes:
> This patch simplifies java_gimplify_new_array_init by using
> create_tmp_var instead of creating temporaries by hand, and getting rid
> of some unneccessary BLOCK_EXPR code. I noticed this while investigating
> PR 16867, however this doesn't actually effect the bug (which appears to
> be a tree-optimization issue).
>
> No regressions. OK to commit?
>
> Bryce
>
> 2004-08-09 Bryce McKinlay <mckinlay@redhat.com>
>
> * java-gimplify.c (java_gimplify_new_array_init): Use create_tmp_var.
> Don't create BLOCK here or call java_gimplify_block.
OK.
Andrew.