* fold-const.c (operand_equal_p): Accept a NULL operand 0 for
[official-gcc.git] / gcc / ChangeLog
blobda0843d3467e3b638eea8712939ebb489492d83a
1 2006-01-03  Steven Bosscher  <stevenb.gcc@gmail.com>
3         * fold-const.c (operand_equal_p): Accept a NULL operand 0 for
4         COMPONENT_REFs.
5         * emit-rtl.c (mem_attrs_htab_eq): Use iterative_hash_expr for
6         hashing trees instead of a pointer hash.
7         (mem_attrs_htab_eq): Do a deep compare instead of a pointer
8         compare for MEM_EXPR.
10         PR rtl-optimization/25130
11         * cse.c (exp_equiv_p): Compare MEM_ATTRS instead of MEM_ALIAS_SET
12         when comparing MEMs for GCSE
14 2006-01-03  Ben Elliston  <bje@au.ibm.com>
16         * targhooks.h (default_decimal_float_supported_p): Declare.
17         * targhooks.c (default_decimal_float_supported_p): Define.
18         * target-def.h (TARGET_DECIMAL_FLOAT_SUPPORTED_P): Redefine to
19         `default_decimal_float_supported_p'.
20         * doc/tm.texi (TARGET_DECIMAL_FLOAT_SUPPORTED_P): Update.
22 2006-01-02  Adam Nemet  <anemet@caviumnetworks.com>
24         * combine.c (apply_distributive_law <SUBREG>): Check
25         TRULY_NOOP_TRUNCATION.
27 2006-01-02  Geoffrey Keating  <geoffk@apple.com>
29         * dwarf2out.c (have_switched_text_section): Delete.
30         (have_multiple_function_sections): New.
31         (have_location_lists): Make 'bool'.
32         (add_AT_loc_list): Use 'true' not '1'.
33         (dwarf2out_switch_text_section): Set have_multiple_function_sections.
34         (output_loc_list): Use have_multiple_function_sections.
35         (output_ranges): Likewise.
36         (dwarf2out_begin_function): Set have_multiple_function_sections if
37         necessary.
38         (dwarf2out_source_line): Don't fake separate_line_info_table_in_use.
39         Check function_section rather than DECL_SECTION_NAME.
40         (dwarf2out_finish): Use have_multiple_function_sections.
41         Don't clear have_location_lists.
43 2006-01-02  Eric Botcazou  <ebotcazou@adacore.com>
44             Jan Hubicka  <jh@suse.cz>
46         * cfglayout.c (fixup_reorder_chain): Remove kludge for the
47         case of conditional jump jumping to the next instruction.
48         * cfgrtl.c (force_nonfallthru_and_redirect): Accept all
49         cases of conditional jump jumping to the next instruction.
51 2006-01-02  Jan Hubicka  <jh@suse.cz>
53         * i386.c (*_cost): Add COSTS_N_INSNS.
54         (ix86_rtx_costs): Do not use COSTS_N_INSNS.
56 2006-01-02  Paolo Bonzini  <bonzini@gnu.org>
58         PR target/25259
59         * Makefile.in (DECNUMINC): Include libdecnumber's build directory.
61 2006-01-02  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
63         * config/arm/arm.c (all_fpus): Fix comment typo.
64         * config/darwin.c: Likewise.
65         * config/frv/frv.h (FRV_STRUCT_VALUE_REGNUM): Likewise.
66         * config/h8300/h8300.md (extendqisi2_h8300hs): Likewise.
67         * config/m68hc11/m68hc11.c (m68hc11_reload_operands): Likewise.
69 2006-01-01  David Edelsohn  <edelsohn@gnu.org>
71         * config/rs6000/rs6000.c (rs6000_expand_compare_and_swapqhi): New.
72         (rs6000_split_compare_and_swapqhi): New.
73         * config/rs6000/sync.md (sync_compare_and_swap{hi,qi}): New.
74         (sync_compare_and_swapqhi_internal): New.
75         * config/rs6000/rs6000-protos.h: Declare.