OSDN Git Service

2008-02-25 Janne Blomqvist <jb@gcc.gnu.org>
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index a7253f9..0b37dde 100644 (file)
@@ -1,3 +1,248 @@
+2008-02-25  Janne Blomqvist  <jb@gcc.gnu.org>
+
+       PR c/35162
+       * doc/invoke.texi (-fcx-limited-range): Correct to be in line with
+       actual behaviour and C99.
+       
+2008-02-26  Ben Elliston  <bje@au.ibm.com>
+
+       * config/rs6000/rs6000.h (ASM_CPU_POWER5_SPEC): Define.
+       (ASM_CPU_POWER6_SPEC): Likewise.
+       (ASM_CPU_SPEC): Pass %(asm_cpu_power5) for -mcpu=power5.
+       Likewise, pass %(asm_cpu_power6) for -mcpu=power6.
+       (EXTRA_SPECS): Add asm_cpu_power5, asm_cpu_power6 spec strings.
+
+2008-02-25  Richard Guenther  <rguenther@suse.de>
+
+       * tree-flow.h (uid_decl_map_hash, uid_decl_map_eq): Move ...
+       * tree.h (uid_decl_map_hash, uid_decl_map_eq): ... here.
+       (lookup_decl_from_uid): Declare.
+       * tree-ssa.c (uid_decl_map_eq, uid_decl_map_hash): Move ...
+       * tree.c (uid_decl_map_eq, uid_decl_map_hash): ... here.
+       (decl_for_uid_map): New global hashtable mapping DECL_UID
+       to the decl tree.
+       (init_ttree): Allocate it.
+       (insert_decl_to_uid_decl_map): New helper function.
+       (make_node_stat): Insert new decls into the map.
+       (copy_node_stat): Likewise.
+       (lookup_decl_from_uid): New function.
+       (print_decl_for_uid_map_statistics): New helper.
+       (dump_tree_statistics): Call it.
+
+       * tree-flow.h (struct gimple_df): Make referenced_vars a bitmap.
+       (referenced_var_iterator): Adjust.
+       (FOR_EACH_REFERENCED_VAR): Adjust.
+       (FOR_EACH_REFERENCED_VAR_IN_BITMAP): New iterator.
+       (num_referenced_vars): Adjust.
+       * tree-flow-inline.h (gimple_referenced_vars): Adjust.
+       (first_referenced_var): Remove.
+       (end_referenced_vars_p): Likewise.
+       (next_referenced_var): Likewise.
+       (referenced_var_iterator_set): New helper function.
+       * tree-dfa.c (referenced_var_lookup): Adjust.
+       (referenced_var_check_and_insert): Likewise.
+       (remove_referenced_var): Likewise.
+       * tree-ssa.c (verify_flow_insensitive_alias_info): Use
+       FOR_EACH_REFERENCED_VAR_IN_BITMAP.
+       (verify_call_clobbering): Likewise.
+       (verify_memory_partitions): Likewise.
+       (init_tree_ssa): Allocate bitmap instead of hashtable for
+       referenced_vars.
+       (delete_tree_ssa): Adjust.
+       * tree-ssa-alias.c (mark_aliases_call_clobbered): Use
+       FOR_EACH_REFERENCED_VAR_IN_BITMAP.
+       (compute_tag_properties): Likewise.
+       (set_initial_properties): Likewise.
+       (find_partition_for): Likewise.
+       (update_reference_counts): Likewise.
+       (dump_may_aliases_for): Likewise.
+       * tree-ssa-operands.c (add_virtual_operand): Likewise.
+       (add_call_clobber_ops): Likewise.
+       (add_call_read_ops): Likewise.
+       (get_asm_expr_operands): Likewise.
+       * tree-into-ssa.c (dump_decl_set): Likewise.
+       (update_ssa): Likewise.
+       * tree-sra.c (scan_function): Likewise.
+       (decide_instantiations): Likewise.
+       (scalarize_parms): Likewise.
+       * tree-ssa-alias-warnings.c (build_reference_table): Likewise.
+       (dsa_named_for): Likewise.
+       * tree-ssa-structalias.c (update_alias_info): Likewise.
+       (merge_smts_into): Likewise.
+
+2008-02-25  Andreas Krebbel  <krebbel1@de.ibm.com>
+
+       PR target/35258
+       * cse.c (cse_insn): Avoid creation of overlapping MEMs.
+       * alias.c (nonoverlapping_memrefs_p): Export for use in other modules.
+       * alias.h (nonoverlapping_memrefs_p): Likewise.
+
+2008-02-25  Jan Beulich  <jbeulich@novell.com>
+
+       * Makefile.in: Also prefix uses of crt0.o and mcrt0.o with
+       $(T).
+       * config/i386/netware-libgcc.exp: Add __bswap?i2,
+       __emultls_get_address, __emultls_register_common,
+       __floatundi?f, and _Unwind_GetIPInfo.
+       * config/i386/netware.c (gen_stdcall_or_fastcall_decoration):
+       Sync with config/i386/winnt.c:gen_stdcall_or_fastcall_suffix().
+       (gen_regparm_prefix): Likewise.
+       (i386_nlm_encode_section_info): Sync with
+       config/i386/winnt.c:i386_pe_encode_section_info().
+       (i386_nlm_maybe_mangle_decl_assembler_name): New.
+       i386_nlm_mangle_decl_assembler_name): New.
+       (netware_override_options): New.
+       * config/i386/netware.h (netware_override_options): Declare.
+       (OVERRIDE_OPTIONS): Re-define to netware_override_options.
+       (i386_nlm_mangle_decl_assembler_name): Declare.
+       (TARGET_MANGLE_DECL_ASSEMBLER_NAME): Define.
+
+2008-02-25  Ben Elliston  <bje@au.ibm.com>
+
+       PR other/32948
+       * c-decl.c (grokdeclarator): Remove unused local variables
+       `typedef_type' and `type_as_written'.
+       * bb-reorder.c
+       (find_rarely_executed_basic_blocks_and_crossing_edges): Remove
+       unused local variable `has_hot_blocks'.
+       (fix_crossing_conditional_branches): Remove unused local variable
+       `prev_bb'.
+       
+2008-02-25  Uros Bizjak  <ubizjak@gmail.com>
+
+       PR middle-end/19984
+       * builtins.def (BUILT_IN_NAN): Define as c99 builtin
+       using DEF_C99_BUILTIN.
+       (BUILT_IN_NANF): Ditto.
+       (BUILT_IN_NANL): Ditto.
+
+2008-02-25  Ayal Zaks  <zaks@il.ibm.com>
+           Revital Eres  <eres@il.ibm.com>
+
+       * modulo-sched.c (calculate_must_precede_follow): Address TODO
+       regarding the order of two dependent insns in the same row.
+
+2008-02-25  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * stor-layout.c (layout_decl): Do not bump the alignment of a
+       bit-field to more than byte alignment if it is packed.
+
+2008-02-24  David Edelsohn  <edelsohn@gnu.org>
+
+       * config/rs6000/rs6000.c (processor_costs): Add cache costs for
+       e300c2 and e300c3.
+
+2008-02-24  Diego Novillo  <dnovillo@google.com>
+
+       http://gcc.gnu.org/ml/gcc-patches/2008-02/msg01094.html
+
+       PR 33738
+       * tree-vrp.c (vrp_evaluate_conditional): With
+       -Wtype-limits, emit a warning when comparing against a
+       constant outside the natural range of OP0's type.
+       * c.opt (Wtype-limits): Move ...
+       * common.opt (Wtype-limits): ... here.
+
+2008-02-24  Edmar Wienskoski  <edmar@freescale.com>
+
+       * config.gcc (powerpc*-*-*): Add new cores e300c2 and e300c3.
+       * config/rs6000/e300c2c3.md: New file.
+       * config/rs6000/rs6000.c (processor_costs): Add new costs for
+       e300c2 and e300c3.
+       (rs6000_override_options): Add e300c2 and e300c3 cases to
+       processor_target_table. Do not allow usage of Altivec or Spe
+       with e300 cores. Initialize rs6000_cost for e300c2 and e300c3.
+       (rs6000_issue_rate): Set issue rate for e300c2 and e300c3.
+       * config/rs6000/rs6000.h (processor_type): Add
+       PROCESSOR_PPCE300C2 and PROCESSOR_PPCE300C3.
+       (ASM_CPU_SPEC): Add e300c2 and e300c3.
+       * config/rs6000/rs6000.md (define_attr "cpu"): Add ppce300c2
+       and ppce300c3. Include e300c2c3.md.
+
+2008-02-23  David Edelsohn  <edelsohn@gnu.org>
+
+       * config/rs6000/rs6000.h (CONSTANT_ALIGNMENT): Use STRICT_ALIGNMENT
+       instead of TARGET_STRICT_ALIGN.
+
+2008-02-23  Joseph Myers  <joseph@codesourcery.com>
+
+       * explow.c (memory_address): Assert that the generated address is
+       valid.
+
+2008-02-23  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
+
+       PR target/25477
+       * config/darwin-protos.h: Add darwin_patch_builtins prototype.
+       * config/darwin-ppc-ldouble-patch.def: New file.
+       * config/rs6000/darwin.h (SUBTARGET_INIT_BUILTINS): New macro.
+       * config/rs6000/rs6000.c (rs6000_init_builtins): Call
+       SUBTARGET_INIT_BUILTINS if defined.
+       * config/darwin.c (darwin_patch_builtin, darwin_patch_builtins):
+       New functions.
+
+2008-02-23  Andrew Pinski  <andrew_pinski@playstation.sony.com>
+
+       PR rtl-opt/33512
+       * simplify-rtx.c (simplify_binary_operation_1): Add simplification
+       of (and X (ior (not X) Y) and (and (ior (not X) Y) X).
+
+2008-02-23  Andrew Pinski  <andrew_pinski@playstation.sony.com>
+
+       PR pch/35027
+       * c-pch.c (c_common_valid_pch): Make the "too short to be a PCH
+       file" warning condtional on -Winvalid-PCH.
+
+2008-02-23  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * expmed.c (extract_bit_field): Always use adjust_address for MEM.
+
+2008-02-23  Uros Bizjak  <ubizjak@gmail.com>
+
+       PR target/22076
+       PR target/34256 
+       * config/i386/mmx.md (*mov<mode>_internal_rex64): Use "!y" to
+       prevent reload from using MMX registers.
+       (*mov<mode>_internal): Ditto.
+       (*movv2sf_internal_rex64): Ditto.
+       (*movv2sf_internal): Ditto.
+
+2008-02-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       PR documentation/31569
+       * doc/install.texi2html: Use makeinfo --no-number-sections.
+
+2008-02-22  Nathan Froyd  <froydnj@codesourcery.com>
+
+       * config/rs6000/rs6000.c (rs6000_legitimize_address): Check to
+       ensure that we can address an entire entity > 8 bytes.  Don't
+       generate reg+reg addressing for such data.
+
+2008-02-22  Nathan Froyd  <froydnj@codesourcery.com>
+
+       * config/rs6000/rs6000.h (CONSTANT_ALIGNMENT): Don't overalign
+       strings when optimizing for size, unless the target cares about
+       alignment.
+
+2008-02-22  Tom Tromey  <tromey@redhat.com>
+
+       * regclass.c (current_pass): Remove declaration.
+
+2008-02-22  Anatoly Sokolov <aesok@post.ru>
+
+       * config/avr/libgcc.S (__RAMPZ__): Define.
+       (__do_copy_data): Add for devices with 128KB code memory.
+
+2008-02-22  Nathan Froyd  <froydnj@codesourcery.com>
+
+       * config/rs6000/linuxspe.h (SUBSUBTARGET_OVERRIDE_OPTIONS):
+       Use spe_abi.
+       * config/rs6000/eabispe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Likewise.
+
+2008-02-22  Hans-Peter Nilsson  <hp@axis.com>
+
+       * config/cris/cris.h (REG_CLASS_FROM_LETTER): Recognize 'b' for
+       GENNONACR_REGS.
+
 2008-02-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
        PR c/19999