OSDN Git Service

2007-07-21 Rafael Avila de Espindola <espindola@google.com>
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 6c719b0..92a17cb 100644 (file)
@@ -1,3 +1,137 @@
+2007-07-21  Rafael Avila de Espindola  <espindola@google.com>
+
+       * Makefile.in: Replace toplev.h with TOPLEV_H.
+       * c-decl.c (merge_decls): Don't set DECL_IN_SYSTEM_HEADER.
+       * c-lex.c (fe_file_change): Don't set in_system_header.
+       * c-parser.c (c_token): Remove in_system_header.
+       (c_lex_one_token): Don't set in_system_header.
+       (c_parser_set_source_position_from_token): Don't set in_system_header.
+       * diagnostic.c (diagnostic_report_diagnostic): Use location from
+       diagnostic_info.
+       (warning_at): New.
+       * diagnostic.h (diagnostic_report_warnings_p): Add LOC argument.
+       * flags.h (in_system_header): Remove.
+       * function.c (saved_in_system_header): Remove.
+       (push_cfun): Don't set in_system_header.
+       (pop_cfun): Don't set in_system_header.
+       (push_struct_function): Don't set in_system_header.
+       * input.h (expanded_location): Add sysp.
+       (in_system_header_at): New.
+       (in_system_header): New.
+       * toplev.c (in_system_header): Remove.
+       * toplev.h: Include input.h
+       (warning_at): New.
+       * tree-cfg.c (execute_warn_function_return): Call warning_at.
+       * tree-ssa.c (warn_uninit): Call warning_at.
+       (warn_uninitialized_var): Update calls to warn_uninit.
+       (warn_uninitialized_phi): Update calls to warn_uninit.
+       * tree.c (make_node_stat): Don't set DECL_IN_SYSTEM_HEADER.
+       (expand_location): Initialize xloc.sysp.
+       * tree.h (DECL_IN_SYSTEM_HEADER): Use in_system_header_at.
+       (tree_decl_with_vis): Remove in_system_header_flag.
+
+2008-07-21  Andreas Krebbel  <krebbel1@de.ibm.com>
+
+       PR target/36822
+       * recog.c (asm_operand_ok): Change the order of the extra
+       memory constraint checks.
+
+2008-07-20  Andrew Pinski  <andrew_pinski@playstation.sony.com>
+
+       PR tree-opt/36879
+       * tree-switch-conversion.c (build_one_array): Call
+       varpool_mark_needed_node and varpool_finalize_decl 
+       instead of assemble_variable.
+
+2008-07-19  Jan Hubicka  <jh@suse.cz>
+
+       * cgraph.c (cgraph_add_new_function): Do early local passes.
+       * tree-nrv.c (gate_pass_return_slot): New gate.
+       (pass_nrv): Add the gate.
+       * tree-ssa-coalese.c (hash_ssa_name_by_var, eq_ssa_name_by_var): New
+       functions.
+       (coalesce_ssa_name): Coalesce SSA names.
+       * tree-ssa-live.c (remove_unused_locals): Be more conservative when
+       not optimizing so unused user vars remains visible.
+       * common.opt (flag_tree_ter): Always enable by default.
+       * tree-ssa-ter.c: Include flags.h
+       (is_replaceable_p): Check that locations match; when aliasing is missing
+       be conservative about loads.
+       * tree-optimize.c (gate_init_datastructures): Remove.
+       (pass_init_datastructures): New.
+       * passes.c: Reorder passes so we always go into SSA.
+
+2008-07-19  Jan Hubicka  <jh@suse.cz>
+
+       * doc/extend.texi (flatten attribute): Remove note about unit-at-a-time
+       * doc/invoke.texi (--combine): Likewise.
+       (-finline-functions-called-once): Update levels when enabled.
+       (-funit-at-a-time): Document new behaviour.
+       (-ftoplevel-reorder): Document that it is enabled -O0 and imply
+       -fno-section-anchors when disabled explicitly.
+       (inline params): They are not ignored now.
+       (precompiled headers): Remove unit-at-a-time as being incompatible.
+       * opts.c (decode_options): Handle unit-at-a-time as alias;
+       imply -fno-section-anchors when toplevel reorder is disabled
+       explicitly.
+       * common.opt (ftoplevel-reorder): Set default value to 2.
+       (funit-at-a-time): Set default value to 1.
+       * config/rs6000/rs6000.c (optimization_options): Set section anchors
+       to 2.
+
+2008-07-19  Jan Hubicka  <jh@suse.cz>
+
+       * builtins.c (expand_builtin_int_roundingfn,
+       expand_builtin_int_roundingfn_2): Do not take subtarget argument;
+       it is not useful.
+
+2008-07-19  Richard Guenther  <rguenther@suse.de>
+
+       PR bootstrap/36864
+       * tree-ssa-sccvn.h (get_constant_value_id): Declare.
+       * tree-ssa-sccvn.c (get_constant_value_id): New function.
+       * tree-ssa-pre.c (get_expr_value_id): For newly created
+       constant value-ids make sure to add the expression to its
+       expression-set.
+
+2008-07-19  Jakub Jelinek  <jakub@redhat.com>
+
+       PR middle-end/36877
+       * omp-low.c (expand_omp_atomic_fetch_op): Make sure the
+       return value of the builtin is ignored.
+
+2008-07-19  Olivier Hainque  <hainque@adacore.com>
+
+       * doc/tm.texi (MALLOC_ABI_ALIGNMENT): New macro. Alignment, in
+       bits, a C conformant malloc implementation has to provide.
+       * defaults.h (MALLOC_ABI_ALIGNMENT): Default to BITS_PER_WORD.
+
+2008-07-19  Joseph Myers  <joseph@codesourcery.com>
+
+       PR target/36780
+       PR target/36827
+       * reload.c (find_reloads_subreg_address): Only reload address if
+       reloaded == 0, not for reloaded != 1.
+
+       Revert:
+       2008-07-16  Joseph Myers  <joseph@codesourcery.com>
+       * config/m32c/m32c.c (BIG_FB_ADJ): Move definition earlier.
+       (m32c_legitimate_address_p): Handle "++rii" addresses created by
+       m32c_legitimize_reload_address.
+
+       2008-07-15  Kaz Kojima  <kkojima@gcc.gnu.org>
+       * config/sh/sh.h (GO_IF_LEGITIMATE_ADDRESS): Allow
+       (plus (plus (reg) (const_int)) (const_int)) when reload_in_progress.
+
+2008-07-19  Olivier Hainque  <hainque@adacore.com>
+
+       * dwarf2out.c (add_subscript_info): New explicit COLLAPSE_P
+       argument, saying whether nested array are to be collapsed
+       into a single array type DIE with multiple subscripts.
+       (gen_array_type_die): Factorize comments about the MIPS_DEBUG_INFO
+       issues, centralize the nested array types collapsing control and
+       disable the transformation for Ada.
+       
 2008-07-18  Uros Bizjak  <ubizjak@gmail.com>
 
        PR target/36786