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