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