OSDN Git Service

* tree-ssa-pre.c (my_rev_post_order_compute): Remove set but not
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 7 Apr 2010 20:27:37 +0000 (20:27 +0000)
committerMasaki Muranaka <monaka@monami-software.com>
Sun, 23 May 2010 05:17:37 +0000 (14:17 +0900)
used count variable.
* genemit.c (gen_expand, gen_split): Avoid set but not used warnings
when operandN variables aren't used in the body of the expander
or splitter.
* tree-outof-ssa.c (FOR_EACH_ELIM_GRAPH_SUCC,
FOR_EACH_ELIM_GRAPH_PRED): Avoid set but not used warnings.
* tree-ssa-operands.h (FOR_EACH_SSA_TREE_OPERAND): Likewise.
* tree-flow.h (FOR_EACH_IMM_USE_FAST, FOR_EACH_IMM_USE_STMT,
FOR_EACH_IMM_USE_ON_STMT): Likewise.
* tree.h (FOR_EACH_CONSTRUCTOR_ELT): Likewise.
* tree.c (PROCESS_ARG): Likewise.
fortran/
* parse.c (parse_derived, parse_enum): Avoid set but not used
warning.
java/
* expr.c (process_jvm_instruction): Avoid set but not used warning.
* builtins.c (compareAndSwapInt_builtin, compareAndSwapLong_builtin,
getVolatile_builtin): Likewise.
libjava/
* exception.cc (_Jv_Throw): Avoid set but not used warning.
* include/java-assert.h (JvAssertMessage, JvAssert): Use argument in
sizeof to avoid set but not used warnings.
libjava/classpath/
* native/jni/midi-alsa/gnu_javax_sound_midi_alsa_AlsaPortDevice.c
(Java_gnu_javax_sound_midi_alsa_AlsaPortDevice_run_1receiver_1thread_1):
Avoid set but not used warning.
libiberty/
* regex.c (byte_re_match_2_internal): Avoid set but not used
warning.
gcc/testsuite/
* gcc.dg/builtin-choose-expr.c: Avoid set but not used warnings.
* gcc.dg/trunc-1.c: Likewise.
* gcc.dg/vla-9.c: Likewise.
* gcc.dg/dfp/composite-type.c: Likewise.
libffi/
* testsuite/libffi.call/err_bad_abi.c: Remove unused args variable.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158084 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/fortran/ChangeLog
gcc/java/ChangeLog
gcc/testsuite/ChangeLog
libffi/ChangeLog
libjava/ChangeLog

index 69882e4..ff2857a 100644 (file)
@@ -1,3 +1,18 @@
+2010-04-07  Jakub Jelinek  <jakub@redhat.com>
+
+       * tree-ssa-pre.c (my_rev_post_order_compute): Remove set but not
+       used count variable.
+       * genemit.c (gen_expand, gen_split): Avoid set but not used warnings
+       when operandN variables aren't used in the body of the expander
+       or splitter.
+       * tree-outof-ssa.c (FOR_EACH_ELIM_GRAPH_SUCC,
+       FOR_EACH_ELIM_GRAPH_PRED): Avoid set but not used warnings.
+       * tree-ssa-operands.h (FOR_EACH_SSA_TREE_OPERAND): Likewise.
+       * tree-flow.h (FOR_EACH_IMM_USE_FAST, FOR_EACH_IMM_USE_STMT,
+       FOR_EACH_IMM_USE_ON_STMT): Likewise.
+       * tree.h (FOR_EACH_CONSTRUCTOR_ELT): Likewise.
+       * tree.c (PROCESS_ARG): Likewise.
+
 2010-04-07  Simon Baldwin  <simonb@google.com>
 
        * diagnostic.h (diagnostic_override_option_index): New macro to
index 1f46730..795eeb5 100644 (file)
@@ -1,3 +1,8 @@
+2010-04-07  Jakub Jelinek  <jakub@redhat.com>
+
+       * parse.c (parse_derived, parse_enum): Avoid set but not used
+       warning.
+
 2010-04-07  Janne Blomqvist  <jb@gcc.gnu.org>
 
        PR fortran/40539
