2007-01-03 Paul Brook <paul@codesourcery.com>
[official-gcc.git] / gcc / ChangeLog
blobae2fc67ec622e36b9611145c2e8a45e307c4ee75
1 2007-01-03  Paul Brook  <paul@codesourcery.com>
3         Merge from sourcerygxx-4_1.
4         * config/arm/thumb2.md: New file.
5         * config/arm/elf.h (JUMP_TABLES_IN_TEXT_SECTION): Return True for
6         Thumb-2.
7         * config/arm/coff.h (JUMP_TABLES_IN_TEXT_SECTION): Ditto.
8         * config/arm/aout.h (ASM_OUTPUT_ADDR_VEC_ELT): Add !Thumb-2 assertion.
9         (ASM_OUTPUT_ADDR_DIFF_ELT): Output Thumb-2 jump tables.
10         * config/arm/aof.h (ASM_OUTPUT_ADDR_DIFF_ELT): Output Thumb-2 jump
11         tables.
12         (ASM_OUTPUT_ADDR_VEC_ELT): Add !Thumb-2 assertion.
13         * config/arm/ieee754-df.S: Use macros for Thumb-2/Unified asm
14         comptibility.
15         * config/arm/ieee754-sf.S: Ditto.
16         * config/arm/arm.c (thumb_base_register_rtx_p): Rename...
17         (thumb1_base_register_rtx_p): ... to this.
18         (thumb_index_register_rtx_p): Rename...
19         (thumb1_index_register_rtx_p): ... to this.
20         (thumb_output_function_prologue): Rename...
21         (thumb1_output_function_prologue): ... to this.
22         (thumb_legitimate_address_p): Rename...
23         (thumb1_legitimate_address_p): ... to this.
24         (thumb_rtx_costs): Rename...
25         (thumb1_rtx_costs): ... to this.
26         (thumb_compute_save_reg_mask): Rename...
27         (thumb1_compute_save_reg_mask): ... to this.
28         (thumb_final_prescan_insn): Rename...
29         (thumb1_final_prescan_insn): ... to this.
30         (thumb_expand_epilogue): Rename...
31         (thumb1_expand_epilogue): ... to this.
32         (arm_unwind_emit_stm): Rename...
33         (arm_unwind_emit_sequence): ... to this.
34         (thumb2_legitimate_index_p, thumb2_legitimate_address_p,
35         thumb1_compute_save_reg_mask, arm_dwarf_handle_frame_unspec,
36         thumb2_index_mul_operand, output_move_vfp, arm_shift_nmem,
37         arm_save_coproc_regs, thumb_set_frame_pointer, arm_print_condition,
38         thumb2_final_prescan_insn, thumb2_asm_output_opcode, arm_output_shift,
39         thumb2_output_casesi): New functions.
40         (TARGET_DWARF_HANDLE_FRAME_UNSPEC): Define.
41         (FL_THUMB2, FL_NOTM, FL_DIV, FL_FOR_ARCH6T2, FL_FOR_ARCH7,
42         FL_FOR_ARCH7A, FL_FOR_ARCH7R, FL_FOR_ARCH7M, ARM_LSL_NAME,
43         THUMB2_WORK_REGS): Define.
44         (arm_arch_notm, arm_arch_thumb2, arm_arch_hwdiv, arm_condexec_count,
45         arm_condexec_mask, arm_condexec_masklen)): New variables.
46         (all_architectures): Add armv6t2, armv7, armv7a, armv7r and armv7m.
47         (arm_override_options): Check new CPU capabilities.
48         Set new architecture flag variables.
49         (arm_isr_value): Handle v7m interrupt functions.
50         (user_return_insn): Return 0 for v7m interrupt functions.  Handle
51         Thumb-2.
52         (const_ok_for_arm): Handle Thumb-2 constants.
53         (arm_gen_constant): Ditto.  Use movw when available.
54         (arm_function_ok_for_sibcall): Return false for v7m interrupt
55         functions.
56         (legitimize_pic_address, arm_call_tls_get_addr): Handle Thumb-2.
57         (thumb_find_work_register, arm_load_pic_register,
58         legitimize_tls_address, arm_address_cost, load_multiple_sequence,
59         emit_ldm_seq, emit_stm_seq, arm_select_cc_mode, get_jump_table_size,
60         print_multi_reg, output_mov_long_double_fpa_from_arm,
61         output_mov_long_double_arm_from_fpa, output_mov_double_fpa_from_arm,
62         output_mov_double_fpa_from_arm, output_move_double,
63         arm_compute_save_reg_mask, arm_compute_save_reg0_reg12_mask,
64         output_return_instruction, arm_output_function_prologue,
65         arm_output_epilogue, arm_get_frame_offsets, arm_regno_class,
66         arm_output_mi_thunk, thumb_set_return_address): Ditto.
67         (arm_expand_prologue): Handle Thumb-2.  Use arm_save_coproc_regs.
68         (arm_coproc_mem_operand): Allow POST_INC/PRE_DEC.
69         (arithmetic_instr, shift_op): Use arm_shift_nmem.
70         (arm_print_operand): Use arm_print_condition.  Handle '(', ')', '.',
71         '!' and 'L'.
72         (arm_final_prescan_insn): Use extract_constrain_insn_cached.
73         (thumb_expand_prologue): Use thumb_set_frame_pointer.
74         (arm_file_start): Output directive for unified syntax.
75         (arm_unwind_emit_set): Handle stack alignment instruction.
76         * config/arm/lib1funcs.asm: Remove default for __ARM_ARCH__.
77         Add v6t2, v7, v7a, v7r and v7m.
78         (RETLDM): Add Thumb-2 code.
79         (do_it, shift1, do_push, do_pop, COND, THUMB_SYNTAX): New macros.
80         * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Define __thumb2__.
81         (TARGET_THUMB1, TARGET_32BIT, TARGET_THUMB2, TARGET_DSP_MULTIPLY,
82         TARGET_INT_SIMD, TARGET_UNIFIED_ASM, ARM_FT_STACKALIGN, IS_STACKALIGN,
83         THUMB2_TRAMPOLINE_TEMPLATE, TRAMPOLINE_ADJUST_ADDRESS,
84         ASM_OUTPUT_OPCODE, THUMB2_GO_IF_LEGITIMATE_ADDRESS,
85         THUMB2_LEGITIMIZE_ADDRESS, CASE_VECTOR_PC_RELATIVE,
86         CASE_VECTOR_SHORTEN_MODE, ADDR_VEC_ALIGN, ASM_OUTPUT_CASE_END,
87         ADJUST_INSN_LENGTH): Define.
88         (TARGET_REALLY_IWMMXT, TARGET_IWMMXT_ABI, CONDITIONAL_REGISTER_USAGE,
89         STATIC_CHAIN_REGNUM, HARD_REGNO_NREGS, INDEX_REG_CLASS,
90         BASE_REG_CLASS, MODE_BASE_REG_CLASS, SMALL_REGISTER_CLASSES,
91         PREFERRED_RELOAD_CLASS, SECONDARY_OUTPUT_RELOAD_CLASS,
92         SECONDARY_INPUT_RELOAD_CLASS, LIBCALL_VALUE, FUNCTION_VALUE_REGNO_P,
93         TRAMPOLINE_SIZE, INITIALIZE_TRAMPOLINE, HAVE_PRE_INCREMENT,
94         HAVE_POST_DECREMENT, HAVE_PRE_DECREMENT, HAVE_PRE_MODIFY_DISP,
95         HAVE_POST_MODIFY_DISP, HAVE_PRE_MODIFY_REG, HAVE_POST_MODIFY_REG,
96         REGNO_MODE_OK_FOR_BASE_P, LEGITIMATE_CONSTANT_P,
97         REG_MODE_OK_FOR_BASE_P, REG_OK_FOR_INDEX_P, GO_IF_LEGITIMATE_ADDRESS,
98         LEGITIMIZE_ADDRESS, THUMB2_LEGITIMIZE_ADDRESS,
99         GO_IF_MODE_DEPENDENT_ADDRESS, MEMORY_MOVE_COST, BRANCH_COST,
100         ASM_APP_OFF, ASM_OUTPUT_CASE_LABEL, ARM_DECLARE_FUNCTION_NAME,
101         FINAL_PRESCAN_INSN, PRINT_OPERAND_PUNCT_VALID_P,
102         PRINT_OPERAND_ADDRESS): Adjust for Thumb-2.
103         (arm_arch_notm, arm_arch_thumb2, arm_arch_hwdiv): New declarations.
104         * config/arm/arm-cores.def: Add arm1156t2-s, cortex-a8, cortex-r4 and
105         cortex-m3.
106         * config/arm/arm-tune.md: Regenerate.
107         * config/arm/arm-protos.h: Update prototypes.
108         * config/arm/vfp.md: Enable patterns for Thumb-2.
109         (arm_movsi_vfp): Add movw alternative.  Use output_move_vfp.
110         (arm_movdi_vfp, movsf_vfp, movdf_vfp): Use output_move_vfp.
111         (thumb2_movsi_vfp, thumb2_movdi_vfp, thumb2_movsf_vfp,
112         thumb2_movdf_vfp, thumb2_movsfcc_vfp, thumb2_movdfcc_vfp): New.
113         * config/arm/libunwind.S: Add Thumb-2 code.
114         * config/arm/constraints.md: Update include Thumb-2.
115         * config/arm/ieee754-sf.S: Add Thumb-2/Unified asm support.
116         * config/arm/ieee754-df.S: Ditto.
117         * config/arm/bpabi.S: Ditto.
118         * config/arm/t-arm (MD_INCLUDES): Add thumb2.md.
119         * config/arm/predicates.md (low_register_operand,
120         low_reg_or_int_operand, thumb_16bit_operator): New.
121         (thumb_cmp_operand, thumb_cmpneg_operand): Rename...
122         (thumb1_cmp_operand, thumb1_cmpneg_operand): ... to this.
123         * config/arm/t-arm-elf: Add armv7 multilib.
124         * config/arm/arm.md: Update patterns for Thumb-2 and Unified asm.
125         Include thumb2.md.
126         (UNSPEC_STACK_ALIGN, ce_count): New.
127         (arm_incscc, arm_decscc, arm_umaxsi3, arm_uminsi3,
128         arm_zero_extendsidi2, arm_zero_extendqidi2): New
129         insns/expanders.
130         * config/arm/fpa.md: Update patterns for Thumb-2 and Unified asm.
131         (thumb2_movsf_fpa, thumb2_movdf_fpa, thumb2_movxf_fpa,
132         thumb2_movsfcc_fpa, thumb2_movdfcc_fpa): New insns.
133         * config/arm/cirrus.md: Update patterns for Thumb-2 and Unified asm.
134         (cirrus_thumb2_movdi, cirrus_thumb2_movsi_insn,
135         thumb2_cirrus_movsf_hard_insn, thumb2_cirrus_movdf_hard_insn): New
136         insns.
137         * doc/extend.texi: Document ARMv7-M interrupt functions.
138         * doc/invoke.texi: Document Thumb-2 new cores+architectures.
140 2007-01-03  Jakub Jelinek  <jakub@redhat.com>
142         * unwind-dw2.c (SIGNAL_FRAME_BIT, EXTENDED_CONTEXT_BIT): Define.
143         (struct _Unwind_Context): Rename args_size to flags, remove
144         signal_frame field, add a new args_size field and version field.
145         (_Unwind_IsSignalFrame, _Unwind_SetSignalFrame,
146         _Unwind_IsExtendedContext): New inline functions.
147         (_Unwind_GetGR, _Unwind_SetGR, _Unwind_GetGRPtr, _Unwind_SetGRPtr):
148         Assume by_value array is only present if _Unwind_IsExtendedContext.
149         (_Unwind_GetIPInfo, execute_cfa_program, uw_frame_state_for): Use
150         _Unwind_IsSignalFrame.
151         (__frame_state_for): Initialize context.flags to EXTENDED_CONTEXT_BIT.
152         (uw_update_context_1): Use _Unwind_SetSignalFrame.
153         (uw_init_context_1): Initialize context->flags to
154         EXTENDED_CONTEXT_BIT.
155         * config/rs6000/linux-unwind.h (frob_update_context): Use
156         _Unwind_SetSignalFrame.
158 2007-01-03  Andrew Pinski  <andrew_pinski@playstation.sony.com>
160         PR middle-end/30353
161         * gimplify.c (gimplify_modify_expr_complex_part): Move below
162         tree_to_gimple_tuple.  Call tree_to_gimple_tuple when we need
163         the value.
165 2007-01-03  Kazu Hirata  <kazu@codesourcery.com>
167         * config/i386/i386.h (NON_STACK_REG_P, REGNO_OK_FOR_SIREG_P,
168         REGNO_OK_FOR_DIREG_P, REWRITE_ADDRESS, ASM_OPERAND_LETTER,
169         RET, AT_SP): Remove.
170         * config/i386/i386.md (*sse_prologue_save_insn): Use return
171         instead of RET.
173         * alias.c (init_alias_analysis): Use VEC_safe_grow_cleared.
174         * cfgbuild.c (find_basic_blocks): Likewise.
175         * cfgrtl.c (rtl_create_basic_block): Likewise.
176         * function.c (temp_slots_at_level): Likewise.
177         * reg-stack.c (stack_regs_mentioned): Likewise.
178         * regclass.c (allocate_reg_info): Likewise.
179         * tree-cfg.c (init_empty_tree_cfg, build_tree_cfg, create_bb,
180         set_bb_for_stmt, move_block_to_fn): Likewise.
181         * tree-complex.c (tree_lower_complex): Likewise.
182         * vec.h (VEC_safe_grow_cleared): New.
184         * cgraphunit.c, tree-ssa-alias.c: Fix comment typos.
186 2007-01-03  Zdenek Dvorak <dvorakz@suse.cz>
188         * loop-unswitch.c (unswitch_loop): Pass probabilities to loopify.
189         * tree-ssa-loop-unswitch.c (tree_unswitch_loop): Pass probabilities
190         to loop_version.
191         * cfgloopmanip.c (scale_loop_frequencies): Export.
192         (loopify): Scale the frequencies by prescribed coefficients.
193         (set_zero_probability): New function.
194         (duplicate_loop_to_header_edge): Improve updating of frequencies.
195         (lv_adjust_loop_entry_edge, loop_version): Set probabilities
196         and frequencies according to arguments.
197         * tree-ssa-loop-manip.c (tree_unroll_loop): Set probabilities
198         correctly.
199         * cfg.c (scale_bbs_frequencies_int): Allow scaling the frequencies up.
200         * modulo-sched.c (sms_schedule): Set probabilities for entering
201         versioned loop correctly.
202         * tree-vect-transform.c (vect_transform_loop): Ditto.
203         * cfgloop.h (loopify, loop_version): Declaration changed.
204         (scale_loop_frequencies): Declared.
206 2007-01-02  Jan Hubicka  <jh@suse.cz>
208         * cgraph.c: Include tree-flow.h
209         (cgraph_add_new-function): Handle IPA_SSA mode; execute
210         early_local_passes.
211         * cgraph.h (enum cgraph_state): Add CGRAPH_STATE_IPA_SSA.
212         * tree-pass.h (pass_all_early_optimizations): Declare.
213         * cgraphunit.c (cgraph_process_new_functions): Add IPA_SSA; execute
214         early_local_passes.
215         (cgraph_analyze_function): Do early_local_passes.
216         * tree-mudflap.c (mf_decl_cache_locals, mf_build_check_statement_for):
217         Do not add referenced vars.
218         * tree-optimize.c (gate_all_optimizations): Do not execute when not in
219         SSA form.
220         (gate_all_early_local_passes): New gate.
221         (pass_early_local_passes): Use new gate.
222         (execute_early_local_optimizations): New functions.
223         (gate_all_early_optimizations): New gate.
224         (pass_all_early_optimizations): New pass.
225         (execute_free_datastructures): Free SSA only when initialized.
226         (gate_init_datastructures): Init only when optimizing.
227         (tree_lowering_passes): Do early local passes when called late.
228         * tree-profile.c (do_tree_profiling): Don't profile functions added
229         late.
230         (do_early_tree_profiling, pass_early_tree_profile): Kill.
231         * tree-cfg.c (update_modified_stmts): Do not update when operands are
232         not active.
233         * passes.c (init_optimizations_passes): Reorder so we go into SSA
234         during early_local_passes.
235         * Makefile.in (cgraph.o): Add dependency on tree-flow.h.
238 2007-01-02  Carlos O'Donell  <carlos@codesourcery.com>
240         * Makefile.in: Update copyright year.
242 2007-01-02  Carlos O'Donell  <carlos@codesourcery.com>
244         * Makefile.in: Export GCC_EXEC_PREFIX before calling $(RUNTEST)
245         in $(lang_checks) and check-consistency targets.
247 2007-01-02  Jan Hubicka  <jh@suse.cz>
249         * tree-mudflap.c (mf_decl_cache_locals, mf_build_check_statement_for):
250         Do not add referenced vars.
251         * tree-cfg.c (update_modified_stmts): Do not update when SSA operands
252         are not active.
253         * passes.c (init_optimization_passes): Put mudflap_2 after
254         free_datastructures.
256 2007-01-02  Jan Hubicka  <jh@suse.cz>
258         * tree-optimize (execute_fixup_cfg): Set after_inlining flag.
259         Set NOTHROW flag on call statements proved to be nothrow.
260         Update statement of local calls so new pure/const functions are
261         updated. Update_ssa when in ssa form. Mark PHI nodes of nonlocal
262         goto receivers.
263         (tree_rest_of_compilation): Register hooks and initialize bitmap
264         early. Do not set after_inlining flag.
266 2007-01-02  Steve Ellcey  <sje@cup.hp.com>
268         * sbitmap.c (HOST_BITS_PER_LONG_LONG):  Change to
269         HOST_BITS_PER_LONGLONG 
271 2007-01-02  Manuel Lopez-Ibanez <manu@gcc.gnu.org>
273         PR c/19977
274         * c-typeck.c (store_init_value): Don't emit pedantic overflow
275         warning for non-static initializers.
276         
277 2007-01-02  Steven Bosscher  <steven@gcc.gnu.org>
279         * config/alpha/alpha.md, arm/arm.c, darwin.c, frv/frv.md,
280         m32r/m32r.c, m32r/m32r.c, mn10300/mn10300.md, pa/pa.c,
281         rs6000/rs6000.c, s390/s390.md, sh/sh.md, sparc/sparc.c:
282         Always use set_unique_reg_note to add REG_EQUAL notes.
284 2007-01-02  Kazu Hirata  <kazu@codesourcery.com>
286         Revert:
287         2007-01-02  Kazu Hirata  <kazu@codesourcery.com>
289         * alias.c (init_alias_analysis): Use VEC_safe_grow_cleared.
290         * cfgbuild.c (find_basic_blocks): Likewise.
291         * cfgrtl.c (rtl_create_basic_block): Likewise.
292         * function.c (temp_slots_at_level): Likewise.
293         * reg-stack.c (stack_regs_mentioned): Likewise.
294         * regclass.c (allocate_reg_info): Likewise.
295         * tree-cfg.c (init_empty_tree_cfg, build_tree_cfg, create_bb,
296         set_bb_for_stmt, move_block_to_fn): Likewise.
297         * tree-complex.c (tree_lower_complex): Likewise.
298         * vec.h (VEC_safe_grow_cleared): New.
300 2007-01-02  Ian Lance Taylor  <iant@google.com>
302         * c-common.c (c_common_truthvalue_conversion): When warning about
303         using an assignment as a truth value, set TREE_NO_WARNING.
305 2007-01-02  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
307         PR middle-end/7651
308         * c.opt (Wold-style-declaration): New.
309         * doc/invoke.texi (C-only Warning Options): New.
310         (Wold-style-declaration): Document it.
311         (Wextra): Enabled by -Wextra.
312         * c-opts.c (c_common_post_options): Enabled by -Wextra.
313         * c-decl.c (declspecs_add_scspec): Replace -Wextra with
314         -Wold-style-declaration.
315         
316 2007-01-02  Kazu Hirata  <kazu@codesourcery.com>
318         * alias.c (init_alias_analysis): Use VEC_safe_grow_cleared.
319         * cfgbuild.c (find_basic_blocks): Likewise.
320         * cfgrtl.c (rtl_create_basic_block): Likewise.
321         * function.c (temp_slots_at_level): Likewise.
322         * reg-stack.c (stack_regs_mentioned): Likewise.
323         * regclass.c (allocate_reg_info): Likewise.
324         * tree-cfg.c (init_empty_tree_cfg, build_tree_cfg, create_bb,
325         set_bb_for_stmt, move_block_to_fn): Likewise.
326         * tree-complex.c (tree_lower_complex): Likewise.
327         * vec.h (VEC_safe_grow_cleared): New.
329 2007-01-02  Douglas Gregor  <doug.gregor@gmail.com>
331         * c-common.c(c_common_nodes_and_builtins): Since variants of
332         void_type_node get built before it is given a name, we need to
333         give those variants the name, too. 
334         (complete_array_type): We need to work with the canonical main
335         type of the array, from which we will build the qualified version.
336         * params.def (PARAM_VERIFY_CANONICAL_TYPES): New.
337         * print-tree.c (print_node): Display canonical type information
338         for each type.
339         * stor-layout.c (layout_type): When we don't know the
340         alignment of a type for which we're building an array, we end up
341         guessing wrong, so make the type require structural equality.
342         * tree.c (make_node_stat): When we build a new type, it is its
343         own canonical type.
344         (build_type_attribute_qual_variant): When building an attribute
345         variant, its canonical type is the non-attribute variant. However,
346         if the attributes are target-dependent and they differ, we need to
347         use structural equality checks for this type.
348         (build_qualified_type): A qualified type is not equivalent to its
349         unqualified variant; set the canonical type appropriately.
350         (build_distinct_type_copy): When building a distinct type from
351         another type, the new type is its own canonical type.
352         (build_variant_type_copy): When building a new type variant, we
353         assume that it is equivalent to the original type.
354         (build_pointer_type_for_mode): When building a pointer type, also
355         build a canonical type pointer.
356         (build_reference_type_for_mode): When building a reference type,
357         also build a canonical type reference.
358         (build_index_type): When we can't hash an index type (e.g.,
359         because its maximum value is negative), the index type requires
360         structural equality tests.
361         (build_array_type): Build the canonical form of an array type.
362         (build_function_type): Function types require structural equality,
363         because they contain default arguments, attributes, etc. 
364         (build_method_type_directly): Ditto for method types.
365         (build_offset_type): Build the canonical offset type.
366         (build_complex_type): Build the canonical vector type.
367         (make_vector_type): Build the canonical vector type.
368         * tree.h (TYPE_CANONICAL): New.
369         (TYPE_STRUCTURAL_EQUALITY_P): New.
370         (SET_TYPE_STRUCTURAL_EQUALITY): New.
371         (struct tree_type): Added "canonical" field.
372         * params.h (VERIFY_CANONICAL_TYPES): New.
373         * doc/c-tree.texi (TYPE_CANONICAL): Document.
374         (TYPE_STRUCTURAL_EQUALITY_P): Document.
375         (SET_TYPE_STRUCTURAL_EQUALITY): Document.
376         * doc/invoke.texi (verify-canonical-types): Document --param
377         parameter for verifying canonical types.
379 2007-01-02  Joseph Myers  <joseph@codesourcery.com>
381         * config.gcc (powerpc-*-eabispe*, powerpc-*-eabisimaltivec*,
382         powerpc-*-eabisim*, powerpc-*-eabialtivec*, powerpc-*-eabi*,
383         powerpc-*-rtems*, powerpc-wrs-vxworks, powerpc-wrs-vxworksae,
384         powerpcle-*-eabisim*, powerpcle-*-eabi*): Add rs6000/e500.h to
385         tm_file.
386         * config/rs6000/e500.h: New.
387         * config/rs6000/eabi.h (TARGET_SPE_ABI, TARGET_SPE, TARGET_E500,
388         TARGET_ISEL, TARGET_FPRS, TARGET_E500_SINGLE, TARGET_E500_DOUBLE):
389         Remove.
390         * config/rs6000/linuxspe.h (TARGET_SPE_ABI, TARGET_SPE,
391         TARGET_E500, TARGET_ISEL, TARGET_FPRS, TARGET_E500_SINGLE,
392         TARGET_E500_DOUBLE): Remove.
393         * config/rs6000/vxworks.h (TARGET_SPE_ABI, TARGET_SPE,
394         TARGET_E500, TARGET_ISEL, TARGET_FPRS): Remove.
395         * config/rs6000/rs6000.h (CHECK_E500_OPTIONS): Define.
396         * config/rs6000/rs6000.c (rs6000_override_options): Use
397         CHECK_E500_OPTIONS.
399 2007-01-02  Joseph Myers  <joseph@codesourcery.com>
401         * config/rs6000/rs6000.c (print_operand): Check (TARGET_SPE ||
402         TARGET_E500_DOUBLE), not TARGET_E500, for %y.
403         (rs6000_generate_compare, rs6000_emit_sCOND, output_cbranch,
404         rs6000_emit_cmove): Don't check TARGET_E500.
405         * config/rs6000/rs6000.md (bunordered, bordered, sunordered,
406         sordered): Don't check TARGET_E500.
408 2007-01-01  Eric Christopher  <echristo@apple.com>
410         * config/mips/mips.c (mips_regno_mode_ok_for_base_p): Use
411         HARD_REGISTER_NUM_P.
413 2007-01-01  Roger Sayle  <roger@eyesopen.com>
415         * fold-const.c (fold_binary) <EQ_EXPR>: Fold "(X^C1) eq/ne C2" into
416         "X eq/ne (C1^C2)".  Fold "(X^Z) eq/ne (Y^Z)" as "X eq/ne Y" when Z
417         has no side-effects.  Fold "(X^C1) eq/ne (Y^C2)" as "(X^(C1^C2))
418         eq/ne Y".
420 2007-01-01  Mike Stump  <mrs@apple.com>
422         * configure.ac: Remove support for building with Apple's gcc-3.1.
424 2007-01-02  Joseph Myers  <joseph@codesourcery.com>
426         PR middle-end/30311
427         * caller-save.c (add_stored_regs): Only handle SUBREGs if inner
428         REG is a hard register.  Do not modify REG before calling
429         subreg_nregs.
430         * rtlanal.c (subreg_get_info): Don't assert size of XMODE is a
431         multiple of the size of YMODE for certain lowpart cases.
433 2007-01-01  Andrew Pinski  <pinskia@gmail.com>
435         PR middle-end/30253
436         * gimplify (voidify_wrapper_expr): Update for
437         GIMPLE_MODIFY_STMT.
439 2007-01-01  Andreas Schwab  <schwab@suse.de>
441         PR target/29166
442         * config/ia64/ia64.c (ia64_compute_frame_size): Account space for
443         save of BR0 in extra_spill_size instead of spill_size.
444         (ia64_expand_prologue): Save BR0 outside of the gr/br/fr spill
445         area.
446         (ia64_expand_epilogue): Restore BR0 from its new location.
448 2007-01-01  Andrew Pinski  <pinskia@gmail.com>
450         * gimplify.c (gimplify_init_constructor <case VECTOR_TYPE>):
451         Use a temporary variable if the left hand side is not a gimple
452         register.
454 2007-01-01  Andrew Pinski  <pinskia@gmail.com>
456         * gimplify.c (gimplify_return_expr): Make the temporary variable
457         for the return expression, a gimple register variable.
459 2007-01-01  Jan Hubicka  <jh@suse.cz>
461         * emit-rtl.c (emit_copy_of_insn_after): Do not call copy_insn_1 for
462         INSN_LIST.
464 2007-01-01  Mike Stump  <mrs@apple.com>
466         * configure.ac (HAVE_GAS_LITERAL16): Add autoconf check for
467         .literal16.
468         * config/darwin.c (machopic_select_rtx_section): Use
469         HAVE_GAS_LITERAL16.
470         (darwin_mergeable_constant_section): Likewise.
471         * configure: Regenerate.
472         * config.in: Regenerate.
474 2007-01-01  Jan Hubicka  <jh@suse.cz>
475             Andrew Pinski  <pinskia@gmail.com>
477         * cgraphunit.c (cgraph_optimize): Call cgraph_add_new_functions
478         before starting IPA passes.