gcc/libjava/testsuite
Diego Novillo c597ef4eab re PR tree-optimization/16867 (Inline array initializer miscompilation at -O)
PR tree-optimization/16867
	* tree.c (is_global_var): New function.
	(needs_to_live_in_memory): Check for TREE_ADDRESSABLE.
	Call is_global_var.
	* tree.h (DECL_NEEDS_TO_LIVE_IN_MEMORY_INTERNAL): Remove.
	Update all users.
	(is_global_var): Declare.
	* tree-dfa.c (dump_variable): Display global and addressable
	attributes.
	(add_referenced_var): Clarify documentation when marking
	variables call-clobbered.
	* tree-flow-inline.h (is_call_clobbered): Call is_global_var
	instead of needs_to_live_in_memory.
	(mark_call_clobbered): If the variable is a tag, mark it
	DECL_EXTERNAL.
	* tree-gimple.c (is_gimple_reg): Don't check for
	TREE_ADDRESSABLE.
	(is_gimple_non_addressable): Likewise.
	* tree-ssa-alias.c (get_nmt_for): Always check whether the tag
	needs to be marked call-clobbered.
	(setup_pointers_and_addressables): Call is_global_var instead
	of needs_to_live_in_memory.
	* tree-ssa-dce.c (need_to_preserve_store): Remove.
	Update all users with is_global_var.
	(mark_stmt_if_obviously_necessary): Fix processing of aliased
	stores.  Don't check the virtual definitions.  Rather, check
	whether the store is going into global memory.
	(find_obviously_necessary_stmts): Get the symbol from the PHI
	result.
	* tree-ssa-operands.c (get_call_expr_operands): Do not add
	clobbering may-defs if the call does not have side effects.


libjava/ChangeLog

	PR tree-optimization/16867
	* testsuite/libjava.lang/PR16867.java: New test.

From-SVN: r85874
2004-08-12 10:34:11 -04:00
..
config Initial revision 1999-04-07 14:42:40 +00:00
lib libjava.exp (bytecompile_file): Byte compile with debugging. 2004-08-04 16:49:21 +00:00
libjava.cni re PR java/9577 (Linker error for legal Java/CNI code if method parameters are reversed) 2003-09-17 15:25:07 +00:00
libjava.compile re PR java/16701 (Error when constant initializer depends on another constant with restricted access) 2004-08-02 22:20:46 +01:00
libjava.jacks jacks.exp (gcj_jacks_write): Add deprecation flag to the gcj_setup. 2004-07-14 22:45:55 +02:00
libjava.jar libjava.exp (libjava_invoke): Add new argument ld_library_additions. 2004-05-10 22:44:13 +02:00
libjava.jni jni.exp (gcj_jni_test_one): Add lgcc_s for darwin. 2004-06-18 22:56:56 +02:00
libjava.lang re PR tree-optimization/16867 (Inline array initializer miscompilation at -O) 2004-08-12 10:34:11 -04:00
libjava.loader TestEarlyGC.java: Added comment explaining bytecode. 2003-01-28 23:21:13 +00:00
libjava.mauve CollationElementIterator.java, [...]: New versions from GNU classpath. 2004-05-31 22:16:31 +00:00
libjava.verify verify.exp (gcj_verify_list_tests): Only change directory if new directory exists. 2003-07-19 15:43:20 +00:00
ChangeLog-old re PR java/15769 (ICE: infinite recursion through gimplify_expr) 2004-06-08 06:30:33 -07:00
Makefile.am configure.in: Use target_noncanonical rather than target_alias for forward-compatibility with... 2004-07-16 05:36:35 +00:00
Makefile.in acinclude.m4: Include no-executables.m4. 2004-08-03 19:40:56 +00:00