aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-phiopt.c
diff options
context:
space:
mode:
authorRanjit Mathew <rmathew@hotmail.com>2004-05-29 05:11:41 +0000
committerRanjit Mathew <rmathew@gcc.gnu.org>2004-05-29 05:11:41 +0000
commitedf74484b2277d89da3d02da5ed694fd6fb0716f (patch)
treefa7c6c430b62609bd2e6979cf8f506515595ec7f /gcc/tree-ssa-phiopt.c
parent27e1a8d2eebf19730394a178567c775dd39ac248 (diff)
downloadgcc-edf74484b2277d89da3d02da5ed694fd6fb0716f.zip
gcc-edf74484b2277d89da3d02da5ed694fd6fb0716f.tar.gz
gcc-edf74484b2277d89da3d02da5ed694fd6fb0716f.tar.bz2
java-tree.h (DECL_LOCAL_FINAL_IUD): New macro to test if a local variable was initialised upon declaration.
* java-tree.h (DECL_LOCAL_FINAL_IUD): New macro to test if a local variable was initialised upon declaration. * parse.y (declare_local_variables): Set DECL_LOCAL_FINAL_IUD if variable was final and initialised upon declaration. * check-init.c (check_final_reassigned): Give error only if a blank final is not definitely unassigned or if an initialised final is reassigned. (check_bool_init): Respect JLS2 16.1.7 requirements for boolean assignment expressions. Remove case MODIFY_EXPR, label do_default. (check_init): Perform initialised-variable-removing-optimisation only on non-final local variables. Co-Authored-By: Per Bothner <per@bothner.com> From-SVN: r82416
Diffstat (limited to 'gcc/tree-ssa-phiopt.c')
0 files changed, 0 insertions, 0 deletions