index c26e950..f1a6080 100644 (file)
@@ -1,60 +1,3 @@
-2010-05-18  Nathan Froyd  <froydnj@codesourcery.com>
-
-       * expr.c (pop_arguments): Fix use of undeclared variable.
-
-2010-05-18  Nathan Froyd  <froydnj@codesourcery.com>
-
-       * expr.c (expand_java_multianewarray): Use build_call_vec instead of
-       build_call_list.
-       (pop_arguments): Return a VEC instead of a tree.  Take a method type
-       rather than a list of argument types.
-       (rewrite_rule): Change signature. of rewrite_arglist member.
-       (rewrite_arglist_getcaller): Update signature.
-       (rewrite_arglist_getclass): Likewise.
-       (maybe_rewrite_invocation): Update for rewrite_arglist change.
-       (build_known_method_ref): Take a VEC instead of a tree.
-       (invoke_build_dtable): Likewise.
-       (expand_invoke): Update calls to pop_arguments.  Use build_call_vec
-       instead of build_call_list.
-       (build_jni_stub): Use build_call_vec instead of build_call_list.
-       * java-tree.h (maybe_rewrite_invocation): Update declaration.
-       (build_known_method_ref): Likewise.
-       (invoke_build_dtable): Likewise.
-
-2010-05-14  Nathan Froyd  <froydnj@codesourcery.com>
-
-       PR 44103
-       * java-tree.h (START_RECORD_CONSTRUCTOR): Change first argument to a
-       vector.  Move call to build_constructor...
-       (FINISH_RECORD_CONSTRUCTOR): ...here.  Add necessary arguments.  Clear
-       TREE_CONSTANT on the constructor.
-       (PUSH_SUPER_VALUE): Change first argument to a vector.
-       (PUSH_FIELD_VALUE): Likewise.
-       * resource.c (compile_resource_data): Update calls to above macros.
-       * constants.c (build_constants_constructor): Likewise.
-       * class.c (build_utf8_ref): Likewise.
-       (make_field_value): Likewise.
-       (make_method_value): Likewise.
-       (add_table_and_syms): New function.
-       (make_class_data): Call it.  Update calls to above macros.
-       (build_symbol_table_entry): New function.
-       (build_symbol_entry): Call it.  Update calls to above macros.
-       (emit_symbol_table): Likewise.
-       (make_catch_class_record): Update calls to above macros.
-       (build_assertion_table_entry): New function.
-       (add_assertion_table_entry): Call it.
-       (emit_assertion_table): Likewise.
-
-2010-05-06  Manuel López-Ibáñez  <manu@gcc.gnu.org>
-
-       PR 40989
-       * lang.c (java_handle_option): Add argument kind.
-
-2010-04-18  Eric Botcazou  <ebotcazou@adacore.com>
-
-       * decl.c (java_init_decl_processing): Remove argument in call to
-       initialize_sizetypes
-
 2010-04-07  Jakub Jelinek  <jakub@redhat.com>
 
        * exception.cc (_Jv_Throw): Avoid set but not used warning.
index cd52974..18cacee 100644 (file)
@@ -1,3 +1,10 @@
+2010-04-07  Jakub Jelinek  <jakub@redhat.com>
+
+       * gcc.dg/builtin-choose-expr.c: Avoid set but not used warnings.
+       * gcc.dg/trunc-1.c: Likewise.
+       * gcc.dg/vla-9.c: Likewise.
+       * gcc.dg/dfp/composite-type.c: Likewise.
+
 2010-04-07  Iain Sandoe <iains@gcc.gnu.org>
 
        PR objc/35996
index 2d4ad86..6abe696 100644 (file)
@@ -1,3 +1,8 @@
+2010-04-07  Jakub Jelinek  <jakub@redhat.com>
+
+       * regex.c (byte_re_match_2_internal): Avoid set but not used
+       warning.
+
 2010-04-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
        * Makefile.in: Regenerate.
index 0a46cf5..dd502d1 100644 (file)
@@ -1,3 +1,9 @@
+2010-04-07  Jakub Jelinek  <jakub@redhat.com>
+
+       * exception.cc (_Jv_Throw): Avoid set but not used warning.
+       * include/java-assert.h (JvAssertMessage, JvAssert): Use argument in
+       sizeof to avoid set but not used warnings.
+
 2010-04-07  Jason Merrill  <jason@redhat.com>
 
        * gnu/gcj/runtime/natSharedLibLoader.cc (findCore): Move