]>
Commit | Line | Data |
---|---|---|
65a878f5 RS |
1 | 2005-01-05 Roger Sayle <roger@eyesopen.com> |
2 | ||
3 | * ifcvt.c (find_if_case_1): Revert 2005-01-04 change. | |
4 | ||
d2ad2c8a JH |
5 | 2005-01-05 Jan Hubicka <jh@suse.cz> |
6 | Richard Henderson <rth@redhat.com> | |
7 | ||
8 | PR target/18910 | |
9 | * config/i386/i386.c (ix86_expand_move): Handle tls symbols | |
10 | with an offset. | |
11 | ||
2cdb3148 RH |
12 | 2005-01-05 Richard Henderson <rth@redhat.com> |
13 | ||
14 | PR target/12902 | |
15 | * config/i386/i386.md (sse_movhps, sse_movlps): Remove. | |
16 | (sse_shufps): Change operand 3 to const_int_operand. | |
17 | (sse2_storelps): Fix typo in template. | |
18 | (sse_storehps, sse_loadhps, sse_storelps, sse_loadlps): New. | |
19 | * config/i386/i386.c (ix86_expand_vector_move_misalign): Use them. | |
20 | (ix86_expand_builtin): Likewise. | |
21 | ||
22 | 2005-01-05 Julian Brown <julian@codesourcery.com> | |
3dd7ab65 JB |
23 | |
24 | * config/arm/arm.c (arm_return_in_memory): Treat complex types | |
25 | as aggregates for AAPCS ABIs. | |
26 | ||
59d8fe27 SS |
27 | 2005-01-05 Stan Shebs <shebs@apple.com> |
28 | ||
29 | * unwind-dw2-fde-darwin.c (examine_objects): Use 64-bit | |
30 | Mach-O getters if ppc64. | |
31 | * config/darwin.c (darwin_asm_output_dwarf_delta): Obey | |
32 | size argument. | |
33 | * config/darwin.h (ASM_PREFERRED_EH_DATA_FORMAT): Use | |
34 | signed four-byte field for global code case. | |
35 | (STARTFILE_SPEC): Avoid crt2.o for 64-bit compilation. | |
36 | ||
010c4d9c RS |
37 | 2005-01-05 Roger Sayle <roger@eyesopen.com> |
38 | ||
39 | PR middle-end/19100 | |
40 | * c-common.c: Include real.h. | |
41 | (c_common_truthvalue_conversion): Avoid destructively modifying expr. | |
42 | Correctly handle TREE_CONSTANT_OVERFLOW for INTEGER_CST. | |
43 | Correctly handle TREE_CONSTANT_OVERFLOW and NaNs for REAL_CST. | |
44 | * Makefile.in (c-common.o): Update dependencies. | |
45 | ||
9368fb8f JM |
46 | 2005-01-05 Joseph S. Myers <joseph@codesourcery.com> |
47 | ||
48 | * c-parse.in (asm_string): Add trailing semicolon. | |
49 | ||
9143de5c JM |
50 | 2005-01-05 Joseph S. Myers <joseph@codesourcery.com> |
51 | ||
52 | * c-parse.in (asm_string): New. Don't allow wide strings in | |
53 | 'asm'. | |
54 | (simple_asm_expr, asm_argument, asm_operand, asm_clobbers): Use | |
55 | asm_string instead of STRING. | |
56 | ||
0953878d JM |
57 | 2005-01-05 Joseph S. Myers <joseph@codesourcery.com> |
58 | ||
59 | * c-typeck.c (constructor_no_implicit): Remove. | |
60 | (set_designator, process_init_element): Don't check | |
61 | constructor_no_implicit. | |
62 | ||
cf99f196 R |
63 | 2005-01-05 J"orn Rennecke <joern.rennecke@st.com> |
64 | Kaz Kojima <kkojima@gcc.gnu.org> | |
65 | ||
66 | PR target/16482 | |
67 | * lcm.c (create_pre_exit): New. | |
68 | (optimize_mode_switching): In MODE_ENTRY / MODE_EXIT case, set | |
69 | ENTRY_EXIT_EXTRA to 3. Use create_pre_exit. | |
70 | ||
712ecf4d RE |
71 | 2004-01-05 Richard Earnshaw <rearnsha@arm.com> |
72 | ||
73 | * arm.h (TARGET_OPTIONS): Correctly record -mhard-float and | |
74 | -msoft-float in target_float_switch. | |
75 | * arm.c (arm_override_options): Fix processing of target_float_switch. | |
76 | ||
082cca25 RE |
77 | 2004-01-05 Richard Earnshaw <rearnsha@arm.com> |
78 | ||
79 | * arm/vfp.md (arm_movsi_vfp): Hide VFP register classes from register | |
80 | preferencing. | |
81 | ||
c2b43d7a UB |
82 | 2004-01-05 Uros Bizjak <uros@kss-loka.si> |
83 | ||
84 | * doc/invoke.texi (Intel 386 and AMD x86-64 Options): | |
85 | Replace i387 with 'i386 compiler' in -mfpmath=sse option. | |
86 | ||
e82f5749 RS |
87 | 2005-01-04 Roger Sayle <roger@eyesopen.com> |
88 | ||
89 | * ifcvt.c (find_if_case_1): Avoid creating an empty forwarder block, | |
90 | if deleting the then-block allows the test-block to fallthru to the | |
91 | else-block. | |
92 | ||
f8f5c4b3 AP |
93 | 2005-01-04 Andrew Pinski <pinskia@physics.uc.edu> |
94 | ||
95 | PR c/19152 | |
96 | * c-decl.c (diagnose_mismatched_decls): Accept "extern inline" declared | |
97 | after the full declaration if the are in two different TUs. | |
98 | ||
99 | 2005-01-04 Richard Henderson <rth@redhat.com> | |
fa588429 RH |
100 | |
101 | PR tree-opt/19158 | |
102 | * tree-sra.c (generate_one_element_init): Just | |
103 | call gimplify_and_add. | |
104 | (generate_element_init): Record the | |
105 | new referenced variables and mark them for renaming | |
106 | and split out to ... | |
107 | (generate_element_init_1): This. | |
108 | (scalarize_init): Don't call push_gimplify_context/ | |
109 | pop_gimplify_context. | |
110 | ||
5f0c48ed GK |
111 | 2005-01-04 Geoffrey Keating <geoffk@apple.com> |
112 | ||
113 | * toplev.c (get_src_pwd): Handle failure of getpwd(). | |
114 | ||
e3523f56 RS |
115 | 2005-01-04 Roger Sayle <roger@eyesopen.com> |
116 | ||
117 | * fold-const.c (fold_single_bit_test): Delete unreachable handling | |
118 | of TRUTH_NOT_EXPR. | |
119 | (fold): Don't call fold_single_bit_test with a TRUTH_NOT_EXPR, as | |
120 | all the cases handled by it are inverted by invert_truthvalue. | |
121 | ||
9746bb27 EB |
122 | 2005-01-04 Eric Botcazou <ebotcazou@libertysurf.fr> |
123 | ||
124 | * config/sparc/sparc.md (save_register_windowdi): Add missing mode. | |
125 | (save_register_windowsi): Likewise. | |
126 | ||
bfee926b RH |
127 | 2005-01-04 Richard Henderson <rth@redhat.com> |
128 | ||
129 | * tree-mudflap.c (mf_varname_tree): Fix thinko setting declname. | |
130 | ||
21e5076a UB |
131 | 2005-01-04 Uros Bizjak <uros@kss-loka.si> |
132 | ||
133 | PR middle-end/17767 | |
134 | * cse.c (fold_rtx) [RTX_COMPARE, RTX_COMM_COMPARE]: Don't attempt | |
135 | any simplifications of vector mode comparison operators. | |
136 | * simplify-rtx.c (simplify_relational_operation): Fix variable name. | |
137 | ||
8ea9d0c7 PB |
138 | 2005-01-04 Paolo Bonzini <bonzini@gnu.org> |
139 | Devang Patel <dpatel@apple.com> | |
140 | ||
141 | PR tree-optimization/18308 | |
8ea9d0c7 PB |
142 | * tree-if-conv.c (add_to_dst_predicate_list): Gimplify |
143 | the operands before creating a new expression. | |
144 | * dojump.c (do_jump): Make drop_through_label available | |
145 | for all cases. Add expansion of COND_EXPR. | |
146 | ||
8c427b58 IR |
147 | 2005-01-04 Ira Rosen <irar@il.ibm.com> |
148 | ||
149 | * tree-vectorizer.c (vect_analyze_offset_expr): Test for | |
150 | INTEGER_CST instead of TREE_CONSTANT. | |
151 | (vect_gen_niters_for_prolog_loop): Test for INTEGER_CST | |
152 | instead of TREE_CONSTANT. | |
153 | (vect_analyze_pointer_ref_access): Test for INTEGER_CST | |
154 | instead of TREE_CONSTANT. | |
155 | ||
8287d24a EB |
156 | 2005-01-04 Eric Botcazou <ebotcazou@libertysurf.fr> |
157 | ||
158 | * tree-eh.c (replace_goto_queue): Return early if the queue is empty. | |
159 | ||
9e4ae64b UB |
160 | 2005-01-04 Uros Bizjak <uros@kss-loka.si> |
161 | ||
162 | PR target/19240 | |
163 | * config/i386/i386.md (*fop_df_1_i387): Disable for TARGET_SSE_MATH. | |
164 | (*fop_df_1_i387): Disable for (TARGET_SSE2 && TARGET_SSE_MATH). | |
165 | ||
c756af79 RH |
166 | 2005-01-03 Richard Henderson <rth@redhat.com> |
167 | ||
168 | * fold-const.c (force_fit_type): Cope with types larger than 2 HWI. | |
169 | (fold_convert_const_int_from_int, fold_convert_const_int_from_real, | |
170 | fold_convert_const_real_from_real): Split out from ... | |
171 | (fold_convert_const): ... here. | |
172 | ||
d30c9461 RH |
173 | 2005-01-03 Richard Henderson <rth@redhat.com> |
174 | ||
175 | PR target/19235 | |
176 | * config/i386/i386.md (movdi_2): Separate SSE1 and SSE2 alternatives. | |
177 | (mov<MMXMODEI>_internal): Likewise. | |
178 | (movdf_nointeger): Prefer Y while not preferring, but allowing, x. | |
179 | Add V2SF case; use it for SSE1; don't use TI. | |
180 | (movdf_integer): Likewise. | |
181 | (mov<SSEMODEI>_internal, movti_internal): Force V4SF for SSE1. | |
182 | ||
7d23434b IR |
183 | 2005-01-03 Ira Rosen <irar@il.ibm.com> |
184 | ||
185 | * tree-vectorizer.c (vect_strip_conversions): New function. | |
186 | (vect_analyze_offset_expr): Call vect_strip_conversions. Add | |
187 | check for binary class. | |
188 | ||
1eb3331e DB |
189 | 2005-01-03 Daniel Berlin <dberlin@dberlin.org> |
190 | ||
191 | Fix PR debug/17924 | |
192 | Fix PR debug/19191 | |
193 | * dwarf2out.c (block_ultimate_origin): Follow decl origin if origin | |
194 | is a decl. | |
195 | * gimple-low.c (mark_blocks_with_used_vars): New function. | |
196 | (mark_blocks_with_used_subblocks): Ditto. | |
197 | (mark_used_blocks): Ditto. | |
198 | (pass_mark_used_blocks): New pass. | |
199 | * tree-inline.c: Include debug.h. | |
200 | (expand_call_inline): Call outlining_inline_function here. | |
201 | * tree-optimize.c (init_tree_optimization_passes): Add | |
202 | pass_mark_used_blocks. | |
203 | * tree-pass.h (pass_mark_used_blocks): New. | |
204 | * Makefile.in (tree-inline.o): Add debug.h dependency. | |
205 | ||
a035080c GK |
206 | 2005-01-03 Geoffrey Keating <geoffk@apple.com> |
207 | ||
d7001ae5 GK |
208 | * config/darwin.c (darwin_handle_weak_import_attribute): Permit |
209 | VAR_DECLs to have weak_import attribute. | |
210 | ||
a035080c GK |
211 | * config/rs6000/darwin-fallback.c: Use 'ucontext_t' rather than |
212 | 'struct ucontext'. | |
213 | ||
1ab219d3 SB |
214 | 2004-01-03 Steven Bosscher <stevenb@suse.de> |
215 | ||
216 | * passes.c (rest_of_compilation): Don't run regmove if only | |
217 | flag_expensive_optimizations, require flag_regmove instead. | |
218 | ||
e6abef61 EB |
219 | 2005-01-03 Eric Botcazou <ebotcazou@libertysurf.fr> |
220 | ||
221 | * config/sparc/litecoff.h (TARGET_OS_CPP_BUILTINS): Do not | |
222 | register "sparc". | |
223 | * config/sparc/sysv4-only.h (TARGET_OS_CPP_BUILTINS): Likewise. | |
224 | * config/sparc/rtemself.h (TARGET_SUB_OS_CPP_BUILTINS): Likewise. | |
225 | * config/sparc/sol2-64.h (TARGET_SUB_OS_CPP_BUILTINS): Delete. | |
226 | * config/sparc/sp64-elf.h (TARGET_SUB_OS_CPP_BUILTINS): Likewise. | |
227 | ||
f61134e8 RH |
228 | 2005-01-03 Richard Henderson <rth@redhat.com> |
229 | ||
230 | * config/ia64/ia64.c (TARGET_VECTOR_MODE_SUPPORTED_P): New. | |
231 | (ia64_const_ok_for_letter_p): New. | |
232 | (ia64_const_double_ok_for_letter_p): New. | |
233 | (ia64_extra_constraint): New. | |
234 | (ia64_expand_vecint_compare): New. | |
235 | (ia64_expand_vcondu_v2si): New. | |
236 | (ia64_expand_vecint_cmov): New. | |
237 | (ia64_expand_vecint_minmax): New. | |
238 | (ia64_print_operand): Add 'v'. | |
239 | (ia64_preferred_reload_class): New. | |
240 | (ia64_vector_mode_supported_p): New. | |
241 | * config/ia64/ia64.h (UNITS_PER_SIMD_WORD): New. | |
242 | (PREFERRED_RELOAD_CLASS): Move to function. | |
243 | (CONST_OK_FOR_LETTER_P): Move to function. | |
244 | (CONST_DOUBLE_OK_FOR_LETTER_P): Move to function. | |
245 | (CONSTRAINT_OK_FOR_Q, CONSTRAINT_OK_FOR_R): Remove. | |
246 | (CONSTRAINT_OK_FOR_S, CONSTRAINT_OK_FOR_T): Remove. | |
247 | (EXTRA_CONSTRAINT): Move to function. | |
248 | * config/ia64/ia64.md: Include vect.md. | |
249 | (itanium_class): Add mmalua. | |
250 | (type): Handle it. | |
251 | * config/ia64/itanium1.md (1_mmalua): New. Add it to bypasses. | |
252 | (1b_mmalua): New. | |
253 | * config/ia64/itanium2.md (2_mmalua, 2b_mmalua): Similarly. | |
254 | * config/ia64/predicates.md (gr_reg_or_0_operand): Accept any | |
255 | CONST0_RTX. | |
256 | (const_int_2bit_operand): New. | |
257 | (fr_reg_or_0_operand): New. | |
258 | * config/ia64/ia64-modes.def: Add vector modes. | |
259 | * config/ia64/ia64-protos.h: Update. | |
260 | * config/ia64/vect.md: New file. | |
261 | ||
3198b947 RH |
262 | 2005-01-03 Richard Henderson <rth@redhat.com> |
263 | ||
264 | * simplify-rtx.c (simplify_binary_operation): Handle VEC_CONCAT. | |
265 | ||
088df4c2 UB |
266 | 2005-01-03 Uros Bizjak <uros@kss-loka.si> |
267 | ||
268 | PR target/19236 | |
269 | * config/i386/i386.c (log1psf2): Change mode of operands[0,1] | |
270 | to SFmode. | |
271 | (log1pdf2): Change mode of operands[0,1] to DFmode. | |
272 | ||
548a6c4f EB |
273 | 2005-01-03 Eric Botcazou <ebotcazou@libertysurf.fr> |
274 | ||
275 | * config/sparc/sparc.h (SPARC_RELAXED_ORDERING): Define to false. | |
276 | * config/sparc/linux.h (SPARC_RELAXED_ORDERING): Define to true. | |
277 | * config/sparc/linux64.h (SPARC_RELAXED_ORDERING): Likewise. | |
278 | * config/sparc/sparc.c (TARGET_RELAXED_ORDERING): Define to | |
279 | SPARC_RELAXED_ORDERING. | |
280 | ||
0703dceb RH |
281 | 2005-01-03 Richard Henderson <rth@redhat.com> |
282 | Uros Bizjak <uros@kss-loka.si> | |
283 | ||
284 | PR target/14631 | |
285 | * config/i386/i386.c (ix86_expand_builtin): [IX86_BUILTIN_PINSRW, | |
286 | IX86_BUILTIN_PINSRW128]: Fix wrong selector range in error message. | |
287 | * config/i386/i386.md (mmx_pinsrw, sse2_pinsrw): Fix selector | |
288 | handling. | |
289 | (*mmx_pinsrw, *sse2_pinsrw): New patterns. | |
290 | * config/i386/i386/predicates.md (const_pow2_1_to_8_operand, | |
291 | const_pow2_1_to_128_operand): New predicates. | |
292 | ||
97236777 GM |
293 | 2005-01-02 Greg McGary <greg@mcgary.org> |
294 | ||
295 | * tree-mudflap.c (mf_varname_tree): decl_printable_name handles | |
296 | anonymous decls. | |
297 | (mf_xform_derefs_1) [RESULT_DECL, STRING_CST]: Handle as innermost | |
298 | object. [ptr_type]: Remove unused variable. | |
299 | Remember nearest addressable array-element or record-component | |
300 | when checking bitfield components. Tolerate empty BIND_EXPR. | |
301 | ||
155a8213 RH |
302 | 2005-01-01 Richard Henderson <rth@redhat.com> |
303 | ||
304 | * tree-vectorizer.c (vect_analyze_offset_expr): Strip conversions | |
305 | that don't narrow the value. Fail for other conversions. | |
306 | ||
bedb9fc0 RH |
307 | 2005-01-01 Richard Henderson <rth@redhat.com> |
308 | ||
309 | PR c/19031 | |
310 | * c-decl.c (pop_file_scope): Call maybe_apply_pending_pragma_weaks. | |
311 | * c-lang.c (finish_file): Don't do it here. | |
312 | * objc/objc-act.c (objc_finish_file): Likewise. | |
313 | ||
314 | * cgraph.c (decl_assembler_name_equal): New. | |
315 | (cgraph_node_for_asm, cgraph_varpool_node_for_asm): New. | |
316 | (cgraph_varpool_node): Actually link up cgraph_varpool_nodes. | |
317 | * cgraph.h (struct cgraph_varpool_node): Add next. | |
318 | (cgraph_node_for_asm, cgraph_varpool_node_for_asm): Declare. | |
319 | * varasm.c (assemble_alias): Mark the target as needed. | |
320 | ||
1cb2fc7b AP |
321 | 2005-01-01 Andrew Pinski <pinskia@physics.uc.edu> |
322 | ||
323 | PR middle-end/19221 | |
324 | * function.c (get_arg_pointer_save_area): Use entry_of_function | |
325 | instead of get_insns. | |
326 | ||
0ca5fbc0 RS |
327 | 2005-01-01 Roger Sayle <roger@eyesopen.com> |
328 | Andrew Pinski <pinskia@physics.uc.edu> | |
329 | James E. Wilson <wilson@specifixinc.com> | |
330 | ||
331 | PR rtl-optimization/12092 | |
332 | * loop.c (emit_prefetch_instructions): Do nothing if PREFETCH_BLOCK | |
333 | is zero. | |
334 | ||
91c537b7 RS |
335 | 2005-01-01 Roger Sayle <roger@eyesopen.com> |
336 | Olivier Hainque <hainque@act-europe.fr> | |
337 | ||
338 | * tree.c (int_fits_type_p): A narrower type always fits in a | |
339 | wider one, except for negative values into unsigned types. | |
340 | ||
69618c49 RS |
341 | 2005-01-01 Roger Sayle <roger@eyesopen.com> |
342 | ||
343 | * tree.c (int_fits_type_p): Compare the result of force_fit_type | |
344 | with the original constant rather than require TREE_OVERFLOW. | |
345 | ||
43e05e45 SB |
346 | 2005-01-01 Steven Bosscher <stevenb@suse.de> |
347 | ||
348 | PR middle-end/17544 | |
349 | * c-decl.c (finish_function): If compiling C99, annotate the | |
350 | compiler generated return with the current file name and line 0. | |
351 | * tree-cfg.c (remove_useless_stmts_warn_notreached): Only warn if | |
352 | the source line is greater than 0. | |
353 | (remove_bb): Likewise. | |
354 | ||
7a4515d7 | 355 | See ChangeLog.12 for earlier changes. |