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