1 2005-01-04 Eric Botcazou <ebotcazou@libertysurf.fr>
3 * config/sparc/sparc.md (save_register_windowdi): Add missing mode.
4 (save_register_windowsi): Likewise.
6 2005-01-04 Richard Henderson <rth@redhat.com>
8 * tree-mudflap.c (mf_varname_tree): Fix thinko setting declname.
10 2005-01-04 Uros Bizjak <uros@kss-loka.si>
13 * cse.c (fold_rtx) [RTX_COMPARE, RTX_COMM_COMPARE]: Don't attempt
14 any simplifications of vector mode comparison operators.
15 * simplify-rtx.c (simplify_relational_operation): Fix variable name.
17 2005-01-04 Paolo Bonzini <bonzini@gnu.org>
18 Devang Patel <dpatel@apple.com>
20 PR tree-optimization/18308
21 * tree-if-conv.c (add_to_dst_predicate_list): Gimplify
22 the operands before creating a new expression.
23 * dojump.c (do_jump): Make drop_through_label available
24 for all cases. Add expansion of COND_EXPR.
26 2005-01-04 Ira Rosen <irar@il.ibm.com>
28 * tree-vectorizer.c (vect_analyze_offset_expr): Test for
29 INTEGER_CST instead of TREE_CONSTANT.
30 (vect_gen_niters_for_prolog_loop): Test for INTEGER_CST
31 instead of TREE_CONSTANT.
32 (vect_analyze_pointer_ref_access): Test for INTEGER_CST
33 instead of TREE_CONSTANT.
35 2005-01-04 Eric Botcazou <ebotcazou@libertysurf.fr>
37 * tree-eh.c (replace_goto_queue): Return early if the queue is empty.
39 2005-01-04 Uros Bizjak <uros@kss-loka.si>
42 * config/i386/i386.md (*fop_df_1_i387): Disable for TARGET_SSE_MATH.
43 (*fop_df_1_i387): Disable for (TARGET_SSE2 && TARGET_SSE_MATH).
45 2005-01-03 Richard Henderson <rth@redhat.com>
47 * fold-const.c (force_fit_type): Cope with types larger than 2 HWI.
48 (fold_convert_const_int_from_int, fold_convert_const_int_from_real,
49 fold_convert_const_real_from_real): Split out from ...
50 (fold_convert_const): ... here.
52 2005-01-03 Richard Henderson <rth@redhat.com>
55 * config/i386/i386.md (movdi_2): Separate SSE1 and SSE2 alternatives.
56 (mov<MMXMODEI>_internal): Likewise.
57 (movdf_nointeger): Prefer Y while not preferring, but allowing, x.
58 Add V2SF case; use it for SSE1; don't use TI.
59 (movdf_integer): Likewise.
60 (mov<SSEMODEI>_internal, movti_internal): Force V4SF for SSE1.
62 2005-01-03 Ira Rosen <irar@il.ibm.com>
64 * tree-vectorizer.c (vect_strip_conversions): New function.
65 (vect_analyze_offset_expr): Call vect_strip_conversions. Add
66 check for binary class.
68 2005-01-03 Daniel Berlin <dberlin@dberlin.org>
72 * dwarf2out.c (block_ultimate_origin): Follow decl origin if origin
74 * gimple-low.c (mark_blocks_with_used_vars): New function.
75 (mark_blocks_with_used_subblocks): Ditto.
76 (mark_used_blocks): Ditto.
77 (pass_mark_used_blocks): New pass.
78 * tree-inline.c: Include debug.h.
79 (expand_call_inline): Call outlining_inline_function here.
80 * tree-optimize.c (init_tree_optimization_passes): Add
81 pass_mark_used_blocks.
82 * tree-pass.h (pass_mark_used_blocks): New.
83 * Makefile.in (tree-inline.o): Add debug.h dependency.
85 2005-01-03 Geoffrey Keating <geoffk@apple.com>
87 * config/darwin.c (darwin_handle_weak_import_attribute): Permit
88 VAR_DECLs to have weak_import attribute.
90 * config/rs6000/darwin-fallback.c: Use 'ucontext_t' rather than
93 2004-01-03 Steven Bosscher <stevenb@suse.de>
95 * passes.c (rest_of_compilation): Don't run regmove if only
96 flag_expensive_optimizations, require flag_regmove instead.
98 2005-01-03 Eric Botcazou <ebotcazou@libertysurf.fr>
100 * config/sparc/litecoff.h (TARGET_OS_CPP_BUILTINS): Do not
102 * config/sparc/sysv4-only.h (TARGET_OS_CPP_BUILTINS): Likewise.
103 * config/sparc/rtemself.h (TARGET_SUB_OS_CPP_BUILTINS): Likewise.
104 * config/sparc/sol2-64.h (TARGET_SUB_OS_CPP_BUILTINS): Delete.
105 * config/sparc/sp64-elf.h (TARGET_SUB_OS_CPP_BUILTINS): Likewise.
107 2005-01-03 Richard Henderson <rth@redhat.com>
109 * config/ia64/ia64.c (TARGET_VECTOR_MODE_SUPPORTED_P): New.
110 (ia64_const_ok_for_letter_p): New.
111 (ia64_const_double_ok_for_letter_p): New.
112 (ia64_extra_constraint): New.
113 (ia64_expand_vecint_compare): New.
114 (ia64_expand_vcondu_v2si): New.
115 (ia64_expand_vecint_cmov): New.
116 (ia64_expand_vecint_minmax): New.
117 (ia64_print_operand): Add 'v'.
118 (ia64_preferred_reload_class): New.
119 (ia64_vector_mode_supported_p): New.
120 * config/ia64/ia64.h (UNITS_PER_SIMD_WORD): New.
121 (PREFERRED_RELOAD_CLASS): Move to function.
122 (CONST_OK_FOR_LETTER_P): Move to function.
123 (CONST_DOUBLE_OK_FOR_LETTER_P): Move to function.
124 (CONSTRAINT_OK_FOR_Q, CONSTRAINT_OK_FOR_R): Remove.
125 (CONSTRAINT_OK_FOR_S, CONSTRAINT_OK_FOR_T): Remove.
126 (EXTRA_CONSTRAINT): Move to function.
127 * config/ia64/ia64.md: Include vect.md.
128 (itanium_class): Add mmalua.
130 * config/ia64/itanium1.md (1_mmalua): New. Add it to bypasses.
132 * config/ia64/itanium2.md (2_mmalua, 2b_mmalua): Similarly.
133 * config/ia64/predicates.md (gr_reg_or_0_operand): Accept any
135 (const_int_2bit_operand): New.
136 (fr_reg_or_0_operand): New.
137 * config/ia64/ia64-modes.def: Add vector modes.
138 * config/ia64/ia64-protos.h: Update.
139 * config/ia64/vect.md: New file.
141 2005-01-03 Richard Henderson <rth@redhat.com>
143 * simplify-rtx.c (simplify_binary_operation): Handle VEC_CONCAT.
145 2005-01-03 Uros Bizjak <uros@kss-loka.si>
148 * config/i386/i386.c (log1psf2): Change mode of operands[0,1]
150 (log1pdf2): Change mode of operands[0,1] to DFmode.
152 2005-01-03 Eric Botcazou <ebotcazou@libertysurf.fr>
154 * config/sparc/sparc.h (SPARC_RELAXED_ORDERING): Define to false.
155 * config/sparc/linux.h (SPARC_RELAXED_ORDERING): Define to true.
156 * config/sparc/linux64.h (SPARC_RELAXED_ORDERING): Likewise.
157 * config/sparc/sparc.c (TARGET_RELAXED_ORDERING): Define to
158 SPARC_RELAXED_ORDERING.
160 2005-01-03 Richard Henderson <rth@redhat.com>
161 Uros Bizjak <uros@kss-loka.si>
164 * config/i386/i386.c (ix86_expand_builtin): [IX86_BUILTIN_PINSRW,
165 IX86_BUILTIN_PINSRW128]: Fix wrong selector range in error message.
166 * config/i386/i386.md (mmx_pinsrw, sse2_pinsrw): Fix selector
168 (*mmx_pinsrw, *sse2_pinsrw): New patterns.
169 * config/i386/i386/predicates.md (const_pow2_1_to_8_operand,
170 const_pow2_1_to_128_operand): New predicates.
172 2005-01-02 Greg McGary <greg@mcgary.org>
174 * tree-mudflap.c (mf_varname_tree): decl_printable_name handles
176 (mf_xform_derefs_1) [RESULT_DECL, STRING_CST]: Handle as innermost
177 object. [ptr_type]: Remove unused variable.
178 Remember nearest addressable array-element or record-component
179 when checking bitfield components. Tolerate empty BIND_EXPR.
181 2005-01-01 Richard Henderson <rth@redhat.com>
183 * tree-vectorizer.c (vect_analyze_offset_expr): Strip conversions
184 that don't narrow the value. Fail for other conversions.
186 2005-01-01 Richard Henderson <rth@redhat.com>
189 * c-decl.c (pop_file_scope): Call maybe_apply_pending_pragma_weaks.
190 * c-lang.c (finish_file): Don't do it here.
191 * objc/objc-act.c (objc_finish_file): Likewise.
193 * cgraph.c (decl_assembler_name_equal): New.
194 (cgraph_node_for_asm, cgraph_varpool_node_for_asm): New.
195 (cgraph_varpool_node): Actually link up cgraph_varpool_nodes.
196 * cgraph.h (struct cgraph_varpool_node): Add next.
197 (cgraph_node_for_asm, cgraph_varpool_node_for_asm): Declare.
198 * varasm.c (assemble_alias): Mark the target as needed.
200 2005-01-01 Andrew Pinski <pinskia@physics.uc.edu>
203 * function.c (get_arg_pointer_save_area): Use entry_of_function
204 instead of get_insns.
206 2005-01-01 Roger Sayle <roger@eyesopen.com>
207 Andrew Pinski <pinskia@physics.uc.edu>
208 James E. Wilson <wilson@specifixinc.com>
210 PR rtl-optimization/12092
211 * loop.c (emit_prefetch_instructions): Do nothing if PREFETCH_BLOCK
214 2005-01-01 Roger Sayle <roger@eyesopen.com>
215 Olivier Hainque <hainque@act-europe.fr>
217 * tree.c (int_fits_type_p): A narrower type always fits in a
218 wider one, except for negative values into unsigned types.
220 2005-01-01 Roger Sayle <roger@eyesopen.com>
222 * tree.c (int_fits_type_p): Compare the result of force_fit_type
223 with the original constant rather than require TREE_OVERFLOW.
225 2005-01-01 Steven Bosscher <stevenb@suse.de>
228 * c-decl.c (finish_function): If compiling C99, annotate the
229 compiler generated return with the current file name and line 0.
230 * tree-cfg.c (remove_useless_stmts_warn_notreached): Only warn if
231 the source line is greater than 0.
232 (remove_bb): Likewise.
234 See ChangeLog.12 for earlier changes.