]>
Commit | Line | Data |
---|---|---|
e3523f56 RS |
1 | 2005-01-04 Roger Sayle <roger@eyesopen.com> |
2 | ||
3 | * fold-const.c (fold_single_bit_test): Delete unreachable handling | |
4 | of TRUTH_NOT_EXPR. | |
5 | (fold): Don't call fold_single_bit_test with a TRUTH_NOT_EXPR, as | |
6 | all the cases handled by it are inverted by invert_truthvalue. | |
7 | ||
9746bb27 EB |
8 | 2005-01-04 Eric Botcazou <ebotcazou@libertysurf.fr> |
9 | ||
10 | * config/sparc/sparc.md (save_register_windowdi): Add missing mode. | |
11 | (save_register_windowsi): Likewise. | |
12 | ||
bfee926b RH |
13 | 2005-01-04 Richard Henderson <rth@redhat.com> |
14 | ||
15 | * tree-mudflap.c (mf_varname_tree): Fix thinko setting declname. | |
16 | ||
21e5076a UB |
17 | 2005-01-04 Uros Bizjak <uros@kss-loka.si> |
18 | ||
19 | PR middle-end/17767 | |
20 | * cse.c (fold_rtx) [RTX_COMPARE, RTX_COMM_COMPARE]: Don't attempt | |
21 | any simplifications of vector mode comparison operators. | |
22 | * simplify-rtx.c (simplify_relational_operation): Fix variable name. | |
23 | ||
8ea9d0c7 PB |
24 | 2005-01-04 Paolo Bonzini <bonzini@gnu.org> |
25 | Devang Patel <dpatel@apple.com> | |
26 | ||
27 | PR tree-optimization/18308 | |
8ea9d0c7 PB |
28 | * tree-if-conv.c (add_to_dst_predicate_list): Gimplify |
29 | the operands before creating a new expression. | |
30 | * dojump.c (do_jump): Make drop_through_label available | |
31 | for all cases. Add expansion of COND_EXPR. | |
32 | ||
8c427b58 IR |
33 | 2005-01-04 Ira Rosen <irar@il.ibm.com> |
34 | ||
35 | * tree-vectorizer.c (vect_analyze_offset_expr): Test for | |
36 | INTEGER_CST instead of TREE_CONSTANT. | |
37 | (vect_gen_niters_for_prolog_loop): Test for INTEGER_CST | |
38 | instead of TREE_CONSTANT. | |
39 | (vect_analyze_pointer_ref_access): Test for INTEGER_CST | |
40 | instead of TREE_CONSTANT. | |
41 | ||
8287d24a EB |
42 | 2005-01-04 Eric Botcazou <ebotcazou@libertysurf.fr> |
43 | ||
44 | * tree-eh.c (replace_goto_queue): Return early if the queue is empty. | |
45 | ||
9e4ae64b UB |
46 | 2005-01-04 Uros Bizjak <uros@kss-loka.si> |
47 | ||
48 | PR target/19240 | |
49 | * config/i386/i386.md (*fop_df_1_i387): Disable for TARGET_SSE_MATH. | |
50 | (*fop_df_1_i387): Disable for (TARGET_SSE2 && TARGET_SSE_MATH). | |
51 | ||
c756af79 RH |
52 | 2005-01-03 Richard Henderson <rth@redhat.com> |
53 | ||
54 | * fold-const.c (force_fit_type): Cope with types larger than 2 HWI. | |
55 | (fold_convert_const_int_from_int, fold_convert_const_int_from_real, | |
56 | fold_convert_const_real_from_real): Split out from ... | |
57 | (fold_convert_const): ... here. | |
58 | ||
d30c9461 RH |
59 | 2005-01-03 Richard Henderson <rth@redhat.com> |
60 | ||
61 | PR target/19235 | |
62 | * config/i386/i386.md (movdi_2): Separate SSE1 and SSE2 alternatives. | |
63 | (mov<MMXMODEI>_internal): Likewise. | |
64 | (movdf_nointeger): Prefer Y while not preferring, but allowing, x. | |
65 | Add V2SF case; use it for SSE1; don't use TI. | |
66 | (movdf_integer): Likewise. | |
67 | (mov<SSEMODEI>_internal, movti_internal): Force V4SF for SSE1. | |
68 | ||
7d23434b IR |
69 | 2005-01-03 Ira Rosen <irar@il.ibm.com> |
70 | ||
71 | * tree-vectorizer.c (vect_strip_conversions): New function. | |
72 | (vect_analyze_offset_expr): Call vect_strip_conversions. Add | |
73 | check for binary class. | |
74 | ||
1eb3331e DB |
75 | 2005-01-03 Daniel Berlin <dberlin@dberlin.org> |
76 | ||
77 | Fix PR debug/17924 | |
78 | Fix PR debug/19191 | |
79 | * dwarf2out.c (block_ultimate_origin): Follow decl origin if origin | |
80 | is a decl. | |
81 | * gimple-low.c (mark_blocks_with_used_vars): New function. | |
82 | (mark_blocks_with_used_subblocks): Ditto. | |
83 | (mark_used_blocks): Ditto. | |
84 | (pass_mark_used_blocks): New pass. | |
85 | * tree-inline.c: Include debug.h. | |
86 | (expand_call_inline): Call outlining_inline_function here. | |
87 | * tree-optimize.c (init_tree_optimization_passes): Add | |
88 | pass_mark_used_blocks. | |
89 | * tree-pass.h (pass_mark_used_blocks): New. | |
90 | * Makefile.in (tree-inline.o): Add debug.h dependency. | |
91 | ||
a035080c GK |
92 | 2005-01-03 Geoffrey Keating <geoffk@apple.com> |
93 | ||
d7001ae5 GK |
94 | * config/darwin.c (darwin_handle_weak_import_attribute): Permit |
95 | VAR_DECLs to have weak_import attribute. | |
96 | ||
a035080c GK |
97 | * config/rs6000/darwin-fallback.c: Use 'ucontext_t' rather than |
98 | 'struct ucontext'. | |
99 | ||
1ab219d3 SB |
100 | 2004-01-03 Steven Bosscher <stevenb@suse.de> |
101 | ||
102 | * passes.c (rest_of_compilation): Don't run regmove if only | |
103 | flag_expensive_optimizations, require flag_regmove instead. | |
104 | ||
e6abef61 EB |
105 | 2005-01-03 Eric Botcazou <ebotcazou@libertysurf.fr> |
106 | ||
107 | * config/sparc/litecoff.h (TARGET_OS_CPP_BUILTINS): Do not | |
108 | register "sparc". | |
109 | * config/sparc/sysv4-only.h (TARGET_OS_CPP_BUILTINS): Likewise. | |
110 | * config/sparc/rtemself.h (TARGET_SUB_OS_CPP_BUILTINS): Likewise. | |
111 | * config/sparc/sol2-64.h (TARGET_SUB_OS_CPP_BUILTINS): Delete. | |
112 | * config/sparc/sp64-elf.h (TARGET_SUB_OS_CPP_BUILTINS): Likewise. | |
113 | ||
f61134e8 RH |
114 | 2005-01-03 Richard Henderson <rth@redhat.com> |
115 | ||
116 | * config/ia64/ia64.c (TARGET_VECTOR_MODE_SUPPORTED_P): New. | |
117 | (ia64_const_ok_for_letter_p): New. | |
118 | (ia64_const_double_ok_for_letter_p): New. | |
119 | (ia64_extra_constraint): New. | |
120 | (ia64_expand_vecint_compare): New. | |
121 | (ia64_expand_vcondu_v2si): New. | |
122 | (ia64_expand_vecint_cmov): New. | |
123 | (ia64_expand_vecint_minmax): New. | |
124 | (ia64_print_operand): Add 'v'. | |
125 | (ia64_preferred_reload_class): New. | |
126 | (ia64_vector_mode_supported_p): New. | |
127 | * config/ia64/ia64.h (UNITS_PER_SIMD_WORD): New. | |
128 | (PREFERRED_RELOAD_CLASS): Move to function. | |
129 | (CONST_OK_FOR_LETTER_P): Move to function. | |
130 | (CONST_DOUBLE_OK_FOR_LETTER_P): Move to function. | |
131 | (CONSTRAINT_OK_FOR_Q, CONSTRAINT_OK_FOR_R): Remove. | |
132 | (CONSTRAINT_OK_FOR_S, CONSTRAINT_OK_FOR_T): Remove. | |
133 | (EXTRA_CONSTRAINT): Move to function. | |
134 | * config/ia64/ia64.md: Include vect.md. | |
135 | (itanium_class): Add mmalua. | |
136 | (type): Handle it. | |
137 | * config/ia64/itanium1.md (1_mmalua): New. Add it to bypasses. | |
138 | (1b_mmalua): New. | |
139 | * config/ia64/itanium2.md (2_mmalua, 2b_mmalua): Similarly. | |
140 | * config/ia64/predicates.md (gr_reg_or_0_operand): Accept any | |
141 | CONST0_RTX. | |
142 | (const_int_2bit_operand): New. | |
143 | (fr_reg_or_0_operand): New. | |
144 | * config/ia64/ia64-modes.def: Add vector modes. | |
145 | * config/ia64/ia64-protos.h: Update. | |
146 | * config/ia64/vect.md: New file. | |
147 | ||
3198b947 RH |
148 | 2005-01-03 Richard Henderson <rth@redhat.com> |
149 | ||
150 | * simplify-rtx.c (simplify_binary_operation): Handle VEC_CONCAT. | |
151 | ||
088df4c2 UB |
152 | 2005-01-03 Uros Bizjak <uros@kss-loka.si> |
153 | ||
154 | PR target/19236 | |
155 | * config/i386/i386.c (log1psf2): Change mode of operands[0,1] | |
156 | to SFmode. | |
157 | (log1pdf2): Change mode of operands[0,1] to DFmode. | |
158 | ||
548a6c4f EB |
159 | 2005-01-03 Eric Botcazou <ebotcazou@libertysurf.fr> |
160 | ||
161 | * config/sparc/sparc.h (SPARC_RELAXED_ORDERING): Define to false. | |
162 | * config/sparc/linux.h (SPARC_RELAXED_ORDERING): Define to true. | |
163 | * config/sparc/linux64.h (SPARC_RELAXED_ORDERING): Likewise. | |
164 | * config/sparc/sparc.c (TARGET_RELAXED_ORDERING): Define to | |
165 | SPARC_RELAXED_ORDERING. | |
166 | ||
0703dceb RH |
167 | 2005-01-03 Richard Henderson <rth@redhat.com> |
168 | Uros Bizjak <uros@kss-loka.si> | |
169 | ||
170 | PR target/14631 | |
171 | * config/i386/i386.c (ix86_expand_builtin): [IX86_BUILTIN_PINSRW, | |
172 | IX86_BUILTIN_PINSRW128]: Fix wrong selector range in error message. | |
173 | * config/i386/i386.md (mmx_pinsrw, sse2_pinsrw): Fix selector | |
174 | handling. | |
175 | (*mmx_pinsrw, *sse2_pinsrw): New patterns. | |
176 | * config/i386/i386/predicates.md (const_pow2_1_to_8_operand, | |
177 | const_pow2_1_to_128_operand): New predicates. | |
178 | ||
97236777 GM |
179 | 2005-01-02 Greg McGary <greg@mcgary.org> |
180 | ||
181 | * tree-mudflap.c (mf_varname_tree): decl_printable_name handles | |
182 | anonymous decls. | |
183 | (mf_xform_derefs_1) [RESULT_DECL, STRING_CST]: Handle as innermost | |
184 | object. [ptr_type]: Remove unused variable. | |
185 | Remember nearest addressable array-element or record-component | |
186 | when checking bitfield components. Tolerate empty BIND_EXPR. | |
187 | ||
155a8213 RH |
188 | 2005-01-01 Richard Henderson <rth@redhat.com> |
189 | ||
190 | * tree-vectorizer.c (vect_analyze_offset_expr): Strip conversions | |
191 | that don't narrow the value. Fail for other conversions. | |
192 | ||
bedb9fc0 RH |
193 | 2005-01-01 Richard Henderson <rth@redhat.com> |
194 | ||
195 | PR c/19031 | |
196 | * c-decl.c (pop_file_scope): Call maybe_apply_pending_pragma_weaks. | |
197 | * c-lang.c (finish_file): Don't do it here. | |
198 | * objc/objc-act.c (objc_finish_file): Likewise. | |
199 | ||
200 | * cgraph.c (decl_assembler_name_equal): New. | |
201 | (cgraph_node_for_asm, cgraph_varpool_node_for_asm): New. | |
202 | (cgraph_varpool_node): Actually link up cgraph_varpool_nodes. | |
203 | * cgraph.h (struct cgraph_varpool_node): Add next. | |
204 | (cgraph_node_for_asm, cgraph_varpool_node_for_asm): Declare. | |
205 | * varasm.c (assemble_alias): Mark the target as needed. | |
206 | ||
1cb2fc7b AP |
207 | 2005-01-01 Andrew Pinski <pinskia@physics.uc.edu> |
208 | ||
209 | PR middle-end/19221 | |
210 | * function.c (get_arg_pointer_save_area): Use entry_of_function | |
211 | instead of get_insns. | |
212 | ||
0ca5fbc0 RS |
213 | 2005-01-01 Roger Sayle <roger@eyesopen.com> |
214 | Andrew Pinski <pinskia@physics.uc.edu> | |
215 | James E. Wilson <wilson@specifixinc.com> | |
216 | ||
217 | PR rtl-optimization/12092 | |
218 | * loop.c (emit_prefetch_instructions): Do nothing if PREFETCH_BLOCK | |
219 | is zero. | |
220 | ||
91c537b7 RS |
221 | 2005-01-01 Roger Sayle <roger@eyesopen.com> |
222 | Olivier Hainque <hainque@act-europe.fr> | |
223 | ||
224 | * tree.c (int_fits_type_p): A narrower type always fits in a | |
225 | wider one, except for negative values into unsigned types. | |
226 | ||
69618c49 RS |
227 | 2005-01-01 Roger Sayle <roger@eyesopen.com> |
228 | ||
229 | * tree.c (int_fits_type_p): Compare the result of force_fit_type | |
230 | with the original constant rather than require TREE_OVERFLOW. | |
231 | ||
43e05e45 SB |
232 | 2005-01-01 Steven Bosscher <stevenb@suse.de> |
233 | ||
234 | PR middle-end/17544 | |
235 | * c-decl.c (finish_function): If compiling C99, annotate the | |
236 | compiler generated return with the current file name and line 0. | |
237 | * tree-cfg.c (remove_useless_stmts_warn_notreached): Only warn if | |
238 | the source line is greater than 0. | |
239 | (remove_bb): Likewise. | |
240 | ||
7a4515d7 | 241 | See ChangeLog.12 for earlier changes. |