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