]>
Commit | Line | Data |
---|---|---|
6cba282a TT |
1 | 2008-04-03 Tom Tromey <tromey@redhat.com> |
2 | Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | |
3 | ||
4 | * config/m68k/t-uclinux (generated_files): Add sysroot-suffix.h. | |
5 | * config/bfin/t-bfin-linux (generated_files): Add | |
6 | linux-sysroot-suffix.h. | |
7 | * doc/install.texi (Prerequisites): Require make 3.80. | |
8 | * doc/sourcebuild.texi (Front End Directory): Document new | |
9 | variable. | |
10 | * Makefile.in (generated_files): New variable. | |
11 | (ALL_HOST_OBJS): New variable. | |
12 | ($(ALL_HOST_OBJS)): New target. | |
13 | ||
9ff420f1 PB |
14 | 2008-04-03 Paolo Bonzini <bonzini@gnu.org> |
15 | ||
16 | * tree-inline.c (copy_generic_body, copy_decl_no_change): Export. | |
17 | (remap_block): Call id->transform_lang_insert_block instead | |
18 | of langhook. | |
19 | (optimize_inline_calls, unsave_expr_now, tree_function_versioning): | |
20 | Set id.transform_lang_insert_block to NULL. | |
21 | (clone_body): Move to cp/optimize.c | |
22 | * tree-inline.h (struct copy_body_data): Change | |
23 | transform_lang_insert_block to function pointer. | |
24 | (copy_generic_body, copy_decl_no_change): Export. | |
25 | * langhooks.h (struct lang_hooks_for_decls): Kill insert_block. | |
26 | * langhooks-def.h (LANG_HOOKS_INSERT_BLOCK): Kill. | |
27 | (LANG_HOOKS_DECLS): Remove LANG_HOOKS_INSERT_BLOCK. | |
28 | ||
29 | * c-tree.h (insert_block): Kill. | |
30 | * c-decl.c (insert_block): Kill. | |
31 | ||
d2784db4 PB |
32 | 2008-04-03 Paolo Bonzini <bonzini@gnu.org> |
33 | ||
34 | * c-objc-common.h (LANG_HOOKS_FUNCTION_ENTER_NESTED, | |
35 | LANG_HOOKS_FUNCTION_LEAVE_NESTED): Delete. | |
36 | * c-tree.h (c_push_function_context, c_pop_function_context): Remove | |
37 | argument. | |
38 | * c-decl.c (c_push_function_context, c_pop_function_context): Remove | |
39 | argument, call {push,pop}_function_context from here. | |
40 | * c-parser.c: Use c_{push,pop}_function_context. | |
41 | ||
42 | * function.c (push_function_context_to): Move meat ... | |
43 | (push_function_context): ... here. Simplify. | |
44 | * function.c (pop_function_context_from): Move meat ... | |
45 | (pop_function_context): ... here. Simplify. | |
46 | * langhooks.h (struct lang_hooks_for_functions): Remove enter_nested, | |
47 | leave_nested). | |
48 | * langhooks-def.h (LANG_HOOKS_FUNCTION_ENTER_NESTED, | |
49 | LANG_HOOKS_FUNCTION_LEAVE_NESTED): Delete. | |
50 | (LANG_HOOKS_FUNCTION_INITIALIZER): Delete them from here. | |
51 | * tree.h (push_function_context_to, pop_function_context_from): Remove. | |
52 | ||
9e0aebca BE |
53 | 2008-04-03 Ben Elliston <bje@au.ibm.com> |
54 | ||
55 | * expmed.c (extract_force_align_mem_bit_field): Remove. | |
56 | ||
55187c8a RG |
57 | 2008-04-03 Richard Guenther <rguenther@suse.de> |
58 | ||
59 | PR middle-end/35800 | |
60 | * expr.h (try_casesi): Adjust prototype. | |
61 | * expr.c (try_casesi): Take fallback label as extra parameter. | |
62 | Use that for gen_casesi if default_label is NULL. | |
63 | * stmt.c (expand_case): Pass fallback label to try_casesi, | |
64 | make sure to fill gaps with a fallback label if default_label | |
65 | is not present. | |
66 | ||
d7087dd2 DH |
67 | 2008-04-03 Dominique d'Humieres <dominiq@lps.ens.fr> |
68 | ||
69 | PR target/35801 | |
70 | * config/rs6000/rs6000.c (rs6000_output_mi_thunk): Free cfun. | |
71 | ||
609023ff BE |
72 | 2008-04-03 Ben Elliston <bje@au.ibm.com> |
73 | ||
74 | * expmed.c (extract_split_bit_field): Remove if (0) code. | |
75 | * tree-ssa-structalias.c (do_sd_constraint): Likewise. | |
76 | (do_ds_constraint): Likewise. | |
77 | ||
93d45d9e JM |
78 | 2008-04-02 Joseph Myers <joseph@codesourcery.com> |
79 | ||
80 | * doc/cppopts.texi (-dU): Document. | |
81 | * c-common.h (flag_dump_macros): Update comment. | |
82 | * c-opts.c (handle_OPT_d): Handle -dU. | |
83 | * c-ppoutput.c (macro_queue, define_queue, undef_queue, | |
84 | dump_queued_macros, cb_used_define, cb_used_undef): New. | |
85 | (init_pp_output): Handle -dU. | |
86 | (cb_line_change): Call dump_queued_macros. | |
87 | * toplev.c (decode_d_option): Accept -dU as preprocessor option. | |
88 | ||
e6b69d0e AS |
89 | 2008-04-02 Anatoly Sokolov <aesok@post.ru> |
90 | ||
91 | * config/avr/predicates.md (io_address_operand): New predicate. | |
92 | * config/avr/avr-protos.h (avr_io_address_p): Remove declaration. | |
93 | * config/avr/avr.c (avr_io_address_p): Remove function. | |
94 | (out_movqi_r_mr): Use 'io_address_operand' predicate instead of | |
95 | 'avr_io_address_p' function. | |
96 | (out_movhi_r_mr): (Ditto.). | |
97 | (out_movqi_mr_r): (Ditto.). | |
98 | (out_movhi_mr_r): (Ditto.). | |
99 | (avr_address_cost): (Ditto.). | |
100 | ||
7b198002 UB |
101 | 2008-04-02 Uros Bizjak <ubizjak@gmail.com> |
102 | ||
103 | * config/i386/i386.md (*float<SSEMODEI24:mode><X87MODEF:mode>2_1): | |
104 | Emit gen_floatdi<X87MODEF:mode>2_i387_with_xmm for DImode values | |
105 | in 32bit mode when XMM registers are available to avoid store | |
106 | forwarding stalls. | |
107 | (floatdi<X87MODEF:mode>2_i387_with_xmm): New insn pattern and | |
108 | corresponding post-reload splitters. | |
109 | ||
abe08645 L |
110 | 2008-04-02 H.J. Lu <hongjiu.lu@intel.com> |
111 | ||
112 | * config/i386/i386.c (bdesc_sse_3arg): Add __builtin_ia32_shufps | |
113 | and __builtin_ia32_shufpd. Provide __builtin_ia32_roundsd and | |
114 | __builtin_ia32_roundss. | |
115 | (ix86_init_mmx_sse_builtins): Remove __builtin_ia32_shufps, | |
116 | __builtin_ia32_shufpd, __builtin_ia32_roundsd and | |
117 | __builtin_ia32_roundss. | |
118 | (ix86_expand_builtin): Don't handle IX86_BUILTIN_SHUFPS and | |
119 | IX86_BUILTIN_SHUFPD here. | |
120 | ||
94237c92 L |
121 | 2008-04-02 H.J. Lu <hongjiu.lu@intel.com> |
122 | ||
123 | * config/i386/i386.md (plogic): New. | |
124 | (plogicprefix): Likewise. | |
125 | ||
126 | * config/i386/mmx.md (mmx_<code><mode>3): New. | |
127 | (mmx_and<mode>3): Removed. | |
128 | (mmx_ior<mode>3): Likewise. | |
129 | (mmx_xor<mode>3): Likewise. | |
130 | ||
131 | * config/i386/sse.md (<code><mode>3): New. | |
132 | (*<code><mode>3): Likewise. | |
133 | (*<code><mode>3): Likewise. | |
134 | (<code><mode>3): Likewise. | |
135 | (*sse_<code><mode>3): Likewise. | |
136 | (*sse2_<code><mode>3): Likewise. | |
137 | (<code>tf3): Likewise. | |
138 | (*<code>tf3): Likewise. | |
139 | (and<mode>3): Likewise. | |
140 | (*and<mode>3): Likewise. | |
141 | (ior<mode>3): Removed. | |
142 | (*ior<mode>3): Likewise. | |
143 | (xor<mode>3): Likewise. | |
144 | (*xor<mode>3): Likewise. | |
145 | (*and<mode>3): Likewise. | |
146 | (*ior<mode>3): Likewise. | |
147 | (*xor<mode>3): Likewise. | |
148 | (and<mode>3): Likewise. | |
149 | (*sse_and<mode>3): Likewise. | |
150 | (*sse2_and<mode>3): Likewise. | |
151 | (andtf3): Likewise. | |
152 | (*andtf3): Likewise. | |
153 | (ior<mode>3): Likewise. | |
154 | (*sse_ior<mode>3): Likewise. | |
155 | (*sse2_ior<mode>3): Likewise. | |
156 | (iortf3): Likewise. | |
157 | (*iortf3): Likewise. | |
158 | (xor<mode>3): Likewise. | |
159 | (*sse_xor<mode>3): Likewise. | |
160 | (*sse2_xor<mode>3): Likewise. | |
161 | (xortf3): Likewise. | |
162 | (*xortf3): Likewise. | |
163 | ||
b7814a18 RG |
164 | 2008-04-02 Richard Guenther <rguenther@suse.de> |
165 | ||
166 | PR tree-optimization/14495 | |
167 | PR tree-optimization/34793 | |
168 | * tree-vrp.c (struct switch_update): New structure. | |
169 | (to_remove_edges, to_update_switch_stmts): New VECs. | |
170 | (simplify_switch_using_ranges): New function. Remove not taken | |
171 | case labels and edges. | |
172 | (simplify_stmt_using_ranges): Call it. | |
173 | (identify_jump_threads): Mark edges we have queued for removal | |
174 | so we don't thread them. | |
175 | (execute_vrp): Remove edges queued for removal, update SWITCH_STMT | |
176 | case label vector. | |
177 | * tree-cfg.c (group_case_labels): Deal with missing default label. | |
178 | (tree_verify_flow_info): Allow missing default label. | |
179 | * stmt.c (emit_case_bit_tests): Deal with NULL default_label. | |
180 | (emit_case_nodes): Likewise. | |
181 | (expand_case): Do not rely on the default label to be present. | |
182 | * expr.c (try_casesi): Deal with NULL default_label. | |
183 | (do_tablejump): Likewise. | |
184 | ||
8aea0bf0 RG |
185 | 2008-04-02 Richard Guenther <rguenther@suse.de> |
186 | ||
187 | PR tree-optimization/14495 | |
188 | * tree-vrp.c (vrp_visit_cond_stmt): Do not handle | |
189 | SWITCH_EXPR here ... | |
190 | (vrp_visit_switch_stmt): ... but here (new function). | |
191 | (find_case_label_index): New helper function. | |
192 | (vrp_visit_stmt): Dispatch to vrp_visit_switch_stmt. | |
193 | ||
3f1c2278 PB |
194 | 2008-04-02 Paolo Bonzini <bonzini@gnu.org> |
195 | ||
196 | * fwprop.c: Fix ISO-C99ism. | |
197 | ||
da0f6381 PB |
198 | 2008-04-02 Paolo Bonzini <bonzini@gnu.org> |
199 | ||
200 | PR bootstrap/35752 | |
201 | * Makefile.in (objdir): Set it here. | |
202 | * configure.ac: Not here. Find dynamic linker characteristics. | |
203 | * exec-tool.in: Use them. | |
204 | * aclocal.m4: Regenerate. | |
205 | * configure: Regenerate. | |
206 | ||
4846b435 PB |
207 | 2008-04-02 Paolo Bonzini <bonzini@gnu.org> |
208 | ||
209 | * expr.c (expand_var): Delete it. | |
210 | * expr.h (expand_var): Delete prototype. | |
211 | * function.c (expand_function_start): Use expand_decl instead. | |
212 | * cfgexpand.c (expand_one_static_var, expand_one_var): Don't call | |
213 | langhook. | |
214 | ||
4fefbcdb AH |
215 | 2008-04-02 Andy Hutchinson <hutchinsonamdy@aim.com> |
216 | ||
217 | PR rtl-optimization/35542 | |
218 | * fwprop.c (forward_propagate_and_simplify): Replace | |
219 | loc_reg_mentioned_in_p with reg_mentioned_p. | |
220 | ||
460d667d PB |
221 | 2008-04-02 Paolo Bonzini <bonzini@gnu.org> |
222 | ||
4fefbcdb | 223 | PR rtl-optimization/35281 |
460d667d PB |
224 | * fwprop.c (PR_CAN_APPEAR, PR_HANDLE_MEM): New. |
225 | (propagate_rtx_1): Handle PR_HANDLE_MEM. | |
226 | (propagate_rtx): Pass PR_HANDLE_MEM if appropriate. | |
227 | (varying_mem_p): Move above propagate_rtx. | |
228 | (all_uses_available_at): Do not check MEMs. | |
229 | ||
a26a02d7 RAE |
230 | 2008-04-02 Rafael Espindola <espindola@google.com> |
231 | ||
232 | * tree-vrp.c (extract_code_and_val_from_cond): Remove. | |
233 | (register_edge_assert_for_2): Split the cond argument. | |
234 | (register_edge_assert_for_1): Adjust for the change in | |
235 | register_edge_assert_for_2. | |
236 | (register_edge_assert_for): Split the cond argument. | |
237 | (find_switch_asserts): Adjust for the change in | |
238 | register_edge_assert_for. | |
239 | ||
e8930cc1 KT |
240 | 2008-04-02 Kai Tietz <kai.tietz@onevision.com> |
241 | ||
242 | * config.gcc: Add for x86_64-*-mingw* the t-crtfm to tbuild. | |
893125e0 KT |
243 | * gcc/config/i386/cygming.h (ASM_OUTPUT_DWARF_OFFSET): Add 8 byte |
244 | offsets for 64-bit mingw. | |
245 | * gcc/config/i386/i386.c (ix86_pass_by_reference): Correct calling | |
246 | abi for x86_64-pc-mingw. | |
e8930cc1 | 247 | |
70b7b037 RG |
248 | 2008-04-02 Richard Guenther <rguenther@suse.de> |
249 | ||
250 | * tree-vrp.c (extract_range_from_assert): Make sure to not | |
251 | produce range min/max with TREE_OVERFOW set. | |
252 | If merging a anti-range and a range keep the anti-range if | |
253 | the range covers all values of the type. | |
254 | (register_edge_assert_for_2): Only allow sign-changing | |
255 | conversions in detecting canonical range checks. Also | |
256 | register an assert for the unsigned name if useful. | |
257 | ||
258 | PR tree-optimization/35787 | |
259 | * tree-vrp.c (vrp_val_max): New function. | |
260 | (vrp_val_min): Likewise. | |
261 | (vrp_val_is_max): Move earlier, use vrp_val_{min,max}. | |
262 | (vrp_val_is_min): Likewise. | |
263 | (supports_overflow_infinity): Use vrp_val_{min,max}. | |
264 | (negative_overflow_infinity): Likewise. | |
265 | (positive_overflow_infinity): Likewise. | |
266 | (is_negative_overflow_infinity): Use vrp_val_is_{min,max}. | |
267 | (is_positive_overflow_infinity): Likewise. | |
268 | (is_overflow_infinity): Likewise. | |
269 | (avoid_overflow_infinity): Use vrp_val_{min,max} and | |
270 | vrp_val_is_{min,max}. | |
271 | (set_and_canonicalize_value_range): Canonicalize anti-ranges | |
272 | to ranges if possible. Avoid empty ranges. | |
273 | ||
10743280 JDA |
274 | 2008-04-01 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
275 | ||
276 | PR middle-end/35705 | |
277 | * fold-const.c (get_pointer_modulus_and_residue): Return modulus 1 if | |
278 | the expression is a function address. | |
279 | ||
7151ffbe GH |
280 | 2008-04-01 George Helffrich <george@gcc.gnu.org> |
281 | ||
282 | PR fortran/PR35154, fortran/PR23057 | |
283 | * fortran/trans-common.c (create_common): Add decl to function | |
284 | chain to preserve identifier scope in debug output. | |
285 | ||
286 | * dbxout.c: Emit .stabs debug info for Fortran COMMON block | |
287 | variables as base symbol name + offset using N_BCOMM/N_ECOMM. | |
288 | (is_fortran, dbxout_common_name, dbxout_common_check): New functions. | |
289 | (dbxout_symbol_location): Transform N_LCSYM to N_GSYM for storage | |
290 | in common. | |
291 | (dbxout_syms): Check for COMMON-based symbol and wrap in | |
292 | N_BCOMM/N_ECOMM stab bracket, including as many symbols as possible | |
293 | in bracket for efficiency. | |
294 | ||
295 | * dwarf2out.c: Emit DWARF debug info for Fortran COMMON block | |
296 | using DW_TAG_common_block + member offset. | |
297 | (add_pubname_string): New function. | |
298 | (dw_expand_expr): New function to find block name and offset for | |
299 | COMMON var. | |
300 | (common_check): New function to check whether symbol in Fortran COMMON. | |
301 | (gen_variable_die): If COMMON, use DW_TAG_common_block. | |
302 | ||
303 | * testsuite/gcc.dg/debug/pr35154.c: New test to check that non-Fortran | |
304 | use of common is unchanged. | |
305 | ||
306 | * testsuite/lib/gfortran-dg.exp: New harness to compile Fortran progs | |
307 | with all combinations of debug options available on target. | |
308 | * testsuite/gfortran.dg/debug/debug.exp: Ditto. | |
309 | * testsuite/gfortran.dg/debug/trivial.f: Ditto. | |
310 | * testsuite/gfortran.dg/debug/pr35154-stabs.f: New test case for | |
311 | .stabs functionality. | |
312 | * testsuite/gfortran.dg/debug/pr35154-dwarf2.f: New test case for | |
313 | DWARF functionality. | |
314 | ||
dc197ab9 VR |
315 | 2008-04-01 Volker Reichelt <v.reichelt@netcologne.de> |
316 | ||
317 | PR c/35436 | |
318 | * c-format.c (init_dynamic_gfc_info): Ignore invalid locus type. | |
319 | ||
9e9b5341 BE |
320 | 2008-04-02 Ben Elliston <bje@au.ibm.com> |
321 | ||
322 | * config/v850/v850.md (casesi): Remove if (0) code. | |
323 | * config/i386/uwin.h (ASM_DECLARE_FUNCTION_NAME): Likewise. | |
324 | * config/alpha/alpha.c (alpha_initialize_trampoline): Likewise. | |
325 | ||
380edc9f UB |
326 | 2008-04-01 Uros Bizjak <ubizjak@gmail.com> |
327 | ||
328 | * config/i386/i386.md (rex64suffix): New mode attribute. | |
329 | (floathi<mode>2): Disable expander for SSE math. | |
330 | (*floathi<mode>2_1): New insn insn_and_split pattern. | |
331 | (*floathi<mode>2_i387_with_temp): New macroized instruction pattern and | |
332 | corresponding post-reload splitters. | |
333 | (*floathi<mode>2_i387): New macroized insn pattern. | |
334 | (float<SSEMODEI24:mode><X87MODEF:mode>2): New macroized expander. | |
335 | (*float<SSEMODEI24:mode><X87MODEF:mode>2_1): New macroized | |
336 | insn_and_split pattern. | |
337 | (*floatsi<mode>2_vector_mixed_with_temp, *floatsi<mode>2_vector_mixed): | |
338 | New macroized instruction patterns and corresponding post-reload | |
339 | splitters. | |
340 | (*floatsi<mode>2_mixed_with_temp): New macroized instruction pattern | |
341 | and corresponding post-reload splitters. | |
342 | (*floatsi<mode>2_mixed_interunit, *floatsi<mode>2_mixed_nointerunit): | |
343 | New macroized instruction patterns. | |
344 | (*floatsi<mode>2_vector_sse_with_temp, *floatsi<mode>2_vector_sse): New | |
345 | macroized instruction patterns and corresponding post-reload splitters. | |
346 | (*floatsi<mode>2_sse_with_temp): New macroized instruction pattern and | |
347 | corresponding post-reload splitters. | |
348 | (*floatsi<mode>2_sse_interunit, *floatsi<mode>2_mixed_nointerunit): | |
349 | New macroized instruction patterns. | |
350 | (*floatsi<mode>2_i387_with_temp): New macroized instruction pattern and | |
351 | corresponding post-reload splitters. | |
352 | (*floatsi<mode>2_i387): New macroized instruction patterns. | |
353 | ||
78e8956b L |
354 | 2008-04-01 H.J. Lu <hongjiu.lu@intel.com> |
355 | ||
356 | * config/i386/i386.md (smaxmin): New. | |
357 | (umaxmin): Likewise. | |
358 | (maxminiprefix): Likewise. | |
359 | (maxminfprefix): Likewise. | |
360 | (<code><mode>3): Likewise. | |
361 | (smin<mode>3): Removed. | |
362 | (smax<mode>3): Likewise. | |
363 | ||
364 | * config/i386/mmx.md (mmx_<code>v2sf3): New. | |
365 | (mmx_<code>v4hi3): Likewise. | |
366 | (mmx_<code>v8qi3): Likewise. | |
367 | (mmx_smaxv2sf3): Removed. | |
368 | (mmx_sminv2sf3): Likewise. | |
369 | (mmx_umaxv8qi3): Likewise. | |
370 | (mmx_smaxv4hi3): Likewise. | |
371 | (mmx_uminv8qi3): Likewise. | |
372 | (mmx_sminv4hi3): Likewise. | |
373 | ||
374 | * config/i386/sse.md (<addsub><mode>3): New. | |
375 | (*<addsub><mode>3): Likewise. | |
376 | (<sse>_vm<addsub><mode>3): Likewise. | |
377 | (<maxmin><mode>3): Likewise. | |
378 | (*<maxmin><mode>3_finite): Likewise. | |
379 | (*<maxmin><mode>3): Likewise. | |
380 | (<sse>_vm<maxmin><mode>3): Likewise. | |
381 | (sse3_h<addsub>v4sf3): Likewise. | |
382 | (sse3_h<addsub>v2df3): Likewise. | |
383 | (<maxmin>v16qi3): Likewise. | |
384 | (*<maxmin>v16qi3): Likewise. | |
385 | (<maxmin>v8hi3): Likewise. | |
386 | (*<maxmin>v8hi3): Likewise. | |
387 | (*sse4_1_<maxmin><mode>3): Likewise. | |
388 | (*sse4_1_<maxmin><mode>3): Likewise. | |
389 | (add<mode>3): Removed. | |
390 | (*add<mode>3): Likewise. | |
391 | (<sse>_vmadd<mode>3): Likewise. | |
392 | (sub<mode>3): Likewise. | |
393 | (*sub<mode>3): Likewise. | |
394 | (<sse>_vmsub<mode>3): Likewise. | |
395 | (smin<mode>3): Likewise. | |
396 | (*smin<mode>3_finite): Likewise. | |
397 | (*smin<mode>3): Likewise. | |
398 | (<sse>_vmsmin<mode>3): Likewise. | |
399 | (smax<mode>3): Likewise. | |
400 | (*smax<mode>3_finite): Likewise. | |
401 | (*smax<mode>3): Likewise. | |
402 | (<sse>_vmsmax<mode>3): Likewise. | |
403 | (sse3_haddv4sf3): Likewise. | |
404 | (sse3_haddv2df3): Likewise. | |
405 | (sse3_hsubv4sf3): Likewise. | |
406 | (sse3_hsubv2df3): Likewise. | |
407 | (umaxv16qi3): Likewise. | |
408 | (*umaxv16qi3): Likewise. | |
409 | (smaxv8hi3): Likewise. | |
410 | (*smaxv8hi3): Likewise. | |
411 | (*sse4_1_smax<mode>3): Likewise. | |
412 | (*sse4_1_umax<mode>3): Likewise. | |
413 | (uminv16qi3): Likewise. | |
414 | (*uminv16qi3): Likewise. | |
415 | (sminv8hi3): Likewise. | |
416 | (*sminv8hi3): Likewise. | |
417 | (*sse4_1_smin<mode>3): Likewise. | |
418 | (*sse4_1_umin<mode>3): Likewise. | |
419 | ||
220f1c29 RAE |
420 | 2008-04-01 Rafael Espindola <espindola@google.com> |
421 | ||
422 | * tree-cfg.c (verify_expr): remove in_phi. | |
78e8956b | 423 | (verify_stmt): Don't call walk_tree with verify_expr. Use |
220f1c29 RAE |
424 | is_gimple_min_invariant instead of is_gimple_val. |
425 | ||
7f9766e4 JM |
426 | 2008-04-01 Joseph Myers <joseph@codesourcery.com> |
427 | ||
428 | * doc/include/gpl_v3.texi: Update for manpage generation. | |
429 | * doc/gcc.texi, doc/gccint.texi: Include gpl_v3.texi instead of | |
430 | gpl.texi. | |
431 | * doc/sourcebuild.texi: Document gpl_v3.texi as well as gpl.texi. | |
432 | * Makefile.in (TEXI_GCC_FILES, TEXI_GCCINT_FILES): Include | |
433 | gpl_v3.texi instead of gpl.texi. | |
434 | (gpl.pod): New. | |
435 | ||
d4c32e1d JJ |
436 | 2008-04-01 Jakub Jelinek <jakub@redhat.com> |
437 | ||
438 | PR pch/13675 | |
439 | * c-pch.c (c_common_read_pch): On error close (fd) resp. fclose (f). | |
440 | ||
764a79ed RAE |
441 | 2008-04-01 Rafael Espindola <espindola@google.com> |
442 | ||
443 | * tree-vrp.c (extract_code_and_val_from_cond_with_ops): New. | |
444 | (extract_code_and_val_from_cond): Use | |
445 | extract_code_and_val_from_cond_with_ops. | |
446 | ||
113c63b8 JH |
447 | 2008-04-01 Jan Hubicka <jh@suse.cz> |
448 | ||
449 | * function.c (free_after_compilation): Free epilogue_delay_list. | |
450 | (prepare_function_start): Assert that previous compilation was freed. | |
451 | ||
ec24c3a3 JH |
452 | 2008-04-01 Jan Hubicka <jh@suse.cz> |
453 | Jim Wilson <wilson@tuliptree.org> | |
454 | Andreas Tobler <andreast@gcc.gnu.org> | |
455 | ||
456 | PR middle-end/35781 | |
457 | * m32c/m32.c (m32c_leaf_function_p, m32c_function_needs_enter): Use | |
458 | rtl.emit instead cfun->emit. | |
459 | * sparc/sparc.h (INIT_EXPANDERS): Likewise. | |
460 | * ia64/ia64.h (INIT_EXPANDERS): Likewise. | |
461 | ||
1b82c3aa BE |
462 | 2008-04-01 Ben Elliston <bje@au.ibm.com> |
463 | ||
464 | * doc/c-tree.texi (Function Basics): Fix grammatical error. | |
465 | ||
2f908293 SP |
466 | 2008-03-31 Seongbae Park <seongbae.park@gmail.com> |
467 | ||
468 | * common.opt (fprofile-dir=, fprofile-use=, fprofile-generate=): | |
469 | New options | |
470 | (fprofile-use): Add var flag_profile_use | |
380edc9f UB |
471 | * coverage.c (coverage_begin_output): Do not open a gcno file for |
472 | output only if -ftest-coverage is set. | |
2f908293 | 473 | Do not add getpwd() to gcda file path. |
380edc9f | 474 | (build_gcov_info): Check the new flag |
2f908293 SP |
475 | flag_profile_datafile_relative_path. |
476 | (coverage_init): Use profile_data_prefix. | |
477 | Read profile counter only if flag_profile_use is set. | |
478 | * opts.c (common_handle_option): New option fprofile-use=, | |
479 | fprofile-dir=, fprofile-generate=. | |
480 | * toplev.c (profile_data_prefix): New variable definition. | |
481 | * toplev.h (profile_data_prefix): New declaration. | |
482 | * doc/invoke.tex (Option Summary, Optimization Options): | |
483 | Add new options. | |
484 | ||
1def9c3f JW |
485 | 2008-03-31 James E. Wilson <wilson@tuliptree.org> |
486 | ||
380edc9f UB |
487 | * varasm.c (output_constant_pool_1): In LABEL_REF check, |
488 | use tmp consistently. | |
048ffb8f | 489 | |
1def9c3f JW |
490 | PR target/35695 |
491 | * config/ia64/div.md (recip_approx_rf): Use UNSPEC not DIV. | |
492 | * config/ia64/ia64.c (rtx_needs_barrier): Handle | |
493 | UNSPEC_FR_RECIP_APPROX_RES. | |
494 | * config/ia64/ia64.md (UNSPEC_FR_RECIP_APPROX_RES): Define. | |
495 | ||
bb686a19 VR |
496 | 2008-03-31 Volker Reichelt <v.reichelt@netcologne.de> |
497 | ||
498 | PR c/35750 | |
499 | * c-decl.c (store_parm_decls_oldstyle): Skip invalid parameters. | |
500 | ||
a12bdb97 AP |
501 | 2008-03-31 Andrew Pinski <andrew_pinski@playstation.sony.com> |
502 | ||
503 | PR middle-end/30186 | |
504 | * fold-const.c (fold_indirect_ref_1): Support accessing non first | |
505 | element of the vector via a pointer. | |
506 | ||
2d4bba80 ILT |
507 | 2008-03-31 Ian Lance Taylor <iant@google.com> |
508 | ||
380edc9f | 509 | * tlink.c (scan_linker_output): Look for symbol name in single quotes. |
2d4bba80 | 510 | |
bd60bab2 JH |
511 | 2008-03-31 Jan Hubicka <jh@suse.cz> |
512 | ||
513 | * builtins.c (expand_builtin_setjmp_receiver): Update call of | |
514 | get_arg_pointer_save_area. | |
515 | * expr.c (init_expr): Just clear out rtl.expr. | |
516 | * function.c (free_after_compilation): Clear out whole RTL structure. | |
517 | (get_func_frame_size): Merge into ... | |
518 | (get_frame_size): ... this one. | |
519 | (assign_stack_local_1): Merge into ... | |
520 | (assign_stack_local): ... this one. | |
521 | (expand_function_end): Update call of get_arg_pointer_save_area. | |
522 | (get_art_pointer_save_area): Remove cfun argument. | |
523 | * function.h (emit_status): regno_pointer_align does not need length | |
524 | attribute. Move x_regno_reg_rtx to ... | |
525 | (regno_reg_rtx): ... new global array. | |
526 | (reg_rtx_no, seq_stack, REGNO_POINTER_ALIGN): Update accestors. | |
527 | (pending_stack_adjust, inhibit_defer_pop, saveregs_value, | |
380edc9f UB |
528 | apply_args_value, forced_labels, stack_pointer_delta): |
529 | Update accestors. | |
bd60bab2 JH |
530 | (struct varasm_status): Move here from varasm.c |
531 | (struct rtl_data): New. Move here some fields from struct function. | |
532 | (return_label, naked_return_label, stack_slot_list, parm_birth_insn, | |
533 | frame_offset, stack_check_probe_note, arg_pointer_save_area, | |
534 | used_temp_slots avail_temp_slots, temp_slot_level, | |
535 | nonlocal_goto_handler_labels): Update accesstors. | |
536 | (rtl): New global variable. | |
537 | (struct function): Move some fileds to rtl_data. | |
538 | (get_arg_pointer_save_area): Update prototype. | |
539 | * emit-rtl.c (rtl): Declare. | |
540 | (regno_reg_rtx): Declare. | |
380edc9f UB |
541 | (first_insn, last_insn, cur_insn_uid, last_location, first_label_num): |
542 | Update. | |
bd60bab2 JH |
543 | (gen_reg_rtx): Update. |
544 | (init_virtual_regs): Do not tate emit_status argument. | |
545 | (init_emit): Do not allocate emit. | |
546 | * varasm.c (varasm_statuc): Move to function.h. | |
547 | (n_deferred_constatns): Update accestor. | |
548 | (init_varasm_status): Do not allocate varasm_status. | |
549 | (force_const_mem, get_pool_size, output_constant_pool): Update. | |
550 | * stmt.c (force_label_rtx): Do not use x_ prefixes. | |
551 | (expand_nl_goto_receiver): Update get_arg_pointer_save_area. | |
552 | ||
66f91b93 ZD |
553 | 2008-03-31 Zdenek Dvorak <ook@ucw.cz> |
554 | ||
555 | PR rtl-optimization/35729 | |
556 | * loop-invariant.c (check_maybe_invariant): Disallow volatile memory | |
557 | references. | |
558 | ||
66e1ecfe L |
559 | 2008-03-31 H.J. Lu <hongjiu.lu@intel.com> |
560 | ||
561 | PR target/32000 | |
562 | * config/i386/i386.md (*movti_internal): Emit unaligned SSE | |
563 | load/store if memory is unaligned. | |
564 | (*movti_rex64): Likewise. | |
565 | ||
566 | * config/i386/predicates.md (misaligned_operand): New. | |
567 | ||
550386ad AP |
568 | 2008-03-31 Andrew Pinski <pinskia@gmail.com> |
569 | ||
570 | PR tree-opt/35431 | |
571 | * tree-ssa-phiopt.c (conditional_replacement): Return early for | |
572 | complex types. | |
573 | ||
4e483a22 JB |
574 | 2008-03-31 Jan Beulich <jbeulich@novell.com> |
575 | ||
576 | * config/ia64/constraints.md: Add 'j' constraint. | |
577 | * config/ia64/ia64.md (movsi_internal): Add addp4 case. | |
578 | (movdi_internal): Likewise. | |
579 | ||
39ffbac9 VR |
580 | 2008-03-30 Volker Reichelt <v.reichelt@netcologne.de> |
581 | ||
582 | PR c/35748 | |
583 | * c-typeck.c (build_c_cast): Skip invalid fields in unions. | |
584 | ||
23594c97 L |
585 | 2008-03-30 H.J. Lu <hongjiu.lu@intel.com> |
586 | ||
587 | PR target/35757 | |
588 | * config/i386/i386.c (ix86_expand_sse_4_operands_builtin): Issue | |
589 | proper error message for the third argument on blendpd and | |
590 | blendps. | |
591 | ||
592 | * config/i386/sse.md (blendbits): New. | |
593 | (sse4_1_blendp<ssemodesuffixf2c>): Use it. | |
594 | ||
8f0e2671 EB |
595 | 2008-03-30 Eric Botcazou <ebotcazou@adacore.com> |
596 | ||
597 | * fold-const.c (fold_binary) <BIT_IOR_EXPR>: Add missing conversions. | |
598 | ||
96648603 RG |
599 | 2008-03-30 Richard Guenther <rguenther@suse.de> |
600 | ||
601 | PR middle-end/31023 | |
602 | * fold-const.c (fold_sign_changed_comparison): Do leave | |
603 | conversions to base-types alone. | |
604 | ||
3ac0963a AP |
605 | 2008-03-29 Andrew Pinski <andrew_pinski@playstation.sony.com> |
606 | ||
607 | * config/rs6000/rs6000.c (rs6000_stack_info): Don't force saving of | |
608 | the link register if one altivec register is be saved. | |
609 | ||
744c6d6e BE |
610 | 2008-03-30 Ben Elliston <bje@au.ibm.com> |
611 | ||
612 | * final.c (final_scan_insn): Remove if (0) code. | |
613 | ||
dbc518f0 VR |
614 | 2008-03-28 Volker Reichelt <v.reichelt@netcologne.de> |
615 | ||
616 | * c-parser.c (c_parser_next_token_is_keyword): Simplify. | |
617 | ||
ad387dad L |
618 | 2008-03-28 H.J. Lu <hongjiu.lu@intel.com> |
619 | ||
620 | * config/i386/sse.md (*and<mode>3): Pass <MODE>mode instead | |
621 | of V4SFmode to ix86_binary_operator_ok. | |
622 | ||
9aba5d22 UB |
623 | 2008-03-28 Uros Bizjak <ubizjak@gmail.com> |
624 | ||
625 | * config/i386/i386.c (override_options): Initialize | |
626 | ix86_veclib_handler to ix86_veclibabi_svml when | |
627 | -mveclibabi=svml is used. | |
628 | (ix86_veclibabi_svml): New function for SVML ABI style | |
629 | vectorization support. | |
630 | * doc/invoke.texi (-mveclibabi) [svml]: Document new target option. | |
631 | ||
2d3cd5d5 RAE |
632 | 2008-03-28 Rafael Espindola <espindola@google.com> |
633 | ||
634 | * fold-const.c (tree_unary_nonnegative_warnv_p): Make it public. | |
635 | (tree_binary_nonnegative_warnv_p): Make it public. | |
636 | (tree_single_nonnegative_warnv_p): Make it public. | |
637 | (tree_invalid_nonnegative_warnv_p): Make it public. | |
638 | (tree_unary_nonzero_warnv_p): Make it public. | |
639 | (tree_binary_nonzero_warnv_p): Make it public | |
640 | (tree_single_nonzero_warnv_p): Make it public. | |
641 | * tree-vrp.c (vrp_evaluate_conditional_warnv_with_ops): New function. | |
642 | (extract_range_from_binary_expr): Split the expr argument. | |
643 | (extract_range_from_unary_expr): Split the expr argument. | |
644 | (extract_range_from_comparison): Split the expr argument. | |
645 | (extract_range_from_expr): Use the new aux functions. | |
646 | (vrp_evaluate_conditional_warnv): Use | |
647 | vrp_evaluate_conditional_warnv_with_ops. | |
648 | * tree.h (tree_unary_nonzero_warnv_p): Declare. | |
649 | (tree_binary_nonzero_warnv_p): Declare. | |
650 | (tree_single_nonzero_warnv_p): Declare. | |
651 | (tree_expr_nonzero_warnv_p): Declare. | |
652 | (tree_unary_nonnegative_warnv_p): Declare. | |
653 | (tree_binary_nonnegative_warnv_p): Declare. | |
654 | (tree_single_nonnegative_warnv_p): Declare. | |
655 | (tree_invalid_nonnegative_warnv_p): Declare. | |
656 | ||
2ab8dbf4 RG |
657 | 2008-03-28 Richard Guenther <rguenther@suse.de> |
658 | ||
659 | PR tree-optimization/30317 | |
660 | PR tree-optimization/30911 | |
661 | PR tree-optimization/34793 | |
662 | * tree-vrp.c (set_and_canonicalize_value_range): New function. | |
663 | (struct assert_locus_d): New member EXPR. | |
664 | (register_new_assert_for): Add EXPR parameter to support | |
665 | ASSERT_EXPR <name, expr OP limit>. | |
666 | (register_edge_assert_for_1): Adjust callers. | |
667 | (find_assert_locations): Likewise. | |
9aba5d22 | 668 | (process_assert_insertions_for): Build condition from expression. |
2ab8dbf4 RG |
669 | (extract_range_from_assert): Handle ASSERT_EXPRs |
670 | of the form ASSERT_EXPR <name, expr OP limit>. | |
671 | (register_edge_assert_for_2): New helper registering | |
672 | asserts for comparisons. Recognize range tests of the form | |
673 | (unsigned)i - CST1 OP CST2. | |
674 | (register_edge_assert_for_1): Use it. | |
675 | (register_edge_assert_for): Likewise. | |
676 | (needs_overflow_infinity): Integer sub-types | |
677 | do not need overflow infinities. | |
678 | (vrp_val_is_max): The extreme values of integer sub-types | |
679 | are those of the base type. | |
680 | (vrp_val_is_min): Likewise. | |
681 | * tree.def (ASSERT_EXPR): Document extra allowed conditional | |
682 | expressions. | |
683 | ||
fc4f3261 NC |
684 | 2008-03-28 Nick Clifton <nickc@redhat.com> |
685 | ||
686 | * config/mn10300/mn10300.c (mn10300_secondary_reload_class): | |
9aba5d22 | 687 | Return GENERAL_REGS for stack adjustment reloads. |
fc4f3261 | 688 | |
501fb355 AP |
689 | 2008-03-28 Andrew Pinski <andrew_pinski@playstation.sony.com> |
690 | ||
691 | PR target/31334 | |
692 | * config/rs6000/rs6000.c (rs6000_expand_vector_init): Create a | |
693 | const_vector when all the vectors are constant. | |
694 | ||
ff779f98 BW |
695 | 2008-03-27 Bob Wilson <bob.wilson@acm.org> |
696 | ||
697 | * config/xtensa/xtensa.c (gen_float_relational): Handle unordered | |
698 | comparisons. | |
699 | * config/xtensa/xtensa.md (any_cond): Add unordered comparisons. | |
700 | (any_scc_sf): Add uneq, unlt, unle and unordered operators. | |
701 | (scc_sf): New. | |
702 | (s<code>_sf): Use new scc_sf attribute for opcode names. | |
703 | ||
e980df8e TT |
704 | 2008-03-27 Tom Tromey <tromey@redhat.com> |
705 | ||
706 | * doc/sourcebuild.texi, doc/install.texi, configure, aclocal.m4, | |
707 | configure.ac, Makefile.in, config/t-darwin, config/m32c/t-m32c, | |
708 | config/spu/t-spu-elf, config/i386/t-interix, | |
709 | config/i386/t-cygming, config/i386/x-i386, config/i386/t-cygwin, | |
710 | config/i386/x-darwin, config/i386/x-mingw32, | |
711 | config/i386/t-netware, config/i386/x-cygwin, config/i386/t-nwld, | |
712 | config/sh/t-sh, config/sh/t-symbian, config/x-linux, | |
713 | config/t-sol2, config/x-hpux, config/x-darwin, config/ia64/t-ia64, | |
714 | config/x-solaris, config/t-vxworks, config/m68k/t-uclinux, | |
715 | config/rs6000/x-rs6000, config/rs6000/x-darwin64, | |
716 | config/rs6000/x-darwin, config/rs6000/t-rs6000, | |
717 | config/score/t-score-elf, config/arm/t-strongarm-pe, | |
718 | config/arm/t-pe, config/arm/t-arm, config/arm/t-wince-pe, | |
719 | config/v850/t-v850, config/v850/t-v850e, config/bfin/t-bfin-linux: | |
720 | Revert automatic dependency patch. | |
721 | ||
c84555eb L |
722 | 2008-03-27 H.J. Lu <hongjiu.lu@intel.com> |
723 | ||
724 | PR target/35657 | |
725 | * config/i386/i386.c (ix86_function_arg_boundary): Align | |
726 | decimal floating point to its natural boundary. | |
727 | ||
ffd837fe RG |
728 | 2008-03-27 Richard Guenther <rguenther@suse.de> |
729 | ||
730 | PR middle-end/35716 | |
731 | * fold-const.c (fold_comparison): Restrict distinct decl | |
732 | comparison folding to VAR_DECLs and PARM_DECLs. Do not | |
733 | solely rely on operand_equal_p. | |
734 | ||
6b4e94bc RG |
735 | 2008-03-27 Richard Guenther <rguenther@suse.de> |
736 | ||
737 | PR c/32511 | |
738 | * c-common.c (handle_weak_attribute): Reject combination of | |
739 | weak and inline. | |
740 | ||
62bc00e2 RG |
741 | 2008-03-27 Richard Guenther <rguenther@suse.de> |
742 | ||
743 | PR tree-optimization/32810 | |
744 | * tree-ssa-ccp.c (get_symbol_constant_value): Strip useless | |
745 | conversions from DECL_INITIAL. | |
746 | (fold_const_aggregate_ref): Likewise from constructor elements. | |
747 | ||
72425608 ZD |
748 | 2008-03-27 Zdenek Dvorak <ook@ucw.cz> |
749 | ||
750 | * tree-affine.h (aff_combination_expand): Declare. | |
751 | (get_inner_reference_aff): Likewise. | |
752 | * tree-affine.c (aff_combination_expand): Split out from | |
753 | tree_to_aff_combination_expand. | |
754 | (get_inner_reference_aff): New function. | |
755 | * tree-parloops.c (loop_parallel_p): Free vectorizer info. | |
9aba5d22 UB |
756 | * tree-ssa-loop-im.c: Include tree-affine.h and pointer-set.h. |
757 | (struct lim_aux_data): sm_done field removed. | |
758 | (mem_ref_loc_p, mem_ref_locs_p): New types. | |
759 | (struct mem_ref): Added id, stored, accesses_in_loop, | |
760 | indep_loop, dep_loop, indep_ref, dep_ref fields. | |
761 | Removed is_stored, locs and next fields. | |
762 | (memory_accesses): New variable. | |
763 | (movement_possibility): Do not allow moving statements | |
764 | that store to memory. | |
765 | (outermost_indep_loop, simple_mem_ref_in_stmt, mem_ref_in_stmt): | |
766 | New functions. | |
767 | (determine_max_movement): For statements with memory references, | |
768 | find the outermost loop in that the reference is independent. | |
769 | (move_computations_stmt): Mark the virtual operands for renaming. | |
770 | (memref_free, mem_ref_alloc, mem_ref_locs_alloc, mark_ref_stored, | |
771 | gather_mem_refs_stmt, gather_mem_refs_in_loops, vtoe_hash, vtoe_eq, | |
772 | vtoe_free, record_vop_access, get_vop_accesses, get_vop_stores, | |
773 | add_vop_ref_mapping, create_vop_ref_mapping_loop, | |
774 | create_vop_ref_mapping, analyze_memory_references, | |
775 | cannot_overlap_p, mem_refs_may_alias_p, rewrite_mem_ref_loc, | |
776 | get_all_locs_in_loop, ref_always_accessed_p, | |
777 | refs_independent_p, record_indep_loop, ref_indep_loop_p_1, | |
778 | ref_indep_loop_p, can_sm_ref_p, find_refs_for_sm, | |
779 | store_motion_loop, store_motion): New functions. | |
780 | (struct vop_to_refs_elt): New type. | |
781 | (record_mem_ref_loc, free_mem_ref_locs, rewrite_mem_refs, | |
782 | memref_hash, memref_eq, hoist_memory_references): Rewritten. | |
783 | (schedule_sm): Replaced by... | |
784 | (execute_sm): ... this. | |
785 | (determine_lsm_ref, hoist_memory_references, | |
786 | loop_suitable_for_sm, gather_mem_refs_stmt, gather_mem_refs, | |
787 | find_more_ref_vops, free_mem_ref, free_mem_refs, | |
788 | determine_lsm_loop, determine_lsm): Removed. | |
789 | (tree_ssa_lim_finalize): Free data structures used by store motion. | |
790 | (tree_ssa_lim): Call analyze_memory_references. Use | |
791 | store_motion instead of determine_lsm. | |
72425608 | 792 | |
a929bc28 PB |
793 | 2008-03-27 Paolo Bonzini <bonzini@gnu.org> |
794 | ||
795 | * config.cc (m68hc11, m6811, m68hc12, m6812): Add usegas.h, | |
796 | rename tmake_file to m68hc11/t-m68hc11. | |
797 | (mcore): Set inhibit_libc to true. | |
798 | * config.host (alpha*-dec-*vms*): Set extra_programs. | |
799 | (interix3*): Don't use host_xmake_file. | |
800 | * configure.ac: Let config.gcc override inhibit_libc. | |
801 | * configure: Regenerate. | |
802 | ||
803 | * config/alpha/x-vms (EXTRA_PROGRAMS): Remove. | |
804 | * config/t-openbsd-thread: Remove commented out lines. | |
805 | ||
806 | * config/x-interix: Remove. | |
807 | ||
808 | * config/m68hc11/t-m68hc11-gas: Rename to... | |
809 | * config/m68hc11/t-m68hc11: ... this. Remove T_CPPFLAGS. | |
810 | ||
811 | * config/mcore/t-mcore: Remove T_CFLAGS. | |
812 | * config/mcore/t-mcore-pe: Likewise. | |
813 | ||
60d26958 PB |
814 | 2008-03-27 Paolo Bonzini <bonzini@gnu.org> |
815 | ||
816 | * configure.ac: Replace custom __GNU_SOURCE test with | |
817 | AC_USE_SYSTEM_EXTENSIONS. Move it earlier. | |
818 | * aclocal.m4: Regenerate. | |
819 | * configure: Regenerate. | |
820 | * config.in: Regenerate. | |
821 | ||
bd03c084 RG |
822 | 2008-03-27 Richard Guenther <rguenther@suse.de> |
823 | ||
824 | * fold-const.c (target.h): Include. | |
825 | (fold_comparison): Fold comparison of addresses of decls | |
826 | that bind locally or of constants. Consolidate address folding code. | |
827 | * tree-vrp.c (operand_less_p): Deal with non-INTEGER_CST | |
828 | results from fold_binary_to_constant. | |
829 | (compare_values_warnv): Likewise. | |
830 | ||
87a72aa8 AP |
831 | 2008-03-27 Andrew Pinski <pinskia@gmail.com> |
832 | ||
833 | PR middle-end/35429 | |
834 | * fold-const.c (fold_truthop): Check for integeral types when folding | |
835 | a == 0 && b == 0 and a != 0 || b != 0 . | |
836 | ||
6e1b3420 EB |
837 | 2008-03-26 Eric Botcazou <ebotcazou@adacore.com> |
838 | ||
839 | * tree.c (get_unwidened): Remove code fiddling with COMPONENT_REF. | |
840 | ||
33558d94 AS |
841 | 2008-03-26 Andreas Schwab <schwab@suse.de> |
842 | ||
843 | * doc/invoke.texi: Fix use of @item vs. @itemx. | |
844 | ||
f6a9a9af TT |
845 | 2008-03-26 Tom Tromey <tromey@redhat.com> |
846 | ||
847 | * Makefile.in (build/gensupport.o, build/print-rtl.o, | |
848 | build/read-rtl.o, build/rtl.o, build/gencondmd.o, build/genattr.o, | |
849 | build/genattrtab.o, build/genautomata.o, build/gencheck.o, | |
850 | build/gencodes.o, build/genconditions.o, build/genconfig.o, | |
851 | build/genconstants.o, build/genemit.o, build/genextract.o, | |
852 | build/genflags.o, build/genmddeps.o, build/genopinit.o, | |
853 | build/genoutput.o, build/genpeep.o, build/genrecog.o): Depend on | |
854 | options.h. | |
855 | ||
2041e75c RG |
856 | 2008-03-26 Richard Guenther <rguenther@suse.de> |
857 | ||
858 | Revert | |
859 | 2008-03-26 Richard Guenther <rguenther@suse.de> | |
860 | ||
861 | * fold-const.c (target.h): Include. | |
862 | (fold_comparison): Fold comparison of addresses of two decls | |
863 | that bind locally. Consolidate address folding code. | |
864 | ||
aefa9d43 KG |
865 | 2008-03-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
866 | ||
867 | * builtins.c (expand_builtin_pow, fold_builtin_cabs, | |
868 | fold_builtin_sqrt, fold_builtin_cbrt, fold_builtin_logarithm, | |
869 | fold_builtin_hypot, fold_builtin_pow): Remove uses of dconst3, | |
870 | dconstsqrt2, dconstthird, dconste and/or dconst10. | |
871 | * config/i386/i386.c (ix86_emit_swsqrtsf): Likewise. | |
872 | * emit-rtl.c (dconst3, dconst10, dconstm2, dconstthird, | |
873 | dconstsqrt2, dconste): Delete. | |
874 | (init_emit_once): Likewise. Simplify initializing dconstm1. | |
875 | Constify variable. | |
876 | * real.c (get_real_const): New. | |
877 | * real.h (dconst3, dconst10, dconstm2, dconstthird, | |
878 | dconstsqrt2, dconste): Delete. | |
879 | (real_value_const, get_real_const): New. | |
880 | ||
35dd7cc3 L |
881 | 2008-03-26 H.J. Lu <hongjiu.lu@intel.com> |
882 | ||
883 | * config/i386/cygming.h (BIGGEST_ALIGNMENT): Removed. | |
884 | ||
885 | * config/i386/i386.c (ix86_function_arg_boundary): Check | |
886 | BIGGEST_ALIGNMENT instead of 128. | |
887 | (setup_incoming_varargs_64): Likewise. | |
888 | ||
f91ed78d TT |
889 | 2008-03-26 Tom Tromey <tromey@redhat.com> |
890 | ||
891 | * Makefile.in (DEPFILES): Add missing '/'. | |
892 | ||
4990038d RG |
893 | 2008-03-26 Richard Guenther <rguenther@suse.de> |
894 | ||
895 | * fold-const.c (target.h): Include. | |
896 | (fold_comparison): Fold comparison of addresses of two decls | |
897 | that bind locally. Consolidate address folding code. | |
898 | ||
813ab1d7 NC |
899 | 2008-03-26 Nick Clifton <nickc@redhat.com> |
900 | ||
901 | PR target/31232 | |
902 | * config/stormy16/stormy16.c (xstormy16_legitimate_address_p): Do | |
903 | not allow INT+INT as a legitimate addressing mode. | |
904 | ||
cf3135aa RG |
905 | 2008-03-26 Richard Guenther <rguenther@suse.de> |
906 | ||
907 | * tree-flow.h (widen_bitfield): Remove declaration. | |
908 | * tree-ssa-ccp.c (visit_assignment): Remove unneeded code. | |
909 | (widen_bitfield): Remove function. | |
910 | * tree-ssa-dom.c (record_equivalences_from_stmt): Remove unneeded | |
911 | code. | |
912 | ||
fd88fd09 AP |
913 | 2008-03-25 Andrew Pinski <andrew_pinski@playstation.sony.com> |
914 | ||
22ec849c | 915 | PR target/31558 |
fd88fd09 AP |
916 | * config/rs6000/rs6000-c.c (rs6000_builtin_type_compatible): Handle |
917 | error_mark_node's. | |
918 | ||
fb959f72 RS |
919 | 2008-03-25 Richard Sandiford <rsandifo@nildram.co.uk> |
920 | ||
921 | PR rtl-optimization/35232 | |
922 | * reload1.c (reg_reloaded_call_part_clobbered): Clarify comment. | |
923 | (forget_old_reloads_1, forget_marked_reloads): Don't clear | |
924 | reg_reloaded_call_part_clobbered here. | |
925 | (reload_regs_reach_end_p): New function. | |
926 | (reload_reg_rtx_for_input): New variable. | |
927 | (reload_reg_rtx_for_output): Likewise. | |
928 | (emit_input_reload_insns): Use reloadreg rather than rl->reg_rtx | |
929 | when reassigning a pseudo register. Load reloadreg from | |
930 | reload_reg_rtx_for_input, moving the mode and register | |
931 | calculation to... | |
932 | (do_input_reload): ...here. Use the mode-adjusted reg_rtx | |
933 | instead of the original when deciding whether an input reload | |
934 | would be a no-op or whether an output reload can be deleted. | |
935 | (emit_output_reload_insns): Use the mode-adjusted reg_rtx | |
936 | when setting up new_spill_reg_store. Load it from | |
937 | reload_reg_rtx_for_output, moving the mode and register | |
938 | calculation to... | |
939 | (do_output_reload): ...here. Use the mode-adjusted reg_rtx | |
940 | instead of the original when deciding whether an output reload | |
941 | would be a no-op. Do the same when modifying insn notes. | |
942 | Use rtx_equal_p instead of == to compare the registers. | |
943 | (inherit_piecemeal_p): Take a mode and two register numbers | |
944 | as argument. | |
945 | (emit_reload_insns): Clear new_spill_reg_store for every hard | |
946 | register in the reload register. Remove spill registers | |
947 | from reg_reloaded_valid before considering whether to record | |
948 | inheritance information for them. Use reload_reg_rtx_for_output | |
949 | instead of reg_rtx when recording output reloads. Use | |
950 | reload_reg_rtx_for_input instead of reg_rtx when recording | |
951 | input reloads. Set or clear reg_reloaded_call_part_clobbered | |
952 | at the same time as setting reg_reloaded_valid. | |
953 | (delete_output_reload): Add a new_reload_reg parameter and use it | |
954 | instead of rld[j].reg_rtx. | |
955 | (emit_input_reload_insns, do_input_reload, do_output_reload): Adjust | |
956 | calls accordingly. | |
957 | ||
a8c86f3f TT |
958 | 2008-03-25 Tom Tromey <tromey@redhat.com> |
959 | ||
960 | * Makefile.in (build/gensupport.o): Depend on insn-modes.h. | |
961 | (build/genattr.o): Likewise. | |
962 | (build/genattrtab.o): Likewise. | |
963 | (build/gencodes.o): Likewise. | |
964 | (build/genconfig.o): Likewise. | |
965 | (build/genconstants.o): Likewise. | |
966 | (build/genemit.o): Likewise. | |
967 | (build/genextract.o): Likewise. | |
968 | (build/genflags.o): Likewise. | |
969 | ||
f4d3e7fd BW |
970 | 2008-03-25 Bob Wilson <bob.wilson@acm.org> |
971 | ||
972 | * config/xtensa/xtensa.c (xtensa_va_start): Use build_int_cst | |
973 | instead of size_int for integer types. | |
974 | (xtensa_gimplify_va_arg_expr): Likewise. Convert index to sizetype | |
975 | to match type of MINUS_EXPR. | |
976 | ||
55d059d3 TT |
977 | 2008-03-25 Tom Tromey <tromey@redhat.com> |
978 | ||
979 | * configure: Rebuilt. | |
980 | * configure.ac (BUILD_DEPMODE): Extract CCDEPMODE from temporary | |
981 | Makefile. | |
982 | ||
2fe3178b TT |
983 | 2008-03-25 Tom Tromey <tromey@redhat.com> |
984 | ||
985 | * config/x-solaris (host-solaris.o): Update. | |
986 | * config/x-linux (host-linux.o): Update. | |
987 | * config/x-hpux (host-hpux.o): Update. | |
988 | * config/x-darwin (host-darwin.o): Update. | |
989 | * config/v850/t-v850e (v850-c.o): Update. | |
990 | * config/v850/t-v850 (v850-c.o): Update. | |
991 | * config/t-vxworks (vxworks.o): Update. | |
992 | * config/t-sol2 (sol2-c.o, sol2.o): Update. | |
4acc3f42 | 993 | * config/t-darwin (darwin.o, darwin-c.o, darwin-driver.o): Update. |
2fe3178b TT |
994 | * config/spu/t-spu-elf (spu-c.o): Update. |
995 | (spu.o): Remove. | |
996 | * config/sh/t-symbian (sh-c.o): Update. | |
997 | (symbian.o): Update. | |
998 | * config/sh/t-sh (sh-c.o): Update. | |
999 | * config/score/t-score-elf (score7.o, score3.o): Update. | |
1000 | * config/rs6000/x-rs6000 (driver-rs6000.o): Update. | |
1001 | * config/rs6000/x-darwin64 (host-ppc64-darwin.o): Update. | |
1002 | * config/rs6000/x-darwin (host-ppc-darwin.o): Update. | |
1003 | * config/rs6000/t-rs6000 (rs6000-c.o): Update. | |
1004 | (rs6000.o): Remove. | |
1005 | * config/m68k/t-uclinux (generated_files): Add sysroot-suffix.h. | |
1006 | * config/m32c/t-m32c (m32c-pragma.o): Update. | |
1007 | * config/ia64/t-ia64 (ia64-c.o): Update. | |
1008 | * config/i386/x-mingw32 (host-mingw32.o): Update. | |
1009 | * config/i386/x-i386 (driver-i386.o): Update. | |
1010 | * config/i386/x-darwin (host-i386-darwin.o): Update. | |
1011 | * config/i386/x-cygwin (host-cygwin.o): Update. | |
1012 | * config/i386/t-nwld (nwld.o): Update. | |
1013 | * config/i386/t-netware (netware.o): Update. | |
1014 | * config/i386/t-interix (winnt.o): Update. | |
1015 | * config/i386/t-cygwin (cygwin1.o, cygwin2.o): Update. | |
1016 | * config/i386/t-cygming (winnt.o, winnt-cxx.o, winnt-stubs.o, | |
1017 | msformat-c.o): Update. | |
1018 | * config/bfin/t-bfin-linux (generated_files): Add | |
1019 | linux-sysroot-suffix.h. | |
1020 | * config/arm/t-wince-pe (pe.o): Update. | |
1021 | * config/arm/t-strongarm-pe (pe.o): Update. | |
1022 | * config/arm/t-pe (pe.o): Update. | |
1023 | * config/arm/t-arm (arm-c.o): Update. | |
1024 | * doc/install.texi (Prerequisites): Require make 3.80. | |
1025 | * Makefile.in: Remove .o targets. | |
1026 | (CCDEPMODE, DEPDIR, depcomp, BUILD_DEPMODE): New variables. | |
1027 | (OBSTACK_H, FIBHEAP_H, PARTITION_H, MD5_H, BCONFIG_H): Remove. | |
1028 | (simple_generated_h, simple_generated_c): Move earlier. | |
1029 | (generated_files): New variable. | |
1030 | (TARGET_H, MACHMODE_H, HOOKS_H, HOSTHOOKS_DEF_H, LANGHOOKS_DEF_H, | |
1031 | TARGET_DEF_H, RTL_BASE_H, RTL_H, PARAMS_H, BUILTINS_DEF, TREE_H, | |
1032 | BASIC_BLOCK_H, GCOV_IO_H, COVERAGE_H, DEMANGLE_H, RECOG_H, | |
1033 | ALIAS_H, EMIT_RTL_H, FLAGS_H, FUNCTION_H, EXPR_H, OPTABS_H, | |
1034 | REGS_H, RA_H, RESOURCE_H, SCHED_INT_H, INTEGRATE_H, CFGLAYOUT_H, | |
1035 | CFGLOOP_H, IPA_UTILS_H, IPA_REFERENCE_H, IPA_TYPE_ESCAPE_H, | |
1036 | CGRAPH_H, DF_H, RESOURCE_H, DDG_H, GCC_H, GGC_H, TIMEVAR_H, | |
1037 | INSN_ATTR_H, C_COMMON_H, C_PRAGMA_H, C_TREE_H, SYSTEM_H, | |
1038 | PREDICT_H, DECNUM_H, MKDEPS_H, SYMTAB_H, TREE_DUMP_H, | |
1039 | TREE_GIMPLE_H, TREE_FLOW_H, TREE_SSA_LIVE_H, PRETTY_PRINT_H, | |
1040 | DIAGNOSTIC_H, C_PRETTY_PRINT_H, SCEV_H, LAMBDA_H, TREE_DATA_REF_H, | |
1041 | VARRAY_H, TREE_INLINE_H, REAL_H, DBGCNT_H, EBIMAP_H): Remove. | |
1042 | (.c.o): Remove. | |
1043 | (COMPILE.base, COMPILE): New variables. | |
1044 | (%.o): New pattern rule. | |
1045 | (ALL_HOST_OBJS): New variable. | |
1046 | (xgcc$(exeext), cpp$(exeext)): Remove extra version.o. | |
1047 | (dummy-checksum.o, cc1-checksum.o): Remove. | |
1048 | (DRIVER_SHLIB): New variable. | |
1049 | (DRIVER_DEFINES): Use it. | |
1050 | (gencondmd.c): Move out of build/. | |
1051 | (s-conditions): Update. | |
1052 | (BUILDCOMPILE.base, BUILDCOMPILE): New variables. | |
1053 | (ALL_BUILD_OBJS): Likewise. | |
1054 | (build/%.o): Use BUILDCOMPILE. | |
1055 | (build/ggc-none.o, build/ggc-none.o, build/min-insn-modes.o, | |
1056 | build/print-rtl.o, build/read-rtl.o, build/rtl.o, build/vec.o, | |
1057 | build/gencondmd.o, build/genattrtab.o, build/genautomata.o, | |
1058 | build/gencheck.o, build/gencodes.o, build/genconditions.o, | |
1059 | build/genconfig.o, build/genconstants.o, build/genemit.o, | |
1060 | build/genextract.o, build/genflags.o, build/genmddeps.o, | |
1061 | build/genopinit.o, build/genoutput.o, build/genpeep.o, | |
1062 | build/genpreds.o, build/genrecog.o, build/gcov-iov.o, | |
1063 | build/gen-protos.o, build/scan.o, build/fix-header.o, | |
1064 | build/scan-decls.o): Simplify. | |
1065 | (collect2.o, c-opts.o, gcc.o, gccspec.o, gcc-options.o, | |
1066 | cppdefault.o, protoize.o, unprotoize.o, intl.o, version.o, | |
1067 | prefix.o, toplev.o): Reduce to variable setting. | |
4acc3f42 | 1068 | (libbackend.o): Use COMPILE. Remove most dependencies. Move later. |
2fe3178b | 1069 | ($(out_object_file), gcc-options.o): New targets. |
4acc3f42 | 1070 | ($(ALL_HOST_OBJS)): New target. Include dependency files. |
2fe3178b | 1071 | * configure: Rebuilt. |
4acc3f42 UB |
1072 | * configure.ac: Call ZW_CREATE_DEPDIR, ZW_PROG_COMPILER_DEPENDENCIES. |
1073 | * doc/sourcebuild.texi (Front End Directory): Document new variable. | |
2fe3178b | 1074 | |
5ade1ed2 DG |
1075 | 2008-03-25 Douglas Gregor <doug.gregor@gmail.com> |
1076 | ||
4acc3f42 UB |
1077 | * c-common.c (c_sizeof_or_alignof_type): If we're not allowed to |
1078 | complain when we hit an error, return ERROR_MARK_NODE. | |
5ade1ed2 | 1079 | |
de6adfa2 N |
1080 | 2008-03-25 Naveen.H.S <naveen.hs@kpitcummins.com> |
1081 | ||
1082 | * config/sh/constraints.md (Pso, Psz): New constraints. | |
1083 | * config/sh/sh.c (print_operand): Add %V and %W operand codes. | |
1084 | * config/sh/sh.md (*andsi3_bclr, *iorsi3_bset): New insns. | |
1085 | ||
f326a6cb N |
1086 | 2008-03-25 Naveen.H.S <naveen.hs@kpitcummins.com> |
1087 | ||
4acc3f42 | 1088 | * config/sh/sh.c (sh_expand_t_scc): Emit movrt for SH2A if possible. |
f326a6cb N |
1089 | * config/sh/sh.md (xorsi3_movrt, movrt): New insns. |
1090 | ||
b4b0018b N |
1091 | 2008-03-25 Naveen.H.S <naveen.hs@kpitcummins.com> |
1092 | ||
1093 | * config/sh/sh.md (prefetch): Add condition for SH2A target. | |
1094 | (prefetch_sh2a): New. | |
1095 | ||
e990551a JS |
1096 | 2008-03-25 Jayant Sonar <Jayant.sonar@kpitcummins.com> |
1097 | Naveen.H.S <naveen.hs@kpitcummins.com> | |
1098 | ||
1099 | * config/sh/constraints.md (I28): New constraint. | |
1100 | * config/sh/sh.c (broken_move): Add support for movi20s. | |
4acc3f42 | 1101 | * config/sh/sh.md (movsi_ie): Add the alternative for movi20s. |
e990551a | 1102 | |
561642fa AP |
1103 | 2008-03-25 Anil Paranjape <anil.paranjape@kpitcummins.com> |
1104 | Jayant Sonar <Jayant.sonar@kpitcummins.com> | |
1105 | Naveen.H.S <naveen.hs@kpitcummins.com> | |
1106 | ||
1107 | * config/sh/sh.c (SH_ATTRIBUTES): Define. | |
1108 | (SYMBOL_FLAG_FUNCVEC_FUNCTION): Define. | |
1109 | (print_operand): Handle resbank in %@ operand code. | |
1110 | (sh_encode_section_info): New. | |
1111 | (push_regs): Add conditions for resbank. | |
1112 | (sh_expand_epilogue): Likewise. | |
1113 | (sh_insert_attributes): Likewise. | |
1114 | (sh_attribute_table): Likewise. | |
1115 | (sh_handle_resbank_handler_attribute): New. | |
1116 | (sh2a_handle_function_vector_handler_attribute): New. | |
1117 | (sh2a_is_function_vector_call): New. | |
1118 | (sh2a_get_function_vector_number): New. | |
1119 | (sh2a_function_vector_p): New. | |
1120 | (sh_cfun_resbank_handler_p): New. | |
1121 | * config/sh/sh.md (calli): Emit jsr/n if possible. | |
1122 | (calli_tbr_rel): New. | |
1123 | (calli_pcrel): Emit jsr/n if possible. | |
1124 | (return_i): Emit rts/n if possible. | |
1125 | (call_valuei_tbr_rel): New. | |
1126 | (call_valuei_pcrel): Add condition for SH2A target. | |
1127 | (call_value): Likewise. | |
1128 | * config/sh/sh-protos.h (sh_cfun_resbank_handler_p): Declare. | |
1129 | (sh2a_get_function_vector_number): Likewise. | |
1130 | (sh2a_is_function_vector_call): Likewise. | |
1131 | * doc/extend.texi: Document TBR relative addressing of SH2A. | |
1132 | (resbank): Add description for SH2A. | |
1133 | ||
1b24a790 RG |
1134 | 2008-03-24 Richard Guenther <rguenther@suse.de> |
1135 | ||
1136 | PR c/22371 | |
1137 | * gimplify.c (gimplify_modify_expr): For frontend type-correct | |
1138 | pointer assignments change conversions according to middle-end rules. | |
1139 | (gimplify_modify_expr_rhs): Deal with NULL TARGET_EXPR_INITIAL. | |
1140 | * configure.ac: Include type checking in yes. | |
1141 | * configure: Regenerate. | |
1142 | ||
52249a2e MLI |
1143 | 2008-03-24 Manuel Lopez-Ibanez <manu@gcc.gnu.org> |
1144 | ||
1145 | * diagnostic.c (diagnostic_count_diagnostic): Delete. | |
1146 | (diagnostic_report_diagnostic): Update. Handle ICEs here. | |
1147 | ||
37ca4602 NS |
1148 | 2008-03-24 Nathan Sidwell <nathan@codesourcery.com> |
1149 | ||
1150 | * gthr-vxworks.h (UNUSED): Define. | |
1151 | ||
2ff8644d L |
1152 | 2008-03-23 H.J. Lu <hongjiu.lu@intel.com> |
1153 | ||
9aba5d22 | 1154 | * config/i386/i386.h (STATIC_CHAIN_REGNUM): Use R10_REG and CX_REG. |
2ff8644d | 1155 | |
1c42f5c6 ZM |
1156 | 2008-03-23 Zuxy Meng <zuxy.meng@gmail.com> |
1157 | ||
1158 | * doc/extend.texi (Function Attributes): Add missing comma in the | |
1159 | example of the "alloc_size" attribute. | |
1160 | ||
808e68bb UB |
1161 | 2008-03-23 Uros Bizjak <ubizjak@gmail.com> |
1162 | ||
1163 | Revert: | |
1164 | 2008-03-05 H.J. Lu <hongjiu.lu@intel.com> | |
1165 | ||
1166 | * config/i386/i386-modes.def: Use 4 byte alignment on DI for | |
1167 | 32bit host. | |
1168 | ||
1169 | 2008-03-19 Uros Bizjak <ubizjak@gmail.com> | |
1170 | ||
1171 | PR target/35496 | |
1172 | * stor-layout.c (update_alignment_for_field): Set minimum alignment | |
1173 | of the underlying type of a MS bitfield layout to the natural | |
1174 | alignment of the type. | |
1175 | ||
1176 | 2008-03-22 Uros Bizjak <ubizjak@gmail.com> | |
1177 | ||
1178 | * config/i386/i386.c (assign_386_stack_local): Align DImode slots | |
1179 | to their natural alignment to avoid store forwarding stalls. | |
1180 | ||
1b738915 RG |
1181 | 2008-03-22 Richard Guenther <rguenther@suse.de> |
1182 | ||
1183 | * tree-cfg.c (verify_expr): Recurse again for invariant addresses. | |
1184 | For PHI nodes verify the address is invariant. | |
1185 | * tree-ssa-ccp.c (ccp_decl_initial_min_invariant): Remove. | |
1186 | (get_symbol_constant_value): Use is_gimple_min_invariant. | |
1187 | (maybe_fold_stmt_indirect): Likewise. | |
1188 | ||
18b526e8 RS |
1189 | 2008-03-22 Richard Sandiford <rsandifo@nildram.co.uk> |
1190 | ||
1191 | PR rtl-optimization/33927 | |
1192 | * Makefile.in (dse.o): Depend on $(TM_P_H). | |
1193 | * expr.h (extract_low_bits): Declare. | |
1194 | * expmed.c (extract_low_bits): New function. | |
1195 | * rtlhooks.c (gen_lowpart_general): Generalize SUBREG handling. | |
1196 | * dse.c: Include tm_p.h. | |
1197 | (find_shift_sequence): Remove the read_reg argument and return the | |
1198 | read value. Emit the instructions instead of returning them. | |
1199 | Iterate on new_mode rather than calculating it each time. | |
1200 | Check MODES_TIEABLE_P. Use simplify_gen_subreg to convert the | |
1201 | source to NEW_MODE and extract_low_bits to convert the shifted | |
1202 | value to READ_MODE. | |
1203 | (replace_read): Allow the load and store to have different mode | |
1204 | classes. Use extract_low_bits when SHIFT == 0. Create the shift | |
1205 | or extraction instructions before trying the replacement. Update | |
1206 | dump-file code accordingly, avoiding use of REGNO (store_info->rhs). | |
1207 | ||
48e55066 UB |
1208 | 2008-03-22 Uros Bizjak <ubizjak@gmail.com> |
1209 | ||
1210 | * config/i386/i386.c (assign_386_stack_local): Align DImode slots | |
1211 | to their natural alignment to avoid store forwarding stalls. | |
1212 | ||
94e98316 AP |
1213 | 2008-03-21 Andrew Pinski <andrew_pinski@playstation.sony.com> |
1214 | ||
e8afc0cb | 1215 | PR target/27946 |
94e98316 AP |
1216 | * config/rs6000/rs6000.md (floatdidf2): Discouraging fprs and |
1217 | encouraging but not allowing gprs for input; | |
1218 | change the input constraint to !f#r. | |
1219 | (fix_truncdfdi2): Discouraging fprs and encouraging but not allowing | |
1220 | gprs for output; | |
1221 | change the output constraint to !f#r. | |
1222 | ||
7fb1431b UB |
1223 | 2008-03-21 Uros Bizjak <ubizjak@gmail.com> |
1224 | ||
1225 | PR target/13958 | |
1226 | * config/i386/i386.md ("*floatunssi<mode2>_1"): New pattern with | |
1227 | corresponding post-reload splitters. | |
1228 | ("floatunssi<mode>2"): Expand to unsigned_float x87 insn pattern | |
1229 | when x87 FP math is selected. | |
1230 | * config/i386/i386-protos.h (ix86_expand_convert_uns_sixf_sse): | |
1231 | New function prototype. | |
1232 | * config/i386/i386.c (ix86_expand_convert_uns_sixf_sse): New | |
1233 | unreachable function to ease macroization of insn patterns. | |
1234 | ||
ed2024ba MJ |
1235 | 2008-03-21 Martin Jambor <mjambor@suse.cz> |
1236 | ||
1237 | * tree-data-ref.c (dump_data_dependence_relation): Avoid data | |
1238 | reference dumps if ddr is NULL or dependence is unknown. | |
1239 | ||
06644a07 KK |
1240 | 2008-03-20 Kaz Kojima <kkojima@gcc.gnu.org> |
1241 | ||
1242 | * config/sh/linux-atomic.asm (ATOMIC_TEST_AND_SET): Take | |
1243 | unsigned extension into account. | |
1244 | (ATOMIC_COMPARE_AND_SWAP): Likewise. | |
1245 | (ATOMIC_FETCH_AND_OP, ATOMIC_FETCH_AND_COMBOP): Likewise. | |
1246 | Do computations on a scratch register. | |
1247 | ||
ad6003f2 RG |
1248 | 2008-03-21 Richard Guenther <rguenther@suse.de> |
1249 | ||
1250 | * tree-scalar-evolution.c (chrec_contains_symbols_defined_in_loop): | |
1251 | Use is_gimple_min_invariant instead of TREE_INVARIANT. | |
1252 | * tree-ssa-loop-ivopts.c (force_expr_to_var_cost): Likewise. | |
1253 | * tree-ssa-dom.c (record_equality): Likewise. | |
1254 | * tree-inline.c (copy_body_r): Likewise. | |
1255 | * tree-ssa-pre.c (make_values_for_stmt): Remove test for | |
1256 | TREE_INVARIANT. | |
1257 | ||
2acdc1fb KK |
1258 | 2008-03-20 Kaz Kojima <kkojima@gcc.gnu.org> |
1259 | ||
1260 | * config/sh/sh.c (split_branches): Pass zero to redirect_jump | |
1261 | as 'delete_unused' argument. | |
1262 | ||
16ac8575 RG |
1263 | 2008-03-20 Richard Guenther <rguenther@suse.de> |
1264 | ||
1265 | * tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Remove | |
1266 | special casing of constant qualifiers. | |
1267 | * tree-ssa.c (useless_type_conversion_p_1): Instead do not | |
1268 | care about them in general. | |
1269 | * tree-ssa-ccp.c (ccp_fold): Addresses are constant or not | |
1270 | regardless of their type. | |
1271 | (fold_stmt_r): Forcefully fold *& if we end up with that. | |
1272 | ||
433d52fd PB |
1273 | 2008-03-20 Paul Brook <paul@codesourcery.com> |
1274 | ||
1275 | * config.gcc (arm*-*-uclinux*): Remove duplicate arm/uclinux-elf.h. | |
1276 | * config/arm/uclinux-eabi.h (SUBTARGET_EXTRA_LINK_SPEC): Add extra | |
1277 | linker flags. | |
1278 | * config/arm/bpabi.h (SUBTARGET_EXTRA_LINK_SPEC): Provide default | |
1279 | definition. | |
1280 | (LINK_SPEC): Use SUBTARGET_EXTRA_LINK_SPEC. | |
1281 | * config/arm/unwind-arm.h (_Unwind_decode_target2): Add uClinux. | |
1282 | ||
7621f5d5 VR |
1283 | 2008-03-20 Volker Reichelt <v.reichelt@netcologne.de> |
1284 | ||
1285 | * common.opt (Wmudflap): New option. | |
1286 | * tree-mudflap.c (mf_xform_derefs_1): Guard warning by OPT_Wmudflap. | |
1287 | (mx_register_decls): Likewise. | |
1288 | (mudflap_finish_file): Likewise. | |
1289 | * doc/invoke.texi: Document -Wno-mudflap. | |
1290 | ||
1291 | 2008-03-20 Kai Tietz <kai.tietz@onevision.com> | |
6590fc9f KT |
1292 | |
1293 | * c-format.c (replace_format_name_to_system_name): New. | |
1294 | (cmp_attribs): New. | |
1295 | (convert_format_name_to_system_name): New. | |
1296 | (decode_format_attr): Add use of convert_format_name_to_system_name. | |
1297 | (format_types_orig): Add gnu_ prefix to names. | |
1298 | (check_format_info_main): Special treating of \0 escaped names for | |
1299 | supporting multi-character format specifiers as I32, I64. | |
1300 | (TARGET_OVERRIDES_FORMAT_ATTRIBUTES): Use of user defined attributes. | |
1301 | (gnu_target_overrides_format_attributes): New. | |
1302 | * c-format.h: Add structure target_ovr_attr to hold | |
1303 | system specific formatter names. | |
1304 | * config.gcc: Add for x86&x86_64 cygwin and mingw32 targets the | |
1305 | msformat-c.o file to c_target_objs and cxx_target_objs. | |
1306 | * config/i386/mingw32.h (TARGET_OVERRIDES_FORMAT_ATTRIBUTES): New. | |
1307 | (TARGET_OVERRIDES_FORMAT_ATTRIBUTES_COUNT): New. | |
1308 | (TARGET_N_FORMAT_TYPES): New. | |
1309 | * config/i386/msformat-c.c: New. | |
1310 | * config/i386/t-cygming: Add build rule for msformat-c.o. | |
1311 | * doc/extend.texi: Add new format names gnu_* and ms_* and | |
1312 | further details. | |
1313 | * doc/tm.texi: (TARGET_OVERRIDES_FORMAT_ATTRIBUTES): New. | |
1314 | ||
4e359692 IR |
1315 | 2008-03-20 Ira Rosen <irar@il.ibm.com> |
1316 | ||
1317 | * doc/invoke.texi (-O3): Add -ftree-vectorize to the list of | |
1318 | optimizations turned on under -O3. | |
1319 | (ftree-vectorize): Add that the flag is turned on with -O3. | |
1320 | ||
41129be2 BE |
1321 | 2008-03-20 Ben Elliston <bje@au.ibm.com> |
1322 | ||
1323 | * regmove.c (try_auto_increment): Fix spelling error in comment. | |
1324 | * final.c (final_scan_insn): Likewise. | |
1325 | ||
1b1d8f88 UB |
1326 | 2008-03-20 Uros Bizjak <ubizjak@gmail.com> |
1327 | ||
1328 | PR target/14552 | |
1329 | * config/i386/mmx.md (*mov<mode>_internal_rex64"): Adjust register | |
1330 | allocator preferences for "y" and "r" class registers. | |
1331 | ("*mov<mode>_internal"): Ditto. | |
1332 | ("*movv2sf_internal_rex64"): Ditto. | |
1333 | ("*movv2sf_internal"): Ditto. | |
1334 | ||
05e6ee93 MM |
1335 | 2008-03-19 Michael Matz <matz@suse.de> |
1336 | ||
1337 | PR middle-end/35616 | |
1338 | * calls.c (expand_call): Check overlap of arguments with call | |
1339 | address for sibcalls. | |
1340 | ||
cd7e0bd4 UB |
1341 | 2008-03-19 Uros Bizjak <ubizjak@gmail.com> |
1342 | ||
1343 | PR target/35496 | |
1344 | * stor-layout.c (update_alignment_for_field): Set minimum alignment | |
1345 | of the underlying type of a MS bitfield layout to the natural | |
1346 | alignment of the type. | |
1347 | ||
8ddbbcae JH |
1348 | 2008-03-19 Jan Hubicka <jh@suse.cz> |
1349 | ||
1350 | PR other/35094 | |
1351 | * toplev.c (decode_d_option): Handle all CPP flags. | |
1352 | * tree-vrp.c: Update tree_pass descriptors. | |
1353 | * regrename.c: Update tree_pass descriptors. | |
1354 | * fwprop.c: Update tree_pass descriptors. | |
1355 | * doc/invoke.texi: Remove documentation of dropped -d? flags. | |
1356 | * tree-into-ssa.c: Update tree_pass descriptors. | |
1357 | * tree-dump.c: Update tree_pass descriptors. | |
1358 | * tree-complex.c: Update tree_pass descriptors. | |
1359 | * tree-dump.h: Update tree_pass descriptors. | |
1360 | * see.c: Update tree_pass descriptors. | |
1361 | * cgraphbuild.c: Update tree_pass descriptors. | |
1362 | * tracer.c: Update tree_pass descriptors. | |
1363 | * tree-loop-distribution.c: Update tree_pass descriptors. | |
1364 | * cgraph.c: Update tree_pass descriptors. | |
1365 | * postreload-gcse.c: Update tree_pass descriptors. | |
1366 | * postreload.c: Update tree_pass descriptors. | |
1367 | * tree-ssa-loop-ch.c: Update tree_pass descriptors. | |
1368 | * tree-tailcall.c: Update tree_pass descriptors. | |
1369 | * tree-pass.h (tree_opt_pass): Rename to ... | |
1370 | (opt_pass) ... this one; add "type" field and remove letter field. | |
1371 | (gimple_opt_pass, rtl_opt_pass, simple_ipa_opt_pass): New. | |
1372 | (execute_pass_list, execute_ipa_pass_list, all_passes, all_ipa_passes, | |
1373 | all_lowering_passes): Update declaration. | |
1374 | * ipa-cp.c: Update tree_pass descriptors. | |
1375 | * final.c: Update tree_pass descriptors. | |
1376 | * omp-low.c: Update tree_pass descriptors. | |
1377 | * tree-ssa-dse.c: Update tree_pass descriptors. | |
1378 | * ipa-reference.c: Update tree_pass descriptors. | |
1379 | * tree-ssa-uncprop.c: Update tree_pass descriptors. | |
1380 | * auto-inc-dec.c: Update tree_pass descriptors. | |
1381 | * reorg.c: Update tree_pass descriptors. | |
1382 | * cgraphunit.c: Update tree_pass descriptors. | |
1383 | * tree-ssa-copyrename.c: Update tree_pass descriptors. | |
1384 | * tree-ssa-ccp.c: Update tree_pass descriptors. | |
1385 | * df-core.c: Update tree_pass descriptors. | |
1386 | * mode-switching.c: Update tree_pass descriptors. | |
1387 | * tree-nomudflap.c: Update tree_pass descriptors. | |
1388 | * modulo-sched.c: Update tree_pass descriptors. | |
1389 | * ipa-pure-const.c: Update tree_pass descriptors. | |
1390 | * cse.c: Update tree_pass descriptors. | |
1391 | * web.c: Update tree_pass descriptors. | |
1392 | * tree-stdarg.c: Update tree_pass descriptors. | |
1393 | * tree-ssa-math-opts.c: Update tree_pass descriptors. | |
1394 | * tree-ssa-dom.c: Update tree_pass descriptors. | |
1395 | * tree-nrv.c: Update tree_pass descriptors. | |
1396 | * tree-ssa-alias.c: Update tree_pass descriptors. | |
1397 | * loop-init.c: Update tree_pass descriptors. | |
1398 | * gimple-low.c: Update tree_pass descriptors. | |
1399 | * ipa-inline.c: Update tree_pass descriptors. | |
1400 | * tree-ssa-sink.c: Update tree_pass descriptors. | |
1401 | * global.c: Update tree_pass descriptors. | |
1402 | * ifcvt.c: Update tree_pass descriptors. | |
1403 | * jump.c: Update tree_pass descriptors. | |
1404 | * predict.c: Update tree_pass descriptors. | |
1405 | * tree-ssa-loop.c: Update tree_pass descriptors. | |
1406 | * recog.c: Update tree_pass descriptors. | |
1407 | * dse.c: Update tree_pass descriptors. | |
1408 | * tree-ssa-ifcombine.c: Update tree_pass descriptors. | |
1409 | * tree-eh.c: Update tree_pass descriptors. | |
1410 | * regmove.c: Update tree_pass descriptors. | |
1411 | * local-alloc.c | |
1412 | * function.c: Update tree_pass descriptors. | |
1413 | * tree-vectorizer.c: Update tree_pass descriptors. | |
1414 | * gcse.c: Update tree_pass descriptors. | |
1415 | * ipa-type-escape.c: Update tree_pass descriptors. | |
1416 | * tree-if-conv.c: Update tree_pass descriptors. | |
1417 | * init-regs.c: Update tree_pass descriptors. | |
1418 | * ipa.c: Update tree_pass descriptors. | |
1419 | * tree-ssa-phiopt.c: Update tree_pass descriptors. | |
1420 | * rtl-factoring.c: Update tree_pass descriptors. | |
1421 | * lower-subreg.c: Update tree_pass descriptors. | |
1422 | * bt-load.c: Update tree_pass descriptors. | |
1423 | * tree-dfa.c: Update tree_pass descriptors. | |
1424 | * except.c: Update tree_pass descriptors. | |
1425 | * emit-rtl.c: Update tree_pass descriptors. | |
1426 | * cfgexpand.c: Update tree_pass descriptors. | |
1427 | * tree-cfgcleanup.c: Update tree_pass descriptors. | |
1428 | * cfgcleanup.c: Update tree_pass descriptors. | |
1429 | * tree-ssa-pre.c: Update tree_pass descriptors. | |
1430 | * tree-sra.c: Update tree_pass descriptors. | |
1431 | * tree-mudflap.c: Update tree_pass descriptors. | |
1432 | * tree-ssa-copy.c: Update tree_pass descriptors. | |
1433 | * cfglayout.c: Update tree_pass descriptors. | |
1434 | * tree-ssa-forwprop.c: Update tree_pass descriptors. | |
1435 | * tree-ssa-dce.c: Update tree_pass descriptors. | |
1436 | * tree-ssa.c: Update tree_pass descriptors. | |
1437 | * regclass.c: Update tree_pass descriptors. | |
1438 | * integrate.c: Update tree_pass descriptors. | |
1439 | * tree-optimize.c: Update tree_pass descriptors. | |
1440 | * tree-ssa-phiprop.c: Update tree_pass descriptors. | |
1441 | * tree-object-size.c: Update tree_pass descriptors. | |
1442 | * combine.c: Update tree_pass descriptors. | |
1443 | * tree-outof-ssa.c: Update tree_pass descriptors. | |
1444 | * bb-reorder.c: Update tree_pass descriptors. | |
1445 | * stack-ptr-mod.c: Update tree_pass descriptors. | |
1446 | * var-tracking.c: Update tree_pass descriptors. | |
1447 | * tree-profile.c: Update tree_pass descriptors. | |
1448 | * tree-vect-generic.c: Update tree_pass descriptors. | |
1449 | * reg-stack.c: Update tree_pass descriptors. | |
1450 | * sched-rgn.c: Update tree_pass descriptors. | |
1451 | * tree-ssa-structalias.c: Update tree_pass descriptors. | |
1452 | * tree-cfg.c: Update tree_pass descriptors. | |
1453 | * passes.c (current_pass): Update declaration. | |
1454 | (finish_optimization_passes): Update. | |
1455 | (all_passes, all_ipa_passes, all_lowering_passes): Update declaration. | |
1456 | (register_one_dump_file, register_dump_files_1, next_pass_1): | |
1457 | Update arguments. | |
1458 | (init_optimization_passes): Update handling of new types. | |
1459 | (execute_one_pass, execute_pass_list, execute_ipa_pass_list): Update. | |
1460 | * ipa-struct-reorg.c: Update tree_pass descriptors. | |
1461 | * tree-ssa-reassoc.c: Update tree_pass descriptors. | |
1462 | * combine-stack-adj.c: Update tree_pass descriptors. | |
1463 | * cfgrtl.c: Update tree_pass descriptors. | |
1464 | * dce.c: Update tree_pass descriptors. | |
1465 | * tree-ssanames.c: Update tree_pass descriptors. | |
1466 | ||
8cb3ee37 RG |
1467 | 2008-03-19 Richard Guenther <rguenther@suse.de> |
1468 | ||
1469 | PR middle-end/35609 | |
4990038d RG |
1470 | * tree-ssa.c (walk_data): New structure. |
1471 | (warn_uninitialized_var): If not always_executed warn with "maybe" | |
8cb3ee37 RG |
1472 | instead of "is". |
1473 | (execute_early_warn_uninitialized): Compute post-dominators. | |
1474 | Initialize always_executed before processing each basic block. | |
1475 | ||
34614fff MP |
1476 | 2008-03-18 Mikulas Patocka <mikulas@artax.karlin.mff.cuni.cz> |
1477 | ||
1478 | PR target/35504 | |
1479 | * config/i386/i386.c (x86_this_parameter): Calculate correct location | |
1480 | of "this" pointer when "regparm = N" or "fastcall" is in effect. | |
1481 | ||
c15477fb RW |
1482 | 2008-03-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
1483 | ||
1484 | * doc/include/texinfo.tex: Update to version 2008-03-17.10. | |
1485 | ||
ac5dc795 PB |
1486 | 2008-03-18 Paolo Bonzini <bonzini@gnu.org> |
1487 | ||
34614fff MP |
1488 | * expr.c (store_expr): Assume lang_hooks.reduce_bit_field_operations |
1489 | is true. | |
1490 | (expand_expr_real_1) <REDUCE_BIT_FIELD>: Don't look at ignore. | |
1491 | (expand_expr_real_1): Assume lang_hooks.reduce_bit_field_operations | |
1492 | is true. Add "&& !ignore" condition to reduce_bit_field. Modify | |
1493 | target after ignore has been set, and move there also the commputation | |
1494 | of subtarget and original_target. | |
1495 | * langhooks-def.h (LANG_HOOKS_REDUCE_BIT_FIELD_OPERATIONS): Delete. | |
1496 | (LANG_HOOKS_INITIALIZER): Remove it. | |
1497 | * langhooks.h (struct lang_hooks): Remove reduce_bit_field_operations. | |
ac5dc795 | 1498 | |
b80280f2 RG |
1499 | 2008-03-18 Richard Guenther <rguenther@suse.de> |
1500 | ||
1501 | * tree-ssa-sccvn.c (visit_reference_op_load): If the lookup | |
1502 | found an expression with constants, note that in the VN for the lhs. | |
1503 | * tree-ssa-pre.c (eliminate): Visit COND_EXPR statements and | |
1504 | fold them to constants if possible. Run cleanup_cfg if done so. | |
1505 | (execute_pre): Return todo. | |
1506 | (do_pre): Likewise. | |
1507 | (execute_fre): Likewise. | |
1508 | * tree-ssa-forwprop.c (can_propagate_from): Allow propagation | |
1509 | of constants. | |
1510 | (get_prop_source_stmt): Look through pointer conversions. | |
1511 | ||
2e28e797 JH |
1512 | 2008-03-18 Jan Hubicka <jh@suse.cz> |
1513 | ||
1514 | * tree-pretty-print.c: Include predict.h. | |
1515 | (dump_generic_node): Dump predictor. | |
1516 | * tree.h (PREDICT_EXPR_OUTCOME, PREDICT_EXPR_PREDICTION): Update. | |
1517 | * tree-gimple.c (is_gimple_stmt): Add PREDICT_EXPR. | |
1518 | * gimple-low.c (lower_stmt): Likewise. | |
1519 | * expr.c (expand_expr_real): Likewise. | |
1520 | * predict.c (tree_bb_level_predictions): Use PREDICT_EXPRs and remove | |
1521 | them. | |
1522 | (build_predict_expr, build_predict_expr): New. | |
1523 | * predict.h (predictor_name, build_predict_expr): Update. | |
1524 | * c-typeck.c (c_finish_bc_stmt): Add prediction. | |
1525 | * gimplify.c (gimplify_expr): Add PREDICT_EXPR. | |
1526 | * predict.def (PRED_CONTINUE): Update hitrate. | |
1527 | * tree.def (PREDICT_EXPR): Define. | |
1528 | * tree-ssa-dce.c (mark_stmt_if_obviously_necessary): Mark PREDICT_EXPR; | |
1529 | do not handle BIND_EXPR. | |
1530 | * tree-inline.c (estimate_num_insns_1): PREDICT_EXPR is free. | |
1531 | * tree-cfg.c (verify_gimple_stmt): PREDICT_EXPR is valid. | |
1532 | * tree-ssa-operands.c (get_expr_operands): PREDICT_EXPR takes no | |
1533 | operands. | |
1534 | ||
52f1c7ed MM |
1535 | 2008-03-18 Michael Matz <matz@suse.de> |
1536 | ||
1537 | * gcov-io.h (__gcov_merge_ior, __gcov_fork): Mark hidden. | |
1538 | ||
c8ae0bec RG |
1539 | 2008-03-18 Richard Guenther <rguenther@suse.de> |
1540 | ||
1541 | * tree-gimple.h (is_gimple_invariant_address): Declare. | |
1542 | (is_gimple_constant): Likewise. | |
1543 | * tree-gimple.c (is_gimple_constant): New function. | |
1544 | (is_gimple_invariant_address): Likewise. | |
1545 | (is_gimple_min_invariant): Implement in terms of is_gimple_constant | |
1546 | and is_gimple_invariant_address. | |
1547 | * tree-ssa-loop-niter.c (expand_simple_operations): Revert | |
1548 | previous change. | |
1549 | * tree-data-ref.c (get_references_in_stmt): A SSA_NAME is not | |
1550 | an addressable base. | |
1551 | ||
8119fc93 JJ |
1552 | 2008-03-18 Jakub Jelinek <jakub@redhat.com> |
1553 | ||
1554 | PR middle-end/35611 | |
1555 | * gimplify.c (gimplify_expr): Gimplify second operand of | |
1556 | OMP_ATOMIC_LOAD. | |
1557 | ||
c4e5b5a8 RG |
1558 | 2008-03-17 Richard Guenther <rguenther@suse.de> |
1559 | ||
1560 | PR tree-optimization/19637 | |
1561 | * fold-const.c (fold_unary): Remove restrictions of removing | |
1562 | intermediate pointer-conversions (P2)(P1)P0. | |
1563 | * tree-ssa-ccp.c (maybe_fold_stmt_addition): Recover from | |
1564 | conversion to void pointer. | |
1565 | (get_maxval_strlen): Handle addresses of the form &(*p)[0]. | |
1566 | ||
fcb9237b JW |
1567 | 2008-03-16 James E. Wilson <wilson@tuliptree.org> |
1568 | ||
1569 | PR debug/31510 | |
1570 | * dbxout.c (dbxout_expand_expr, case VAR_DECL): Return NULL for | |
1571 | emulated thread local variables. | |
1572 | ||
461f8762 RG |
1573 | 2008-03-16 Richard Guenther <rguenther@suse.de> |
1574 | ||
1575 | PR middle-end/35607 | |
1576 | * tree-ssa-loop-niter.c (expand_simple_operations): Do not | |
1577 | expand TREE_INVARIANT operations that are not gimple invariant. | |
1578 | ||
2a31c49c HPN |
1579 | 2008-03-16 Hans-Peter Nilsson <hp@axis.com> |
1580 | ||
1581 | * doc/extend.texi (Alignment): Say that the ABI controls | |
1582 | the __alignof__ for non-strict-alignment targets rather | |
1583 | than being a recommendation. | |
1584 | ||
80efdb6a PB |
1585 | 2008-03-15 Paul Brook <paul@codesourcery.com> |
1586 | ||
1587 | * config/arm/arm.c (arm_unwind_emit): Suppress unused unwinding | |
1588 | annotations. | |
1589 | (arm_output_fn_unwind): Mark functions that can not be unwound. | |
1590 | ||
ff069900 PB |
1591 | 2008-03-15 Paul Brook <paul@codesourcery.com> |
1592 | ||
1593 | * config/arm/arm.c (arm_rtx_costs_1): Add costs for ARMv6 value | |
1594 | extension instructions. | |
1595 | ||
87e1e42b RG |
1596 | 2008-03-15 Richard Guenther <rguenther@suse.de> |
1597 | ||
1598 | * tree-ssa-ccp.c (ccp_fold): Also read from constant values | |
1599 | and fold constant aggregate refs. | |
1600 | (fold_const_aggregate_ref): Handle string constants | |
1601 | and constructors in ARRAY_REFs. Handle INDIRECT_REF. | |
1602 | (evaluate_stmt): Simplify now that ccp_fold folds constant | |
1603 | aggregate refs. | |
1604 | ||
ef87d898 PB |
1605 | 2008-03-15 Paul Brook <paul@codesourcery.com> |
1606 | ||
1607 | * config/arm/arm.md (insv): Use gen_insv_t2 and gen_insv_zero. | |
1608 | (extzv): Use gen_extzv_t2. | |
1609 | (insv_t2, insv_zero, extv, extzv_t2): New patterns. | |
1610 | ||
ed97ddc6 RG |
1611 | 2008-03-15 Richard Guenther <rguenther@suse.de> |
1612 | ||
1613 | * tree-ssa-ccp.c (get_symbol_constant_value): Export. | |
1614 | (fold_const_aggregate_ref): Likewise. | |
1615 | (get_value): Return NULL if we don't have any values. | |
1616 | (ccp_finalize): Set const_val to NULL after freeing it. | |
1617 | * tree-flow.h (get_symbol_constant_value): Declare. | |
1618 | (fold_const_aggregate_ref): Likewise. | |
1619 | * tree-ssa-sccvn.c (try_to_simplify): Use them. | |
1620 | ||
1fd89060 RG |
1621 | 2008-03-15 Richard Guenther <rguenther@suse.de> |
1622 | ||
1623 | PR middle-end/35593 | |
1624 | * tree-ssa-ccp.c (maybe_fold_offset_to_array_ref): Make sure | |
1625 | to not produce negative array indices if not allowed. Add | |
1626 | parameter to indicate that. | |
1627 | (maybe_fold_offset_to_component_ref): Allow negative array | |
1628 | indices only for the first member of a structure. | |
1629 | (maybe_fold_offset_to_reference): Allow negative array indices. | |
1630 | (maybe_fold_stmt_addition): Likewise. | |
1631 | ||
693092fb | 1632 | 2008-03-15 Bjoern Haase <bjoern.m.haase@web.de> |
cd7e0bd4 | 1633 | Anatoly Sokolov <aesok@post.ru> |
693092fb BH |
1634 | |
1635 | * gcc/gcc/config/avr/avr.c (avr_arch_types): Add avr6 entry. | |
1636 | (avr_arch): Add ARCH_AVR6. | |
1637 | (avr_mcu_types): Add 'atmega2560' and 'atmega2561' entry. | |
1638 | (initial_elimination_offset): Initialize and use 'avr_pc_size' | |
1639 | instead of fixed value 2. | |
1640 | (print_operand_address): Use gs() asm specifier instead of pm(). | |
1641 | (avr_assemble_integer): (Ditto.). | |
1642 | (avr_output_addr_vec_elt): (Ditto.). | |
1643 | (print_operand): Handle "!" code. | |
1644 | * gcc/gcc/config/avr/avr.h (TARGET_CPU_CPP_BUILTINS): Add | |
1645 | __AVR_3_BYTE_PC__, __AVR_2_BYTE_PC__ and __AVR_HAVE_JMP_CALL__. | |
1646 | (AVR_HAVE_EIJMP_EICALL): Define. | |
1647 | (AVR_3_BYTE_PC): Redefine. | |
1648 | (AVR_2_BYTE_PC): (Ditto.). | |
1649 | (PRINT_OPERAND_PUNCT_VALID_P): Add '!' code. | |
1650 | (LINK_SPEC): Add atmega2560 and atmega2561. | |
1651 | (CRT_BINUTILS_SPEC): Add atmega2560 (crtm2560.o) and atmega2561 | |
1652 | (crtm2561.o). | |
1653 | * gcc/gcc/config/avr/avr.md (call_insn): Use eicall instead of icall | |
1654 | for 3 byte PC devices. | |
1655 | (call_value_insn): (Ditto.). | |
1656 | (*tablejump_enh): Use eijmp instead of ijmp for 3 byte PC devices. | |
1657 | (indirect_jump): Use only for for 2 byte PC devices. | |
1658 | (*tablejump): (Ditto.). | |
1659 | (*indirect_jump_avr6): Add insn. | |
1660 | (*tablejump_rjmp): Don't use for 3 byte PC devices. | |
1661 | * gcc/gcc/config/avr/libgcc.S (__prologue_saves__): Use eijmp | |
1662 | instead of ijmp for 3 byte PC devices. | |
1663 | (__tablejump2__): (Ditto.). | |
1664 | * gcc/gcc/config/avr/t-avr (MULITLIB_OPTIONS): Add avr6 architecture. | |
1665 | (MULITLIB_DIRNAMES): (Ditto.). | |
1666 | (MULTILIB_MATCHES): Add atmega2560 and atmega2561 to list. | |
1667 | ||
ab555a5b UB |
1668 | 2008-03-15 Uros Bizjak <ubizjak@gmail.com> |
1669 | ||
1670 | * config/i386/mmx.md ("sse2_umulv1siv2di3"): Rename from | |
1671 | "sse2_umulsidi3". Use V1DI mode for operand 0. | |
1672 | ("mmx_psadbw"): Use V1DI mode for operand 0. | |
1673 | * config/i386/i386-modes.def (V1SI): New vector mode. | |
1674 | * config/i386/i386.c (struct builtin_description) | |
1675 | [IX86_BUILTIN_PMULUDQ]: Use CODE_FOR_sse2_umulv1siv1di3. | |
1676 | (v1di_ftype_v8qi_v8qi): Rename from di_ftype_v8qi_v8qi. | |
1677 | (v1di_ftype_v2si_v2si): Rename from di_ftype_v2si_v2si. | |
1678 | (ix86_init_mmx_sse_builtins) [__builtin_ia32_psadbw]: Use | |
1679 | v1di_ftype_v8qi_v8qi type. | |
1680 | [__builtin_ia32_pmuludq]: Use v1di_ftype_v2si_v2si type. | |
1681 | ||
1682 | * doc/extend.texi (X86 Built-in Functions) [__builtin_ia32_psadbw, | |
1683 | __builtin_ia32_pmuludq]: Fix the mode of return value. | |
1684 | ||
8f78ed0e RG |
1685 | 2008-03-15 Richard Guenther <rguenther@suse.de> |
1686 | ||
1687 | PR middle-end/35595 | |
1688 | * tree-ssa-pre.c (bitmap_find_leader): Handle expression | |
1689 | being a PHI_NODE. | |
1690 | ||
66e58b33 BW |
1691 | 2008-03-14 Bob Wilson <bob.wilson@acm.org> |
1692 | ||
1693 | * doc/invoke.texi (Option Summary, Xtensa Options): Document | |
1694 | -mserialize-volatile and -mno-serialize-volatile Xtensa options. | |
1695 | * config/xtensa/xtensa.c (print_operand): Do not emit MEMW instructions | |
1696 | unless TARGET_SERIALIZE_VOLATILE is enabled. | |
1697 | * config/xtensa/xtensa.md (*lsiu, *ssiu): Likewise. | |
1698 | * config/xtensa/xtensa.h (TARGET_DEFAULT): Add MASK_SERIALIZE_VOLATILE. | |
1699 | * config/xtensa/xtensa.opt (mserialize_volatile): New option. | |
1700 | ||
896c8b96 RG |
1701 | 2008-03-14 Richard Guenther <rguenther@suse.de> |
1702 | ||
1703 | PR tree-optimization/34172 | |
1704 | * tree-flow.h (refs_may_alias_p): Declare. | |
1705 | (get_single_def_stmt): Likewise. | |
1706 | (get_single_def_stmt_from_phi): Likewise. | |
1707 | (get_single_def_stmt_with_phi): Likewise. | |
1708 | * tree-dfa.c (refs_may_alias_p): New function. | |
1709 | (get_single_def_stmt): Likewise. | |
1710 | (get_single_def_stmt_from_phi): Likewise. | |
1711 | (get_single_def_stmt_with_phi): Likewise. | |
1712 | * tree-ssa-sccvn.c (get_def_ref_stmt_vuses): New function. | |
1713 | (vn_reference_lookup_1): New helper function. | |
1714 | (vn_reference_lookup): Walk the virtual use-def chain to | |
1715 | continue searching for a match if the def does not alias the | |
1716 | reference we are looking for. | |
1717 | ||
75dd1ae2 DE |
1718 | 2008-03-14 David Edelsohn <edelsohn@gnu.org> |
1719 | ||
1720 | * doc/install.texi (Binaries): Remove UCLA archive. Add HVCC | |
1721 | archive and Perzl. Update The Written Word listing. | |
1722 | ||
3d45dd59 RG |
1723 | 2008-03-14 Richard Guenther <rguenther@suse.de> |
1724 | ||
1725 | PR tree-optimization/34043 | |
1726 | PR tree-optimization/33989 | |
1727 | * tree-ssa-pre.c (execute_pre): Allow SCCVN to do insertion | |
1728 | when doing FRE. | |
1729 | (bitmap_find_leader): Use extra argument to verify dominance | |
1730 | relationship inside a basic-block. | |
1731 | (can_PRE_operation): Add VIEW_CONVERT_EXPR. | |
1732 | (find_leader_in_sets): Adjust. | |
1733 | (create_component_ref_by_pieces): Take extra argument for | |
1734 | dominance check, handle lookup failures. | |
1735 | (find_or_generate_expression): Likewise. | |
1736 | (create_expression_by_pieces): Likewise. | |
1737 | (insert_into_preds_of_block): Adjust. | |
1738 | (create_value_expr_from): If asked for, verify all operands | |
1739 | are in the blocks AVAIL_OUT set. | |
1740 | (make_values_for_stmt): Check for SSA_NAMEs that are life | |
1741 | over an abnormal edge. | |
1742 | (compute_avail): Remove such check. | |
1743 | (do_SCCVN_insertion): New function. | |
1744 | (eliminate): If we do not find a leader suitable for replacement | |
1745 | insert a replacement expression from SCCVN if available. | |
1746 | * tree-ssa-sccvn.h (run_scc_vn): Update prototype. | |
1747 | (struct vn_ssa_aux): Add needs_insertion flag. | |
1748 | * tree-ssa-sccvn.c (may_insert): New global flag. | |
1749 | (copy_reference_ops_from_ref): Value-number union member access | |
1750 | based on its size, not type and member if insertion is allowed. | |
1751 | (visit_reference_op_load): For a weak match from union type | |
1752 | punning lookup a view-converted value and insert a SSA_NAME | |
1753 | for that value if that is not found. | |
1754 | (visit_use): Make dumps shorter. Do not disallow value numbering | |
1755 | SSA_NAMEs that are life over an abnormal edge to constants. | |
1756 | (free_scc_vn): Release inserted SSA_NAMEs. | |
1757 | (run_scc_vn): New flag to specify whether insertion is allowed. | |
1758 | Process SSA_NAMEs in forward order. | |
1759 | * tree-ssa-loop-im.c (for_each_index): Handle invariant | |
1760 | ADDR_EXPRs inside VIEW_CONVERT_EXPR. | |
1761 | * fold-const.c (fold_unary): Fold VIEW_CONVERT_EXPRs from/to | |
1762 | pointer type to/from integral types that do not change the | |
1763 | precision to regular conversions. | |
1764 | ||
52eaae97 UB |
1765 | 2008-03-13 Uros Bizjak <ubizjak@gmail.com> |
1766 | ||
1767 | * doc/extend.texi (X86 Built-in Functions) [__builtin_ia32_psll?, | |
1768 | __builtin_ia32_psrl?, __builtin_ia32_psra?, __builtin_ia32_psll?i, | |
1769 | __builtin_ia32_psrl?i, __builtin_ia32_psra?i, __builtin_ia32_psll?128, | |
1770 | __builtin_ia32_psrl?128, __builtin_ia32_psra?128]: Fix the mode of | |
75d8b30e UB |
1771 | input arguments and the mode of return value. Built-in functions |
1772 | that operate on whole 64-bit MMX register now use V1DI mode. | |
52eaae97 | 1773 | |
5f5f0635 AD |
1774 | 2008-03-13 Alon Dayan <alond@il.ibm.com> |
1775 | Olga Golovanevsky <olga@il.ibm.com> | |
1776 | ||
1777 | PR tree-optimization/35041 | |
1778 | * ipa-struct-reorg.c (find_pos_in_stmt_1): Add another option | |
1779 | to locate the right position in a statement. | |
1780 | ||
1359ef39 UB |
1781 | 2008-03-13 Uros Bizjak <ubizjak@gmail.com> |
1782 | ||
1783 | PR target/34000 | |
1784 | PR target/35553 | |
1785 | * config/i386/xmmintrin.h: Change all static inline functions to | |
1786 | extern inline and add __gnu_inline__ attribute. | |
1787 | * config/i386/bmintrin.h: Ditto. | |
1788 | * config/i386/smmintrin.h: Ditto. | |
1789 | * config/i386/tmmintrin.h: Ditto. | |
1790 | * config/i386/mmintrin-common.h: Ditto. | |
1791 | * config/i386/ammintrin.h: Ditto. | |
1792 | * config/i386/emmintrin.h: Ditto. | |
1793 | * config/i386/pmmintrin.h: Ditto. | |
1794 | * config/i386/mmintrin.h: Ditto. | |
1795 | * config/i386/mm3dnow.h: Ditto. | |
1796 | ||
d0fb20be JJ |
1797 | 2008-03-13 Jakub Jelinek <jakub@redhat.com> |
1798 | ||
1799 | PR middle-end/35185 | |
1800 | * omp-low.c (lower_regimplify, init_tmp_var, save_tmp_var): Removed. | |
1801 | (lower_omp_2): New function. | |
1802 | (lower_omp_1, lower_omp): Rewritten. | |
1803 | ||
20cef83a DS |
1804 | 2008-03-13 Danny Smith <dannysmith@users.sourceforge.net> |
1805 | ||
1806 | PR 35054 | |
1807 | * doc/extend.texi (Structure-Packing Pragmas): Replace "Win32" | |
1808 | with the phrase "Microsoft Windows compilers". | |
1809 | (Push/Pop Macro Pragmas): New subsection. Document | |
1810 | #pragma push_macro and pragma pop_macro. | |
1811 | ||
5dea0c19 PB |
1812 | 2008-03-12 Paul Brook <paul@codesourcery.com> |
1813 | ||
1814 | * config/arm/arm.c (output_move_double): Prefer LDRD to LDM. | |
1815 | ||
d1b85efb PB |
1816 | 2008-03-12 Paul Brook <paul@codesourcery.com> |
1817 | ||
1818 | * config/arm/thumb2.md: Extend peephole to cover 3-arg subs. | |
1819 | (thumb2_alusi3_short): Exclude PLUS and MINUS. | |
1820 | (thumb2_addsi_shortim): Rename ... | |
1821 | (thumb2_addsi_short): ... to this. Allow register operands. | |
1822 | (thumb2_subsi_short): New pattern. | |
1823 | (thumb2_one_cmplsi2_short, | |
1824 | thumb2_negsi2_short): New patterns and peepholes. | |
1825 | ||
09754904 PB |
1826 | 2008-03-12 Paul Brook <paul@codesourcery.com> |
1827 | ||
09754904 PB |
1828 | * config/arm/arm.c (arm_size_rtx_costs): Use ARM costs for Thumb-2. |
1829 | ||
a7438d6d UB |
1830 | 2008-03-12 Uros Bizjak <ubizjak@gmail.com> |
1831 | ||
1832 | * config/i386/i386.md (int_cond): New code iterator. | |
1833 | (fp_cond): Ditto. | |
1834 | ("s<code>"): Macroize expander from seq, sne, sgt, sgtu, slt, sltu, | |
1835 | sge, sgeu, sle and sleu expanders usign int_cond code iterator. | |
1836 | ("s<code>"): Macroize expander from sunordered, sordered, suneq, sunge, | |
1837 | sungt, sunle, sunlt and sltgt expanders usign fp_cond code iterator. | |
1838 | ("b<code>"): Macroize expander from beq, bne, bgt, bgtu, blt, bltu, | |
1839 | bge, bgeu, ble and bleu expanders usign int_cond code iterator. | |
1840 | ("b<code>"): Macroize expander from bunordered, bordered, buneq, bunge, | |
1841 | bungt, bunle, bunlt and bltgt expanders usign fp_cond code iterator. | |
1842 | ||
954954d1 PB |
1843 | 2008-03-12 Paul Brook <paul@codesourcery.com> |
1844 | ||
1845 | * config/arm/arm.c (use_return_insn): Use offsets->saved_regs_mask | |
1846 | instead of {arm,thumb}_compute_save_reg_mask. | |
1847 | (output_return_instruction): Ditto. | |
1848 | (thumb_unexpanded_epilogue): Ditto. | |
1849 | (thumb1_expand_prologue): Ditto. | |
1850 | (thumb1_output_function_prologue): Ditto. | |
1851 | (arm_set_return_address): Ditto. | |
1852 | (thumb_set_return_address): Ditto. | |
1853 | (arm_get_frame_offsets): Set offsets->saved_regs_mask. Push extra | |
1854 | regs to achieve stack alignment. | |
1855 | (thumb1_compute_save_reg_mask): Fix compiler warning. | |
1856 | (arm_output_epilogue): Use offsets->saved_regs_mask. | |
1857 | Adjust stack pointer by poping call clobered registers. | |
1858 | (arm_expand_prologue): Use offsets->saved_regs_mask. | |
1859 | Adjust stack pointer by pushing extra registers. | |
d0fb20be | 1860 | * config/arm.h (arm_stack_offsets): Add saved_regs_mask. |
954954d1 | 1861 | |
c83bd37c PB |
1862 | 2008-03-12 Paolo Bonzini <bonzini@gnu.org> |
1863 | ||
1864 | PR tree-opt/35422 | |
1865 | * fold-const.c (fold_unary) <NOP_EXPR>: Distribute a narrowing | |
1866 | conversion to the operands of a multiplication. | |
1867 | ||
67514449 RG |
1868 | 2008-03-12 Richard Guenther <rguenther@suse.de> |
1869 | ||
1870 | * Makefile.in (OBJS-common): Add tree-ssa-phiprop.o | |
1871 | (tree-ssa-phiprop.o): Copy dependencies from tree-ssa-forwprop.o. | |
1872 | * timevar.def (TV_TREE_PHIPROP): Add. | |
1873 | * tree-ssa-phiprop.c: Split from tree-ssa-forwprop.c, added | |
1874 | pass description. Use TV_TREE_PHIPROP. | |
1875 | * tree-ssa-forwprop.c: Remove phiprop code. | |
1876 | ||
7c8f7639 JJ |
1877 | 2008-03-12 Jakub Jelinek <jakub@redhat.com> |
1878 | ||
1879 | PR middle-end/35549 | |
1880 | * omp-low.c (maybe_lookup_decl): Constify first argument. | |
1881 | (use_pointer_for_field): Change last argument from bool to | |
1882 | omp_context *. Disallow shared copy-in/out in nested | |
1883 | parallel if decl is shared in outer parallel too. | |
1884 | (build_outer_var_ref, scan_sharing_clauses, | |
1885 | lower_rec_input_clauses, lower_copyprivate_clauses, | |
1886 | lower_send_clauses, lower_send_shared_vars): Adjust callers. | |
1887 | ||
62878103 VK |
1888 | 2008-03-12 Victor Kaplansky <victork@il.ibm.com> |
1889 | Ira Rosen <irar@il.ibm.com> | |
1890 | ||
1891 | * tree-vectorizer.c (free_stmt_vec_info): New function. | |
1892 | (destroy_loop_vec_info): Move code to free_stmt_vec_info(). | |
1893 | Call free_stmt_vec_info(). Free LOOP_VINFO_STRIDED_STORES.. | |
1894 | * tree-vectorizer.h (free_stmt_vec_info): Declare. | |
1895 | * tree-vect-transform.c (vectorizable_conversion): Free | |
1896 | vec_oprnds0 if it was allocated. | |
1897 | (vect_permute_store_chain): Remove unused VECs. | |
1898 | (vectorizable_store): Free VECs that are allocated in the.. | |
1899 | function. | |
1900 | (vect_transform_strided_load, vectorizable_load): Likewise. | |
1901 | (vect_remove_stores): Simplify the code. | |
1902 | (vect_transform_loop): Move code to vect_remove_stores(). | |
1903 | Call vect_remove_stores() and free_stmt_vec_info(). | |
1904 | ||
9dbd54be JDA |
1905 | 2008-03-11 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
1906 | ||
1907 | * pa.h (TARGET_LONG_PIC_SDIFF_CALL): Conditionalize define on | |
1908 | TARGET_HPUX. Revise comment. | |
1909 | (TARGET_LONG_PIC_PCREL_CALL): Revise comment. | |
1910 | * pa.c (output_call): Update for revised TARGET_LONG_PIC_SDIFF_CALL. | |
1911 | Use sr4 variant of `be' instruction when not generating PIC code. | |
1912 | (attr_length_call): Adjust for above change. | |
1913 | ||
76a7d3ca AP |
1914 | 2008-03-11 Andrew Pinski <andrew_pinski@playstation.sony.com> |
1915 | ||
1916 | * ipa-reference.c (static_execute): Remove module_statics_const and | |
1917 | associated setting code. | |
1918 | ||
40cca4f9 UB |
1919 | 2008-03-11 Uros Bizjak <ubizjak@gmail.com> |
1920 | ||
1921 | PR target/35540 | |
1922 | * config/i386/i386.md (paritysi2, paritydi2): Use register_operand | |
1b1d8f88 UB |
1923 | predicate for operand 1. |
1924 | (paritysi2_cmp): Use register_operand predicate for operand 2. | |
40cca4f9 UB |
1925 | Use earlyclobber modifier for operand 1. Remove support for |
1926 | memory operands. | |
1b1d8f88 | 1927 | (paritydi2_cmp): Use register_operand predicate for operand 3. |
40cca4f9 UB |
1928 | Use earlyclobber modifier for operand 1. Remove support for |
1929 | memory operands. | |
1930 | ||
ec6237e4 | 1931 | 2008-03-11 Paul Brook <paul@codesourcery.com> |
40cca4f9 | 1932 | Vladimir Prus <vladimir@codesourcery.com> |
ec6237e4 PB |
1933 | |
1934 | * config/arm/arm.c (use_return_insn): Check TARGET_APCS_FRAME. | |
1935 | (arm_compute_save_reg0_reg12_mask): Always | |
1936 | check if register 11 must be saved. Always safe hard frame pointer | |
1937 | when frame_pointer_needeed. | |
1938 | (arm_compute_save_reg_mask): Save IP and PC | |
1939 | only with apcs frames. | |
1940 | (arm_output_epilogue): Adjust Thumb2 codepath to | |
1941 | be also invoked and work for ARM non-apcs frames. | |
1942 | (arm_expand_prologue): Don't bother saving IP | |
1943 | for non-apcs frame, since it's not clobbered by | |
1944 | prologue code. Implement non-apcs frame | |
1945 | layout. | |
1946 | ||
2f6025a1 PB |
1947 | 2008-03-11 Paolo Bonzini <bonzini@gnu.org> |
1948 | ||
1949 | PR rtl-optimization/35281 | |
1950 | * expr.c (convert_move): Use a new pseudo for the intermediate | |
1951 | from_mode->word_mode result. | |
1952 | ||
30e257e5 PB |
1953 | 2008-03-11 Paolo Bonzini <bonzini@gnu.org> |
1954 | ||
ec6237e4 PB |
1955 | * langhooks-def.h (LANG_HOOKS_CLEAR_BINDING_STACK): Delete. |
1956 | * langhooks.h (struct lang_hooks): Delete clear_binding_stack member. | |
1957 | * toplev.c (compile_file): Don't call it. | |
30e257e5 | 1958 | |
ab669042 UB |
1959 | 2008-03-11 Uros Bizjak <ubizjak@gmail.com> |
1960 | ||
1961 | PR middle-end/35526 | |
1962 | * expr.c (store_expr): Call emit_block_move if the mode | |
1963 | of "temp" RTX is BLKmode. | |
1964 | ||
1ffe34d9 | 1965 | 2008-03-11 Andrew Pinski <andrew_pinski@playstation.sony.com> |
ab669042 | 1966 | Richard Guenther <rguenther@suse.de> |
1ffe34d9 AP |
1967 | |
1968 | PR tree-optimization/31358 | |
1969 | * tree-ssa-loop-manip.c (create_iv): Call force_gimple_operand for | |
1970 | the step with a NULL_TREE. | |
1971 | * tree-ssa-loop-ivopts.c (find_bivs): Convert the step | |
1972 | to sizetype if type is a pointer type. | |
1973 | (add_candidate_1): Don't convert the base and step to | |
1974 | the generic type if the orginal type is a pointer type. | |
1975 | (add_iv_value_candidates): Use sizetype for the step | |
1976 | if type is a pointer type. | |
1977 | (cand_value_at): Likewise. | |
1978 | * tree-ssa-address.c (add_to_parts): Use POINTER_PLUS_EXPR | |
1979 | for pointer types. | |
1980 | * tree-affine.c (tree_to_aff_combination <POINTER_PLUS_EXPR>): | |
1981 | Don't convert the tem affine to the type. | |
1982 | (add_elt_to_tree): Use sizetype for the step if a pointer. | |
1983 | Use POINTER_PLUS_EXPR for pointers. | |
1984 | (aff_combination_to_tree): Use sizetype for the step if a | |
1985 | pointer. | |
1986 | ||
dd6d5236 VM |
1987 | 2008-03-10 Vladimir Makarov <vmakarov@redhat.com> |
1988 | ||
1989 | * config/i386/sse.md (ssse3_pmaddubswv8hi3, ssse3_pmaddubswv4hi3): | |
1990 | Remove commutativity hint. | |
1991 | ||
8b46837c JJ |
1992 | 2008-03-10 Jakub Jelinek <jakub@redhat.com> |
1993 | ||
5df27e4a JJ |
1994 | PR c/35438 |
1995 | PR c/35439 | |
1996 | * c-parser.c (c_parser_omp_threadprivate): Don't add vars with | |
1997 | errorneous type. Check that v is a VAR_DECL. | |
1998 | ||
8b46837c JJ |
1999 | PR middle-end/35099 |
2000 | * tree-cfg.c (new_label_mapper): Update cfun->last_label_uid. | |
2001 | ||
725c2d32 L |
2002 | 2008-03-10 H.J. Lu <hongjiu.lu@intel.com> |
2003 | ||
2004 | PR tree-optimization/35494 | |
2005 | * tree-ssa-ccp.c (get_symbol_constant_value): Check if value | |
2006 | may be overriden at link and run time. | |
2007 | ||
3ba404df RG |
2008 | 2008-03-10 Richard Guenther <rguenther@suse.de> |
2009 | ||
2010 | PR tree-optimization/34677 | |
2011 | * tree-ssa-pre.c (modify_expr_node_pool): Remove. | |
2012 | (poolify_tree): Likewise. | |
2013 | (modify_expr_template): Likewise. | |
2014 | (poolify_modify_stmt): Likewise. | |
2015 | (insert_fake_stores): Handle all component-ref style stores | |
2016 | in addition to INDIRECT_REF. Also handle complex types. | |
2017 | Do not poolify the inserted load. | |
2018 | (realify_fake_stores): Do not rebuild the tree but only | |
2019 | make it a SSA_NAME copy. | |
2020 | (init_pre): Remove initialzation of modify_expr_template. | |
2021 | Do not allocate modify_expr_node_pool. | |
2022 | (fini_pre): Do not free modify_expr_node_pool. | |
2023 | ||
97e38a92 PB |
2024 | 2008-03-10 Paul Brook <paul@codesourcery.com> |
2025 | ||
2026 | * config/arm/arm.md (UNSPEC_STACK_ALIGN, UNSPEC_PIC_OFFSET): Renumber | |
2027 | to avoid conflicts. | |
2028 | ||
bd4dc3cd | 2029 | 2008-03-10 Paul Brook <paul@codesourcery.com> |
ab669042 | 2030 | Mark Shinwell <shinwell@codesourcery.com> |
bd4dc3cd | 2031 | |
bd4dc3cd PB |
2032 | * config/arm/cortex-r4.md: New. |
2033 | * config/arm/thumb2.md (divsi3, udivsi3): Annotate with | |
2034 | insn attributes. | |
2035 | * config/arm/arm.md: Include cortex-r4.md. | |
2036 | (insn): Add smmls, sdiv and udiv values. | |
2037 | (generic_sched): Don't use generic scheduling for Cortex-R4. | |
2038 | (arm_issue_rate): New function. | |
2039 | (TARGET_SCHED_ISSUE_RATE): Define. | |
2040 | ||
9886a872 SP |
2041 | 2008-03-10 Sebastian Pop <sebastian.pop@amd.com> |
2042 | ||
2043 | * doc/invoke.texi (-ftree-loop-distribution): Add an example. | |
2044 | ||
e5eff6a3 RG |
2045 | 2008-03-10 Richard Guenther <rguenther@suse.de> |
2046 | ||
2047 | * tree-ssa-pre.c (get_sccvn_value): Simplify. | |
2048 | (compute_avail): Do not add stmt uses to AVAIL_OUT. | |
2049 | ||
0d4c700c PB |
2050 | 2008-03-10 Paolo Bonzini <bonzini@gnu.org> |
2051 | ||
2052 | * langhooks-def.h (LANG_HOOKS_REDUCE_BIT_FIELD_OPERATIONS): | |
2053 | Set default to true. | |
2054 | ||
802e3f8c RW |
2055 | 2008-03-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
2056 | ||
2057 | * c.opt (Wsynth): Deprecate. | |
2058 | * doc/invoke.texi (Option Summary, Warning Options): Document | |
2059 | -Wno-format-contains-nul. | |
2060 | ||
be3d4789 UB |
2061 | 2008-03-09 Uros Bizjak <ubizjak@gmail.com> |
2062 | ||
2063 | PR target/35496 | |
3b509e33 | 2064 | * config/i386/i386.c (ix86_constant_alignment): Compute alignment using |
be3d4789 UB |
2065 | ALIGN_MODE_128 for VECTOR_CST and INTEGER_CST in addition to REAL_CST. |
2066 | ||
e83a75a7 IR |
2067 | 2008-03-09 Ira Rosen <irar@il.ibm.com> |
2068 | ||
2069 | * config/rs6000/rs6000.c (builtin_description): Rename vector | |
2070 | left shift operations. | |
2071 | * config/rs6000/altivec.md (UNSPEC_VSL): Remove. | |
2072 | (altivec_vsl<VI_char>): Rename to ... | |
2073 | (ashl<mode>3): ... new name. | |
2074 | (mulv4sf3, mulv4si3, negv4sf2): Replace gen_altivec_vslw with | |
2075 | gen_ashlv4si3. | |
2076 | (absv4sf2): Convert to use ashift:V4SI instead of UNSPEC_VSL. | |
2077 | ||
fc9161c1 RG |
2078 | 2008-03-08 Richard Guenther <rguenther@suse.de> |
2079 | ||
2080 | * coverage.h (tree_coverage_counter_addr): Declare. | |
2081 | * coverage.c (tree_coverage_counter_addr): New function. | |
2082 | * tree-profile.c (tree_gen_edge_profiler): Unshare counter | |
2083 | before using again. | |
2084 | (tree_gen_pow2_profiler): Use tree_coverage_counter_addr. | |
2085 | (tree_gen_one_value_profiler): Likewise. | |
2086 | (tree_gen_ic_profiler): Likewise. | |
2087 | (tree_gen_average_profiler): Likewise. | |
2088 | (tree_gen_ior_profiler): Likewise. | |
2089 | ||
49a1fb2d RG |
2090 | 2008-03-08 Richard Guenther <rguenther@suse.de> |
2091 | ||
2092 | * tree-ssa-sccvn.h (vn_binary_op_lookup): Remove. | |
2093 | (vn_binary_op_insert): Likewise. | |
2094 | (vn_unary_op_lookup): Likewise. | |
2095 | (vn_unary_op_insert): Likewise. | |
2096 | (vn_nary_op_lookup): Declare. | |
2097 | (vn_nary_op_insert): Likewise. | |
2098 | * tree-ssa-sccvn.c (struct vn_tables_s): Merge unary | |
2099 | and binary hashes, use a single obstack for unary_op_pool | |
2100 | and binary_op_pool. | |
2101 | (struct vn_binary_op_s, struct vn_unary_op_s): Replace with | |
2102 | a single struct vn_nary_op_s. Store tree code length and | |
2103 | a variable number of operands. | |
2104 | (struct vn_reference_op_struct): Remove unused op2. | |
2105 | (vn_reference_op_eq): Do not compare op2. | |
2106 | (vn_reference_op_compute_hash): Do not compute hash of op2. | |
2107 | (vn_unary_op_hash, vn_binary_op_hash): Replace with vn_nary_op_hash. | |
2108 | (vn_unary_op_compute_hash, vn_binary_op_compute_hash): Replace | |
2109 | with vn_nary_op_compute_hash. | |
2110 | (vn_unary_op_eq, vn_binary_op_eq): Replace with vn_nary_op_eq. | |
2111 | (vn_unary_op_lookup, vn_binary_op_lookup): Replace with | |
2112 | vn_nary_op_lookup. | |
2113 | (vn_unary_op_insert, vn_binary_op_insert): Replace with | |
2114 | vn_nary_op_insert. | |
2115 | (visit_unary_op): Call nary functions. | |
2116 | (visit_binary_op): Likewise. | |
2117 | (process_scc): Adjust for struct vn_tables_s changes. | |
2118 | (allocate_vn_table): Likewise. | |
2119 | (free_vn_table): Likewise. | |
2120 | * tree-vn.c (vn_add): Call nary functions. | |
2121 | (vn_lookup): Likewise. | |
2122 | ||
2725b75c JJ |
2123 | 2008-03-08 Jakub Jelinek <jakub@redhat.com> |
2124 | ||
2125 | PR target/35498 | |
2126 | * config/rs6000/rs6000.c (rs6000_expand_compare_and_swapqhi): Shift | |
2127 | wdst back after sync_compare_and_swapqhi_internal. | |
2128 | ||
10a97ae6 UB |
2129 | 2008-03-08 Uros Bizjak <ubizjak@gmail.com> |
2130 | ||
2131 | PR target/22152 | |
2132 | * config/i386/i386-modes.def (V1DI): New vector mode. | |
2133 | * config/i386/i386.h (VALID_MMX_REG_MODE): Add V1DImode. | |
2134 | * config/i386/mmx.md (MMXMODEI8): New mode iterator. | |
2135 | (MMXMODE248): Ditto. | |
2136 | (MMXMODE): Add V1DI mode. | |
2137 | (mmxvecsize): Change DI mode to V1DI mode. | |
2138 | ("mov<mode>): Use MMXMODEI8 mode iterator. | |
2139 | ("*mov<mode>_internal_rex64"): Ditto. | |
2140 | ("*mov<mode>_internal"): Ditto. | |
2141 | ("mmx_add<mode>3"): Ditto. Handle V1DImode for TARGET_SSE2. | |
2142 | ("mmx_sub<mode>3"): Ditto. | |
2143 | ("mmx_adddi3"): Remove insn pattern. | |
2144 | ("mmx_subdi3"): Ditto. | |
2145 | ("mmx_ashr<mode>3"): Use SImode and "yN" constraint for operand 2. | |
2146 | ("mmx_lshr<mode>3"): Ditto. Use MMXMODE248 mode iterator. | |
2147 | ("mmx_ashl<mode>3"): Ditto. | |
2148 | ("mmx_lshrdi3"): Remove insn pattern. | |
2149 | ("mmx_ashldi3"): Ditto. | |
2150 | * config/i386/i386.c (classify_argument): Handle V1DImode. | |
2151 | (function_arg_advance_32): Ditto. | |
2152 | (function_arg_32): Ditto. | |
2153 | (struct builtin_description) [IX86_BUILTIN_PADDQ]: Use | |
2154 | mmx_addv1di3 insn pattern. | |
2155 | [IX86_BUILTIN_PSUBQ]: Use mmx_subv1di3 insn pattern. | |
2156 | [IX86_BUILTIN_PSLL?, IX86_BUILTIN_PSRL?, IX86_BUILTIN_PSRA?, | |
2157 | IX86_BUILTIN_PSLL?I, IX86_BUILTIN_PSRL?I, IX86_BUILTIN_PSRA?I, | |
2158 | IX86_BUILTIN_PSLL?I128, IX86_BUILTIN_PSRL?I128, IX86_BUILTIN_PSRA?I128]: | |
2159 | Remove definitions of built-in functions. | |
2160 | (V1DI_type_node): New node. | |
2161 | (v1di_ftype_v1di_int): Ditto. | |
2162 | (v1di_ftype_v1di_v1di): Ditto. | |
2163 | (v2si_ftype_v2si_si): Ditto. | |
2164 | (v4hi_ftype_v4hi_di): Remove node. | |
2165 | (v2si_ftype_v2si_di): Ditto. | |
2166 | (ix86_init_mmx_sse_builtins): Handle V1DImode. | |
2167 | (__builtin_ia32_psll?, __builtin_ia32_psrl?, __builtin_ia32_psra?): | |
2168 | Redefine builtins using def_builtin_const with *_ftype_*_int node. | |
2169 | (__builtin_ia32_psll?i, __builtin_ia32_psrl?i, __builtin_ia32_psra?i): | |
2170 | Add new builtins using def_builtin_const. | |
2171 | (ix86_expand_builtin) [IX86_BUILTIN_PSLL?, IX86_BUILTIN_PSRL?, | |
2172 | IX86_BUILTIN_PSRA?, IX86_BUILTIN_PSLL?I, IX86_BUILTIN_PSRL?I, | |
2173 | IX86_BUILTIN_PSRA?I]: Handle builtin definitions. | |
2174 | * config/i386/mmintrin.h (__v1di): New typedef. | |
2175 | (_mm_add_si64): Cast arguments to __v1di type. | |
2176 | (_mm_sub_si64): Ditto. | |
2177 | (_mm_sll_pi16): Cast __count to __v4hi type. | |
2178 | (_mm_sll_pi32): Cast __count to __v2si type. | |
2179 | (_mm_sll_si64): Cast arguments to __v1di type. | |
2180 | (_mm_srl_pi16): Cast __count to __v4hi type. | |
2181 | (_mm_srl_pi32): Cast __count to __v2si type. | |
2182 | (_mm_srl_si64): Cast arguments to __v1di type. | |
2183 | (_mm_sra_pi16): Cast __count to __v4hi type. | |
2184 | (_mm_sra_pi32): Cast __count to __v2si type. | |
2185 | (_mm_slli_pi16): Use __builtin_ia32_psllwi. | |
2186 | (_mm_slli_pi32): Use __builtin_ia32_pslldi. | |
2187 | (_mm_slli_si64): Use __builtin_ia32_psllqi. Cast __m to __v1di type. | |
2188 | (_mm_srli_pi16): Use __builtin_ia32_psrlwi. | |
2189 | (_mm_srli_pi32): Use __builtin_ia32_psrldi. | |
2190 | (_mm_srli_si64): Use __builtin_ia32_psrlqi. Cast __m to __v1di type. | |
2191 | (_mm_srai_pi16): Use __builtin_ia32_psrawi. | |
2192 | (_mm_srai_pi32): Use __builtin_ia32_psradi. | |
2193 | * config/i386/i386.md (UNSPEC_NOP): Remove unspec definition. | |
2194 | * doc/extend.texi (X86 Built-in Functions) [__builtin_ia32_psll?, | |
2195 | __builtin_ia32_psrl?, __builtin_ia32_psra?, __builtin_ia32_psll?i, | |
2196 | __builtin_ia32_psrl?i, __builtin_ia32_psra?i]: Add new builtins. | |
2197 | ||
08c3b5b0 JM |
2198 | 2008-03-07 Joseph Myers <joseph@codesourcery.com> |
2199 | ||
2200 | * doc/include/texinfo.tex: Update to version 2008-03-07.10. | |
2201 | ||
efc05e3c PB |
2202 | 2008-03-07 Peter Bergner <bergner@vnet.ibm.com> |
2203 | ||
2204 | PR target/35373 | |
2205 | * config/rs6000/rs6000.c (rs6000_legitimize_address): Don't generate | |
2206 | reg+const addressing for Altivec modes. Don't generate reg+reg | |
2207 | addressing for TFmode or TDmode quantities. | |
2208 | ||
cf7bc668 PB |
2209 | 2008-03-07 Paolo Bonzini <bonzini@gnu.org> |
2210 | ||
2211 | * c-common.c (vector_types_convertible_p): Call langhook | |
2212 | instead of comptypes. | |
2213 | ||
b0940154 AP |
2214 | 2008-03-06 Andrew Pinski <andrew_pinski@playstation.sony.com> |
2215 | ||
2216 | PR tree-opt/35402 | |
2217 | * tree-ssa-ccp.c (get_symbol_constant_value): Handle | |
2218 | integral and scalar float variables which have a | |
2219 | NULL DECL_INITIAL. | |
2220 | ||
48081aae NF |
2221 | 2008-03-06 Nathan Froyd <froydnj@codesourcery.com> |
2222 | ||
2223 | * dwarf2out.c (dwarf2out_frame_debug_expr): Consult the | |
2224 | dwarf_register_span hook when emitting unwind information for | |
2225 | register-to-memory saves. | |
2226 | * config/rs6000/rs6000.c (spe_synthesize_frame): Delete. | |
2227 | (rs6000_frame_related): Remove call to spe_synthesize_frame. | |
2228 | ||
251923f5 JJ |
2229 | 2008-03-06 Jakub Jelinek <jakub@redhat.com> |
2230 | ||
2231 | * gimplify.c (goa_lhs_expr_p): Allow different ADDR_EXPR nodes | |
2232 | for the same VAR_DECL. | |
2233 | ||
e8645a40 TT |
2234 | 2008-03-06 Tom Tromey <tromey@redhat.com> |
2235 | ||
2236 | * treelang: Delete. | |
2237 | * doc/standards.texi (Standards): Don't mention treelang. | |
2238 | * doc/invoke.texi (Overall Options): Don't mention treelang. | |
2239 | * doc/install.texi (Prerequisites): Don't mention bison or | |
2240 | treelang. | |
2241 | (Configuration): Don't mention treelang. | |
2242 | (Building): Likewise. | |
2243 | * doc/frontends.texi (G++ and GCC): Don't mention treelang. | |
2244 | ||
97efb03a PB |
2245 | 2008-03-06 Paolo Bonzini <bonzini@gnu.org> |
2246 | ||
2247 | * simplify-rtx.c (simplify_subreg): Remove useless shifts from | |
2248 | word-extractions out of a multi-word object. | |
2249 | ||
fc0f49f3 RG |
2250 | 2008-03-06 Richard Guenther <rguenther@suse.de> |
2251 | ||
2252 | * tree.def (BIT_FIELD_REF): Constrain result type and its precision. | |
2253 | * tree-cfg.c (verify_expr): Verify BIT_FIELD_REF constraints on | |
2254 | result type and precision. | |
2255 | * expr.c (get_inner_reference): Set unsignedp based on the result | |
2256 | type of BIT_FIELD_REF. | |
2257 | * tree.h (BIT_FIELD_REF_UNSIGNED): Remove. | |
2258 | * tree-sra.c (instantiate_element): Do not set BIT_FIELD_REF_UNSIGNED. | |
2259 | (try_instantiate_multiple_fields): Likewise. Use the correct type | |
2260 | for BIT_FIELD_REF. | |
2261 | (sra_build_assignment): Likewise. | |
2262 | (sra_build_elt_assignment): Likewise. | |
2263 | (sra_explode_bitfield_assignment): Likewise. | |
2264 | * print-tree.c (print_node): Do not check BIT_FIELD_REF_UNSIGNED. | |
2265 | * tree-vect-transform.c (vect_create_epilog_for_reduction): Do not | |
2266 | set BIT_FIELD_REF_UNSIGNED. | |
2267 | (vectorizable_load): Likewise. | |
2268 | ||
e186ff69 AK |
2269 | 2008-03-06 Andreas Krebbel <krebbel1@de.ibm.com> |
2270 | ||
2271 | * cse.c (cse_extended_basic_block): Invalidate artificial defs | |
2272 | at bb start. | |
2273 | ||
4c067742 RG |
2274 | 2008-03-06 Richard Guenther <rguenther@suse.de> |
2275 | ||
2276 | * alias.c (struct alias_set_entry): Move has_zero_child field | |
2277 | to pack with alias_set. | |
2278 | ||
23880b97 L |
2279 | 2008-03-05 H.J. Lu <hongjiu.lu@intel.com> |
2280 | ||
2281 | * config/i386/i386-modes.def: Use 4 byte alignment on DI for | |
2282 | 32bit host. | |
2283 | ||
6ab81302 ILT |
2284 | 2008-03-05 Ian Lance Taylor <iant@google.com> |
2285 | ||
2286 | * alias.h (alias_set_type): Change from HOST_WIDE_INT to int. | |
2287 | ||
ca9052ce KZ |
2288 | 2008-03-05 Kenneth Zadeck <zadeck@naturalbridge.com> |
2289 | ||
2290 | * fwprop.c (update_df): Support width and offset parameters of | |
2291 | df_ref_create. | |
2292 | * ra-conflict.c (mark_reg_store, clear_reg_in_live, | |
2293 | global_conflicts): Change DF_REF_EXTRACT to either | |
2294 | DF_REF_ZERO_EXTRACT or DF_REF_SIGN_EXTRACT. Change | |
2295 | DF_REF_STRICT_LOWER_PART to DF_REF_STRICT_LOW_PART. | |
2296 | * df-scan.c (df_ref_record, df_defs_record, | |
2297 | df_ref_create_structure, df_def_record_1, df_uses_record, | |
2298 | df_get_conditional_uses, df_get_call_refs, df_insn_refs_collect, | |
2299 | df_bb_refs_collect, df_entry_block_defs_collect, | |
2300 | df_exit_block_uses_collect): Support new width and offset fields. | |
2301 | (ref_extract_pool): New storage pool. | |
2302 | (df_free_ref): New function. | |
2303 | (df_reg_chain_unlink, df_free_collection_rec, | |
2304 | df_sort_and_compress_refs): Call df_free_ref. | |
2305 | (df_ref_equal_p, df_ref_compare): Compare offset and width fields | |
2306 | of df_ref_extract. | |
2307 | (df_ref_create_structure): Allocate df_ref_extract if offset and | |
2308 | width fields are used. | |
2309 | (df_def_record_1): Get offset and width from ZERO_EXTRACT. | |
2310 | (df_uses_record): Get offset and width from ZERO_EXTRACT | |
2311 | and SIGN_EXTRACT. | |
2312 | * global.c (build_insn_chain): Change DF_REF_EXTRACT to either | |
2313 | DF_REF_ZERO_EXTRACT or DF_REF_SIGN_EXTRACT. Change | |
2314 | DF_REF_STRICT_LOWER_PART to DF_REF_STRICT_LOW_PART. | |
2315 | * df.h (df_ref_flags): Change DF_REF_EXTRACT to either | |
2316 | DF_REF_ZERO_EXTRACT or DF_REF_SIGN_EXTRACT. Change | |
2317 | DF_REF_STRICT_LOWER_PART to DF_REF_STRICT_LOW_PART. | |
2318 | (df_ref_extract): New structure. | |
2319 | (DF_REF_WIDTH, DF_REF_OFFSET): New macros. | |
2320 | (df_ref_create): Add width and offset parameters. | |
2321 | ||
63d195d5 RG |
2322 | 2008-03-05 Richard Guenther <rguenther@suse.de> |
2323 | ||
2324 | * tree-ssa-structalias.c (get_constraint_for_component_ref): | |
2325 | Use ranges_overlap_p. | |
2326 | (offset_overlaps_with_access): Rename | |
2327 | to ranges_overlap_p and move ... | |
2328 | * tree-flow-inline.h (ranges_overlap_p): ... here. | |
2329 | ||
2330 | * tree.h (get_inner_reference, handled_component_p): Update | |
2331 | comments. | |
2332 | ||
2333 | * tree.h (record_component_aliases, get_alias_set, | |
2334 | alias_sets_conflict_p, alias_sets_must_conflict_p, | |
2335 | objects_must_conflict_p): Move declarations ... | |
2336 | * alias.h (record_component_aliases, get_alias_set, | |
2337 | alias_sets_conflict_p, alias_sets_must_conflict_p, | |
2338 | objects_must_conflict_p): ... here. | |
2339 | Include coretypes.h. | |
2340 | * Makefile.in (ALIAS_H): Add coretypes.h dependency. | |
2341 | ||
ea7e6d5a AH |
2342 | 2008-03-05 Aldy Hernandez <aldyh@redhat.com> |
2343 | ||
2344 | * cfg.c: Include tree-flow.h. | |
2345 | (remove_edge_raw): Call redirect_edge_var_map_clear. | |
2346 | (redirect_edge_succ_nodup): Call redirect_edge_var_map_dup. | |
2347 | * tree-flow-inline.h (redirect_edge_var_map_def): New. | |
2348 | (redirect_edge_var_map_result): New. | |
2349 | * tree-cfgcleanup.c (remove_forwarder_block_with_phi): Replace | |
2350 | PENDING_STMT use with redirect_edge_var_map_*. | |
2351 | * tree-ssa.c (edge_var_maps): New definition. | |
2352 | (redirect_edge_var_map_add): New. | |
2353 | (redirect_edge_var_map_clear): New. | |
2354 | (redirect_edge_var_map_dup): New. | |
2355 | (redirect_edge_var_map_vector): New. | |
2356 | (redirect_edge_var_map_destroy): New. | |
2357 | (ssa_redirect_edge): Replace PENDING_STMT use with | |
2358 | redirect_edge_var_map_*. | |
2359 | (flush_pending_stmts): Same. | |
2360 | (delete_tree_ssa): Destroy edge var map. | |
2361 | * tree-flow.h (struct _edge_var_map): New. | |
2362 | Define edge_var_map vector type. | |
2363 | Declare redirect_edge_var_map_* prototypes. | |
2364 | * Makefile.in (cfg.o): Depend on TREE_FLOW_H. | |
2365 | * tree-cfg.c (reinstall_phi_args): Replace | |
2366 | PENDING_STMT use with redirect_edge_var_map_*. | |
2367 | ||
1bdcf037 RG |
2368 | 2008-03-05 Richard Guenther <rguenther@suse.de> |
2369 | ||
2370 | PR tree-optimization/35472 | |
2371 | * tree-ssa-dse.c (dse_optimize_stmt): Do not delete a store | |
2372 | whose single use_stmt has a overlapping set of loaded and | |
2373 | stored symbols as that use_stmt might be a noop assignment then. | |
2374 | ||
fec5fe47 JS |
2375 | 2008-03-05 Joel Sherrill <joel.sherrill@oarcorp.com> |
2376 | ||
2377 | * gthr-rtems.h: Implement __gthread_mutex_destroy. | |
2378 | ||
e55f42fb RG |
2379 | 2008-03-05 Richard Guenther <rguenther@suse.de> |
2380 | ||
2381 | PR c++/35336 | |
2382 | * tree.def (BIT_FIELD_REF): Document that operands 1 and 2 | |
2383 | should be constants. | |
2384 | * tree-cfg.c (verify_expr): Verify it. | |
2385 | * fold-const.c (fold_truthop): Remove code generating | |
2386 | BIT_FIELD_REFs of structure bases. | |
2387 | (fold_binary): Likewise. | |
2388 | (fold_ternary): Position and size of BIT_FIELD_REFs are | |
2389 | always host integers. | |
2390 | (make_bit_field_ref): Remove. | |
2391 | (optimize_bit_field_compare): Remove. | |
2392 | (all_ones_mask_p): Remove. | |
2393 | ||
1da266fe GL |
2394 | 2008-03-05 Gabor Loki <loki@gcc.gnu.org> |
2395 | ||
2396 | PR gcc/33009 | |
2397 | * rtl-factoring.c (clear_regs_live_in_seq): Fix backward steps. | |
2398 | (split_block_and_df_analyze): New. Split basic block and rebuild | |
2399 | dataflow. | |
2400 | (block_label_after): Use SPLIT_BLOCK_AND_DF_ANALYZE instead of | |
2401 | SPLIT_BLOCK. | |
2402 | (split_pattern_seq): Likewise. | |
2403 | (erase_matching_seqs): Likewise. | |
2404 | (split_pattern_seq): Skip return insn in case of REG_NORETURN note. | |
2405 | ||
07c40d0b GK |
2406 | 2008-03-04 Geoff Keating <geoffk@apple.com> |
2407 | ||
2408 | * fold-const.c (tree_single_nonnegative_warnv_p): Fix mixed | |
2409 | declaration and code. | |
2410 | (tree_invalid_nonnegative_warnv_p): Likewise. | |
2411 | ||
4c754988 SB |
2412 | 2008-03-05 Serge Belyshev <belyshev@depni.sinp.msu.ru> |
2413 | ||
2414 | * doc/install.texi (Testing): Correct quoting for the RUNTESTFLAGS | |
2415 | examples. Truncate option-names then causing overfull hbox. | |
2416 | ||
399fe3e1 JDA |
2417 | 2008-03-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
2418 | ||
2419 | PR target/35222 | |
2420 | * configure.ac (CONFIG_SJLJ_EXCEPTIONS): Force SJLJ exceptions | |
2421 | on hpux10. | |
2422 | * configure: Rebuilt. | |
2423 | ||
e918a58a RAE |
2424 | 2008-03-04 Rafael Espindola <espindola@google.com> |
2425 | ||
2426 | * fold-const.c (tree_simple_nonnegative_warnv_p): New. | |
2427 | (tree_unary_nonnegative_warnv_p): New. | |
2428 | (tree_binary_nonnegative_warnv_p): New. | |
2429 | (tree_single_nonnegative_warnv_p): New. | |
2430 | (tree_invalid_nonnegative_warnv_p): New. | |
2431 | (tree_expr_nonnegative_warnv_p): Redefine in term of the new functions. | |
2432 | ||
ee8ea087 MLI |
2433 | 2008-03-04 Manuel Lopez-Ibanez <manu@gcc.gnu.org> |
2434 | ||
2435 | PR 28322 | |
2436 | * opts.c (handle_option): Postpone 'unknown option' errors only for | |
2437 | warning options. | |
2438 | ||
b5220972 L |
2439 | 2008-03-04 H.J. Lu <hongjiu.lu@intel.com> |
2440 | ||
2441 | PR target/35453 | |
2442 | * config/i386/smmintrin.h (SIDD_XXX): Renamed to ... | |
2443 | (_SIDD_XXX): This. | |
2444 | ||
74dd418c RAE |
2445 | 2008-03-04 Rafael Espindola <espindola@google.com> |
2446 | ||
2447 | * fold-const.c (tree_unary_nonzero_warnv_p): New. | |
2448 | (tree_binary_nonzero_warnv_p): New. | |
2449 | (tree_single_nonzero_warnv_p): New. | |
2450 | (tree_expr_nonzero_warnv_p): Redefine using the new functions. | |
2451 | ||
5ce0e197 UB |
2452 | 2008-03-04 Uros Bizjak <ubizjak@gmail.com> |
2453 | ||
2454 | PR middle-end/35456 | |
2455 | * fold-const.c (fold_cond_expr_with_comparison): Prevent | |
2456 | transformations for modes that have signed zeros. | |
2457 | * ifcvt.c (noce_try_abs): Ditto. | |
2458 | ||
2c7c6f54 JM |
2459 | 2008-03-04 Joseph Myers <joseph@codesourcery.com> |
2460 | ||
2461 | * config/i386/i386.c (override_options): Force | |
2462 | -maccumulate-outgoing-args on if TARGET_STACK_PROBE. | |
2463 | ||
b7884852 JH |
2464 | 2008-03-04 Jan Hubicka <jh@suse.cz> |
2465 | ||
2466 | PR c++/35262 | |
2467 | * ipa-inline.c (cgraph_decide_inlining_of_small_function): Fix typo | |
2468 | in last commit. | |
2469 | ||
ab65b56b DS |
2470 | 2008-03-04 Danny Smith <dannysmith@users.sourceforge.net> |
2471 | ||
2472 | * config/i386/i386.md (allocate_stack_worker_32): Use __chkstk | |
cd7e0bd4 | 2473 | label to probe the stack. |
ab65b56b | 2474 | |
c262f705 DS |
2475 | 2008-03-04 Danny Smith <dannysmith@users.sourceforge.net> |
2476 | ||
2477 | * gthr-win32.h [__GTHREAD_HIDE_WIN32API] | |
2478 | (__gthr_win32_mutex_destroy): Declare. | |
2479 | [__GTHREAD_HIDE_WIN32API] (__gthread_mutex_destroy): Use | |
2480 | __gthr_win32_mutex_destroy. | |
2481 | * config/i386/gthr-win32.c (__gthr_win32_mutex_destroy): Define. | |
2482 | ||
44682fab JH |
2483 | 2008-03-03 Jan Hubicka <jh@suse.cz> |
2484 | ||
2485 | PR c++/35262 | |
2486 | * ipa-inline.c (cgraph_decide_inlining_of_small_function): Be more | |
2487 | aggressive on inlining cold calls. | |
2488 | ||
9a327766 RG |
2489 | 2008-03-03 Richard Guenther <rguenther@suse.de> |
2490 | ||
2491 | * tree-ssa-sccvn.c (visit_reference_op_store): Do not insert | |
2492 | struct copies into the expression table. | |
2493 | (simplify_unary_expression): Handle VIEW_CONVERT_EXPR. | |
2494 | (try_to_simplify): Likewise. | |
2495 | * fold-const.c (fold_unary): Fold VIEW_CONVERT_EXPR of | |
2496 | integral and pointer arguments which do not change the | |
2497 | precision to NOP_EXPRs. | |
2498 | * tree-ssa-loop-ivopts.c (may_be_nonaddressable_p): Adjust | |
2499 | VIEW_CONVERT_EXPR case. | |
2500 | ||
6a732743 SP |
2501 | 2008-03-02 Sebastian Pop <sebastian.pop@amd.com> |
2502 | ||
2503 | * tree-scalar-evolution.c (instantiate_parameters_1): An SSA_NAME | |
2504 | defined in a loop at depth 0 is invariant. | |
2505 | * tree-chrec.c (evolution_function_is_invariant_rec_p): Ditto. | |
2506 | * tree-ssa-loop-ivopts.c (expr_invariant_in_loop_p): Should never | |
2507 | be called at loop depth 0. | |
2508 | ||
0e5997c0 JJ |
2509 | 2008-03-02 Jakub Jelinek <jakub@redhat.com> |
2510 | ||
2511 | PR driver/35420 | |
2512 | * gcc.c (process_command): Update copyright notice dates. | |
2513 | * gcov.c (print_version): Likewise. | |
2514 | * gcov-dump.c (print_version): Likewise. | |
2515 | * mips-tfile.c (main): Likewise. | |
2516 | * mips-tdump.c (main): Likewise. | |
2517 | ||
393eda6a MLI |
2518 | 2008-03-02 Manuel Lopez-Ibanez <manu@gcc.gnu.org> |
2519 | ||
2520 | PR 24924 | |
2521 | * c-common.c (flag_permissive): Delete. | |
2522 | (constant_expression_warnings): Check flags first. | |
2523 | (constant_expression_error): New. | |
2524 | * c-common.h (flag_permissive): Delete. | |
2525 | (constant_expression_error): Declare. | |
2526 | * flags.h (flag_permissive): Declare. Update description. | |
2527 | * diagnostic.c (pedwarn): Update. | |
2528 | (permerror): New. | |
2529 | * diagnostic.h: (pedantic_error_kind): Rename as pedantic_warning_kind. | |
2530 | (permissive_error_kind): New. | |
2531 | * toplev.c (flag_permissive): Define. Update description. | |
2532 | * toplev.h (permissive_error_kind): Declare. | |
2533 | * c-errors.c (pedwarn_c99): Use pedantic_warning_kind. | |
2534 | (pedwarn_c90): Use pedantic_warning_kind. | |
2535 | * c-opts.c (c_common_post_options): flag_permissive does not affect | |
2536 | flag_pedantic_errors. | |
2537 | ||
9677aa89 JM |
2538 | 2008-03-02 Joseph Myers <joseph@codesourcery.com> |
2539 | ||
2540 | * libgcc2.c (__addvSI3, __addvsi3, __addvDI3, __subvSI3, | |
2541 | __subvsi3, __subvDI3, __negvSI2, __negvsi2, __negvDI2, __absvSI2, | |
2542 | __absvsi2, __absvDI2): Use unsigned arithmetic. | |
2543 | ||
f3130d75 | 2544 | 2008-03-02 Andi Kleen <ak@suse.de> |
ab669042 | 2545 | Richard Guenther <rguenther@suse.de> |
f3130d75 AK |
2546 | |
2547 | * struct-equiv.c: Remove file. | |
2548 | * cfg_cleanup.c (condjump_equiv_p): Remove. | |
2549 | * Makefile.in (OBJS-common): Remove struct-equiv.o. | |
2550 | (struct-equiv.o): Remove rule. | |
2551 | * basic-block.h (struct_equiv_checkpoint, STRUCT_EQUIV_*, | |
2552 | insns_match_p, struct_equiv_block_eq, struct_equiv_init, | |
2553 | rtx_equiv_p, condjump_equiv_p): Remove prototypes. | |
2554 | ||
89c3cbc6 AO |
2555 | 2008-03-01 Alexandre Oliva <aoliva@redhat.com> |
2556 | ||
2557 | * ifcvt.c (noce_process_if_block): Try to handle only the then | |
2558 | block if the else block exists but isn't suitable. | |
2559 | ||
5eb4a9af JB |
2560 | 2008-03-01 Janne Blomqvist <jb@gcc.gnu.org> |
2561 | ||
2562 | PR gcc/35063 | |
2563 | * gthr-posix.h (__gthread_mutex_destroy): Remove extra declarations. | |
2564 | * gthr-posix95.h (__gthread_mutex_destroy): Likewise. Note this fixes | |
2565 | regression from previous patch. | |
2566 | ||
4dabf736 JB |
2567 | 2008-03-01 Janne Blomqvist <jb@gcc.gnu.org> |
2568 | ||
2569 | PR gcc/35063 | |
2570 | * gthr.h: Add __gthread_mutex_destroy as a function that must be | |
2571 | implemented. | |
2572 | * gthr-vxworks.h (__gthread_mutex_destroy): Null implementation. | |
2573 | * gthr-single.h (__gthread_mutex_destroy): Likewise. | |
2574 | * gthr-rtems.h (__gthread_mutex_destroy): Likewise. | |
2575 | * gthr-mipssde.h (__gthread_mutex_destroy): Likewise. | |
2576 | * gthr-nks.h (__gthread_mutex_destroy): Likewise. | |
2577 | * gthr-solaris.h (__gthread_mutex_destroy): Call mutex_destroy. | |
2578 | * gthr-win32.h (__GTHREAD_MUTEX_DESTROY_FUNCTION): Remove. | |
2579 | (__gthread_mutex_destroy_function): Rename to | |
2580 | __gthread_mutex_destroy. | |
2581 | * gthr-dce.h (__gthread_mutex_destroy): Call | |
2582 | pthread_mutex_destroy. | |
2583 | * gthr-tpf.h (__gthread_mutex_destroy): Likewise. | |
2584 | * gthr-posix.h (__gthread_mutex_destroy): Likewise. | |
2585 | * gthr-posix95.h (__gthread_mutex_destroy): Likewise. | |
2586 | ||
63642d5a AO |
2587 | 2008-03-01 Alexandre Oliva <aoliva@redhat.com> |
2588 | ||
2589 | * df-scan.c (df_ref_chain_change_bb): Simplify. | |
2590 | (df_insn_change_bb): Add new_bb argument. Simplify. Call | |
2591 | set_block_for_insn if there's any change. | |
2592 | * df.h ((df_insn_change_bb): Fix prototype. | |
2593 | * cfgrtl.c (update_bb_for_insn_chain): Pass bb to | |
2594 | df_insn_change_bb, don't call set_block_for_insn. | |
2595 | * emit-rtl.c (reorder_insns): Likewise. | |
2596 | * haifa-sched.c (move_insn): Likewise. | |
2597 | ||
e0651058 AO |
2598 | 2008-03-01 Alexandre Oliva <aoliva@redhat.com> |
2599 | ||
2600 | * rtlanal.c (loc_mentioned_in_p): Test XVECEXPs correctly. | |
2601 | ||
d2b6be72 AO |
2602 | 2008-03-01 Alexandre Oliva <aoliva@redhat.com> |
2603 | ||
2604 | * tree-flow-inline.h (next_readonly_imm_use): Return | |
2605 | NULL_USE_OPERAND_P after the end. | |
2606 | ||
2fb5f2af RG |
2607 | 2008-03-01 Richard Guenther <rguenther@suse.de> |
2608 | ||
2609 | PR tree-optimization/35411 | |
2610 | * tree-sra.c (sra_build_assignment): Split conversion to | |
2611 | final type to a separate statement if we are not assigning | |
2612 | to a register. | |
2613 | ||
c17ee676 FXC |
2614 | 2008-02-29 Francois-Xavier Coudert <coudert@clipper.ens.fr> |
2615 | ||
2616 | * fold-const.c (fold_convertible_p): Correct the logic to follow | |
2617 | that in fold_convert(). | |
2618 | ||
f31c9f09 DG |
2619 | 2008-02-29 Douglas Gregor <doug.gregor@gmail.com> |
2620 | ||
2621 | PR c++/35315 | |
2622 | * tree-inline.c (build_duplicate_type): When we make a | |
2623 | duplicate type, make it unique in the canonical types system. | |
2624 | ||
966e8f4d TT |
2625 | 2008-02-29 Tom Tromey <tromey@redhat.com> |
2626 | ||
2627 | * toplev.c (input_file_stack, input_file_stack_tick, fs_p, | |
2628 | input_file_stack_history, input_file_stack_restored): Remove. | |
2629 | (push_srcloc, pop_srcloc, restore_input_file_stack): Likewise. | |
2630 | * input.h (struct file_stack): Remove. | |
2631 | (push_srcloc, pop_srcloc, restore_input_file_stack): Likewise. | |
2632 | (input_file_stack, input_file_stack_tick, INPUT_FILE_STACK_BITS): | |
2633 | Likewise. | |
2634 | * diagnostic.h (struct diagnostic_context) <last_module>: Change | |
2635 | type. | |
2636 | (diagnostic_last_module_changed): Add 'map' argument. | |
2637 | (diagnostic_set_last_function): Likewise. | |
2638 | * diagnostic.c (undiagnostic_report_current_module): Iterate using | |
2639 | line map, not input_file_stack. | |
2640 | * c-lex.c (fe_file_change): Don't use push_srcloc or pop_srcloc. | |
2641 | ||
3cbe0ba6 PB |
2642 | 2008-02-29 Paul Brook <paul@codesourcery.com> |
2643 | ||
2644 | * config/arm/arm.md (arm_addsi3): Add r/k/n alternative. | |
2645 | ||
d96ae4d4 PB |
2646 | 2008-02-29 Paul Brook <paul@codesourcery.com> |
2647 | ||
2648 | * config/arm/ieee754-df.S (muldf3): Use RET macros. | |
2649 | ||
5be891a4 RG |
2650 | 2008-02-29 Richard Guenther <rguenther@suse.de> |
2651 | ||
2652 | * tree-ssa-pre.c (get_sccvn_value): Create missing VNs via | |
2653 | vn_lookup_or_add. | |
2654 | * tree-ssa-sccnv.c (visit_reference_op_store): Use the rhs | |
2655 | value for comparing for a store match. | |
2656 | (simplify_unary_expression): Do nothing for SSA_NAMEs. | |
2657 | (try_to_simplify): Do not do a full-blown reference lookup. | |
2658 | ||
b0fbea13 KK |
2659 | 2008-02-29 Kaz Kojima <kkojima@gcc.gnu.org> |
2660 | ||
2661 | * config/sh/sh.c (sh_scalar_mode_supported_p): New function. | |
2662 | (TARGET_SCALAR_MODE_SUPPORTED_P): Define. | |
2663 | ||
2664 | * config/sh/sh.h (OVERRIDE_OPTIONS): Don't warn for profiling. | |
2665 | ||
0c96231b SP |
2666 | 2008-02-29 Sebastian Pop <sebastian.pop@amd.com> |
2667 | ||
2668 | * tree-loop-linear.c (try_interchange_loops): Compare memory access | |
2669 | strides against cache sizes. | |
2670 | ||
d973ac5a KK |
2671 | 2008-02-29 Kaz Kojima <kkojima@gcc.gnu.org> |
2672 | ||
2673 | * config/sh/sh.c (sh_secondary_reload): Handle loading a float | |
2674 | constant to fpul. | |
2675 | ||
4613543f RS |
2676 | 2008-02-28 Richard Sandiford <rsandifo@nildram.co.uk> |
2677 | ||
2678 | * simplify-rtx.c (simplify_unary_operation_1): Extend the handling | |
2679 | of SUBREG_PROMOTED_VAR_P to cope with cases where the extended value | |
2680 | is smaller than the original promoted value. | |
2681 | (simplify_subreg): If OP is a SUBREG, try to preserve its | |
2682 | SUBREG_PROMOTED_VAR_P information. | |
2683 | ||
cbfb21c1 SB |
2684 | 2008-02-28 Steven Bosscher <stevenb.gcc@gmail.com> |
2685 | ||
2686 | * tree-ssa-sccvn (vn_ssa_aux_obstack): New obstack. | |
2687 | (VN_INFO_GET): Allocate new objects on the obstack. | |
2688 | (init_scc_vn): Initialize the obstack. Use XDELETE instead of free | |
2689 | for rpo_numbers_temp, for consistency. | |
2690 | (free_scc_vn): Free the obstack. | |
2691 | ||
dea61d92 SP |
2692 | 2008-02-28 Sebastian Pop <sebastian.pop@amd.com> |
2693 | ||
2694 | * doc/invoke.texi: Document -ftree-loop-distribution. | |
2695 | * tree-loop-distribution.c: New. | |
2696 | * tree-pass.h (pass_loop_distribution): New. | |
2697 | * graphds.h (struct graph): Add htab_t indices. | |
2698 | * timevar.def (TV_TREE_LOOP_DISTRIBUTION): New. | |
2699 | * tree-vectorizer.c (rename_variables_in_loop): Extern. | |
2700 | (slpeel_tree_duplicate_loop_to_edge_cfg): Init PENDING_STMT to NULL. | |
2701 | * tree-vectorizer.h (tree_duplicate_loop_on_edge): Declared. | |
2702 | * tree-data-ref.c (debug_data_dependence_relations): New. | |
2703 | (dump_data_dependence_relation): Also print data references. | |
2704 | (free_data_ref): Extern. | |
2705 | (same_access_functions): Moved... | |
2706 | (find_vertex_for_stmt): Renamed rdg_vertex_for_stmt. | |
2707 | (dump_rdg_vertex, debug_rdg_vertex, dump_rdg_component, | |
2708 | debug_rdg_component, dump_rdg, debug_rdg, dot_rdg_1, dot_rdg, | |
2709 | struct rdg_vertex_info, rdg_vertex_for_stmt): New. | |
2710 | (create_rdg_edge_for_ddr, create_rdg_vertices): Cleaned up. | |
2711 | (stmts_from_loop): Skip LABEL_EXPR. | |
5ce0e197 UB |
2712 | (hash_stmt_vertex_info, eq_stmt_vertex_info, hash_stmt_vertex_del): |
2713 | New. | |
dea61d92 SP |
2714 | (build_rdg): Initialize rdg->indices htab. |
2715 | (free_rdg, stores_from_loop, ref_base_address, | |
2716 | rdg_defs_used_in_other_loops_p, have_similar_memory_accesses, | |
2717 | have_similar_memory_accesses_1, ref_base_address_1, | |
2718 | remove_similar_memory_refs): New. | |
2719 | * tree-data-ref.h: Depend on tree-chrec.h. | |
2720 | (debug_data_dependence_relations, free_data_ref): Declared. | |
2721 | (same_access_functions): ... here. | |
5ce0e197 UB |
2722 | (ddr_is_anti_dependent, ddrs_have_anti_deps, ddr_dependence_level): |
2723 | New. | |
dea61d92 SP |
2724 | (struct rdg_vertex): Add has_mem_write and has_mem_reads. |
2725 | (RDGV_HAS_MEM_WRITE, RDGV_HAS_MEM_READS, RDG_STMT, | |
2726 | RDG_MEM_WRITE_STMT, RDG_MEM_READS_STMT): New. | |
2727 | (dump_rdg_vertex, debug_rdg_vertex, dump_rdg_component, | |
2728 | debug_rdg_component, dump_rdg, debug_rdg, dot_rdg, | |
2729 | rdg_vertex_for_stmt): Declared. | |
2730 | (struct rdg_edge): Add level. | |
2731 | (RDGE_LEVEL): New. | |
2732 | (free_rdg, stores_from_loop, remove_similar_memory_refs, | |
5ce0e197 UB |
2733 | rdg_defs_used_in_other_loops_p, have_similar_memory_accesses): |
2734 | Declared. | |
dea61d92 SP |
2735 | (rdg_has_similar_memory_accesses): New. |
2736 | * tree-vect-analyze.c: Remove unused static decls. | |
2737 | * lambda.h (dependence_level): New. | |
2738 | * common.opt (ftree-loop-distribution): New. | |
2739 | * tree-flow.h (mark_virtual_ops_in_bb, | |
2740 | slpeel_tree_duplicate_loop_to_edge_cfg, | |
2741 | rename_variables_in_loop): Declared. | |
2742 | * Makefile.in (TREE_DATA_REF_H): Depend on tree-chrec.h. | |
2743 | (OBJS-common): Add tree-loop-distribution.o. | |
2744 | (tree-loop-distribution.o): New rule. | |
2745 | * tree-cfg.c (mark_virtual_ops_in_bb): New. | |
2746 | (mark_virtual_ops_in_region): Use mark_virtual_ops_in_bb. | |
2747 | * passes.c (init_optimization_passes): Schedule pass_loop_distribution. | |
2748 | ||
dde75838 JM |
2749 | 2008-02-28 Joseph Myers <joseph@codesourcery.com> |
2750 | ||
2751 | PR target/33963 | |
2752 | * tree.c (handle_dll_attribute): Disallow TYPE_DECLs for types | |
2753 | other than structures and unions. | |
2754 | ||
3b302421 RG |
2755 | 2008-02-28 Richard Guenther <rguenther@suse.de> |
2756 | ||
2757 | Revert: | |
2758 | 2008-02-26 Richard Guenther <rguenther@suse.de> | |
2759 | ||
2760 | * tree-flow.h (uid_decl_map_hash, uid_decl_map_eq): Move ... | |
2761 | * tree.h (uid_decl_map_hash, uid_decl_map_eq): ... here. | |
2762 | (lookup_decl_from_uid): Declare. | |
2763 | (remove_decl_from_map): Likewise. | |
2764 | * tree-ssa.c (uid_decl_map_eq, uid_decl_map_hash): Move ... | |
2765 | * tree.c (uid_decl_map_eq, uid_decl_map_hash): ... here. | |
2766 | (decl_for_uid_map): New global hashtable mapping DECL_UID | |
2767 | to the decl tree. | |
2768 | (init_ttree): Allocate it. | |
2769 | (insert_decl_to_uid_decl_map): New helper function. | |
2770 | (make_node_stat): Insert new decls into the map. | |
2771 | (copy_node_stat): Likewise. | |
2772 | (lookup_decl_from_uid): New function. | |
2773 | (remove_decl_from_map): Likewise. | |
2774 | (print_decl_for_uid_map_statistics): New helper. | |
2775 | (dump_tree_statistics): Call it. | |
2776 | ||
2777 | * tree-flow.h (struct gimple_df): Make referenced_vars a bitmap. | |
2778 | (referenced_var_iterator): Adjust. | |
2779 | (FOR_EACH_REFERENCED_VAR): Adjust. | |
2780 | (FOR_EACH_REFERENCED_VAR_IN_BITMAP): New iterator. | |
2781 | (num_referenced_vars): Adjust. | |
2782 | * tree-flow-inline.h (gimple_referenced_vars): Adjust. | |
2783 | (first_referenced_var): Remove. | |
2784 | (end_referenced_vars_p): Likewise. | |
2785 | (next_referenced_var): Likewise. | |
2786 | (referenced_var_iterator_set): New helper function. | |
2787 | * tree-dfa.c (referenced_var_lookup): Adjust. | |
2788 | (referenced_var_check_and_insert): Likewise. | |
2789 | (remove_referenced_var): Likewise. | |
2790 | * tree-ssa.c (verify_flow_insensitive_alias_info): Use | |
2791 | FOR_EACH_REFERENCED_VAR_IN_BITMAP. | |
2792 | (verify_call_clobbering): Likewise. | |
2793 | (verify_memory_partitions): Likewise. | |
2794 | (init_tree_ssa): Allocate bitmap instead of hashtable for | |
2795 | referenced_vars. | |
2796 | (delete_tree_ssa): Adjust. | |
2797 | * tree-ssa-alias.c (mark_aliases_call_clobbered): Use | |
2798 | FOR_EACH_REFERENCED_VAR_IN_BITMAP. | |
2799 | (compute_tag_properties): Likewise. | |
2800 | (set_initial_properties): Likewise. | |
2801 | (find_partition_for): Likewise. | |
2802 | (update_reference_counts): Likewise. | |
2803 | (dump_may_aliases_for): Likewise. | |
2804 | * tree-ssa-operands.c (add_virtual_operand): Likewise. | |
2805 | (add_call_clobber_ops): Likewise. | |
2806 | (add_call_read_ops): Likewise. | |
2807 | (get_asm_expr_operands): Likewise. | |
2808 | * tree-into-ssa.c (dump_decl_set): Likewise. | |
2809 | (update_ssa): Likewise. | |
2810 | * tree-sra.c (scan_function): Likewise. | |
2811 | (decide_instantiations): Likewise. | |
2812 | (scalarize_parms): Likewise. | |
2813 | * tree-ssa-alias-warnings.c (build_reference_table): Likewise. | |
2814 | (dsa_named_for): Likewise. | |
2815 | * tree-ssa-structalias.c (update_alias_info): Likewise. | |
2816 | (merge_smts_into): Likewise. | |
2817 | ||
2a1ed4fc DD |
2818 | 2008-02-27 David Daney <ddaney@avtrex.com> |
2819 | ||
2820 | PR target/34409 | |
2821 | * config/mips/iris.h (MIPS_DEBUGGING_INFO): Define. | |
2822 | * config/mips/openbsd.h (MIPS_DEBUGGING_INFO): Same. | |
2823 | * config/mips/sde.h (MIPS_DEBUGGING_INFO): Remove undef. | |
2824 | * config/mips/vxworks.h (MIPS_DEBUGGING_INFO): Same. | |
2825 | * config/mips/mips.h (MIPS_DEBUGGING_INFO): Remove define. | |
2826 | ||
c92712d1 UB |
2827 | 2008-02-27 Uros Bizjak <ubizjak@gmail.com> |
2828 | ||
2829 | PR target/25477 | |
2830 | * config/darwin-ppc-ldouble-patch.def (BUILT_IN_NANL): Add. | |
2831 | (BUILT_IN_NEXTTOWARD): Remove. | |
2832 | (BUILT_IN_NEXTTOWARDF): Ditto. | |
2833 | * config/darwin.c (darwin_patch_builtin): Use ACONCAT instead of | |
2834 | alloca/strcpy/strcat. Remove commented-out code. Fix whitespace. | |
2835 | ||
a8bafc43 TT |
2836 | 2008-02-27 Tom Tromey <tromey@redhat.com> |
2837 | ||
2838 | * tree-dump.c (dequeue_and_dump) <FUNCTION_DECL>: Check | |
2839 | DECL_SAVED_TREE, not DECL_LANG_SPECIFIC, when dumping body. | |
2840 | ||
8220334a JB |
2841 | 2008-02-27 Jan Beulich <jbeulich@novell.com> |
2842 | ||
2843 | * c-decl.c (merge_decls): Use DECL_USER_ALIGN() on olddecl to | |
2844 | update the respective field on newdecl. | |
2845 | ||
8bf6e270 RE |
2846 | 2008-02-27 Revital Eres <eres@il.ibm.com> |
2847 | ||
2848 | PR rtl-optimization/34999 | |
2849 | * bb-reorder.c (add_labels_and_missing_jumps): Do not handle | |
2850 | crossing edges that ends with a call insn. | |
2851 | (fix_up_fall_thru_edges): Handle crossing edges that ends with a | |
2852 | call insn and clear the EDGE_CROSSING flag of the crossing edge | |
2853 | when fixing fallthru edges. | |
2854 | ||
7fb52af2 RG |
2855 | 2008-02-27 Richard Guenther <rguenther@suse.de> |
2856 | ||
3b302421 | 2857 | PR middle-end/35390 |
7fb52af2 RG |
2858 | * fold-const.c (fold_unary): Return the correct argument, |
2859 | converted to the result type. | |
2860 | ||
70582b3a RG |
2861 | 2008-02-27 Richard Guenther <rguenther@suse.de> |
2862 | ||
2863 | PR middle-end/34971 | |
2864 | * expr.c (expand_expr_real_1): Assert on rotates that operate | |
2865 | on partial modes. | |
2866 | * fold-const.c (fold_binary): Use the types precision, not the | |
2867 | bitsize of the mode if folding rotate expressions. Build rotates | |
2868 | only for full modes. | |
2869 | ||
a25a8f3b JJ |
2870 | 2008-02-27 Jakub Jelinek <jakub@redhat.com> |
2871 | ||
2872 | * c-ppoutput.c (scan_translation_unit): Handle CPP_PRAGMA | |
2873 | and CPP_PRAGMA_EOL. | |
2874 | * c-pragma.c (pragma_ns_name): New typedef. | |
2875 | (registered_pp_pragmas): New variable. | |
2876 | (c_pp_lookup_pragma): New function. | |
2877 | (c_register_pragma_1): If flag_preprocess_only, do nothing | |
2878 | for non-expanded pragmas, for expanded ones push pragma's | |
2879 | namespace and name into registered_pp_pragmas vector. | |
2880 | (c_invoke_pragma_handler): Register OpenMP pragmas even when | |
2881 | flag_preprocess_only, don't register GCC pch_preprocess | |
2882 | pragma if flag_preprocess_only. | |
2883 | * c-opts.c (c_common_init): Call init_pragma even if | |
2884 | flag_preprocess_only. | |
2885 | * c-pragma.c (c_pp_lookup_pragma): New prototype. | |
2886 | * config/darwin.h (DARWIN_REGISTER_TARGET_PRAGMAS): Don't call | |
2887 | cpp_register_pragma if flag_preprocess_only. | |
2888 | ||
369239ef RW |
2889 | 2008-02-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
2890 | ||
2891 | PR c/28800 | |
2892 | * c-parser.c (c_parser_translation_unit): Warn for empty | |
2893 | translation unit, not empty source file. | |
2894 | ||
f5c630c3 PB |
2895 | 2008-02-26 Paul Brook <paul@codesourcery.com> |
2896 | ||
2897 | * config/arm/arm.c (thumb_set_frame_pointer): Ensure SP is first | |
2898 | operand for Thumb-2. | |
2899 | * config/arm/arm.h (reg_class): Add CORE_REGS. | |
2900 | (REG_CLASS_NAMES, REG_CLASS_CONTENTS): Ditto. | |
2901 | (BASE_REG_CLASS): Use CORE_REGS. | |
2902 | (PREFERRED_RELOAD_CLASS): Add STACK_REG. | |
2903 | (REGNO_MODE_OK_FOR_REG_BASE_P): Use REGNO_MODE_OK_FOR_BASE_P. | |
2904 | (REGNO_OK_FOR_INDEX_P): Exclude SP. | |
2905 | (ARM_REG_OK_FOR_INDEX_P): Always define. Use | |
2906 | ARM_REGNO_OK_FOR_INDEX_P. | |
2907 | (ARM_PRINT_OPERAND_ADDRESS): Swap operands for [reg, sp]. | |
2908 | * config/arm/arm.md (arm_addsi3, thumb1_addsi3, arm_subsi3_insn, | |
2909 | arm_movsi_insn, thumb1_movsi_insni, stack_tie): Add "k" alternatives. | |
2910 | (ldm/stm peepholes): Ditto. | |
2911 | * config/arm/thumb2.md (thumb2_movdi): Add "k" alternatives. | |
2912 | * config/arm/vfp.md (arm_movsi_vfp, thumb2_movsi_vfp): Ditto. | |
2913 | * config/arm/iwmmxt.md (iwmmxt_movsi_insn): Ditto. | |
2914 | * config/arm/constraints.md: Enable "k" constraint on ARM. | |
2915 | ||
0d158b6e BE |
2916 | 2008-02-27 Ben Elliston <bje@au.ibm.com> |
2917 | ||
2918 | * config/rs6000/rs6000.c: Annotate cache line size field in all | |
2919 | instances of struct processor_costs. | |
2920 | ||
7d817ebc DE |
2921 | 2008-02-26 David Edelsohn <edelsohn@gnu.org> |
2922 | ||
2923 | * dbgcnt.def (cfg_cleanup, cprop1, cprop2, dce_fast, dce_ud, dse1, | |
2924 | dse2, gcse, if_conversion, if_after_combine, if_after_reload, | |
2925 | jump_bypass): New counters. | |
2926 | * cfgcleanup.c (cleanup_cfg): Add dbg_cnt. | |
2927 | * dce.c (gate_ud_dce): Same. | |
2928 | (gate_fast_dce): Same. | |
2929 | * dse.c (gate_dse1): New function. | |
2930 | (gate_dse2): New function. | |
2931 | (gate_dse): Merge results of new gate functions. | |
2932 | * gcse.c (gcse_main): Bracket cprop1 and cprop2 with dbg_cnt. | |
2933 | (gate_handle_jump_bypass): Add dbg_cnt. | |
2934 | (gate_handle_gcse): Add dbg_cnt. | |
2935 | * ifcvt.c (gate_handle_if_conversion): Same. | |
2936 | (gate_handle_if_after_combine): Same. | |
2937 | (gate_handle_if_after_reload): Same. | |
2938 | * Makefile.in: Add DBGCNT_H to cfgcleanup.o and ifcvt.o. | |
2939 | ||
a19b7d46 EW |
2940 | 2008-02-26 Edmar Wienskoski <edmar@freescale.com> |
2941 | ||
2942 | * config/rs6000/rs6000.c (processor_costs): Update e300 cache | |
2943 | line sizes. | |
2944 | * doc/invoke.texi: Add e300c2 and e300c3 to list of cpus. | |
2945 | ||
317c435f JM |
2946 | 2008-02-26 Jason Merrill <jason@redhat.com> |
2947 | ||
2948 | PR c++/35315 | |
2949 | * attribs.c (decl_attributes): Leave ATTR_FLAG_TYPE_IN_PLACE | |
2950 | alone if it's the naming decl for the type's main variant. | |
2951 | ||
2d593c86 TT |
2952 | 2008-02-26 Tom Tromey <tromey@redhat.com> |
2953 | ||
2954 | * system.h (USE_MAPPED_LOCATION): Poison. | |
2955 | * Makefile.in (GTFILES): Put CPP_ID_DATA_H first. | |
2956 | * tree-cfg.c (make_cond_expr_edges): Remove old location code. | |
2957 | (make_goto_expr_edges): Likewise. | |
2958 | (remove_bb): Likewise. | |
2959 | (execute_warn_function_return): Likewise. | |
2960 | * basic-block.h (struct edge_def) <goto_locus>: Change type to | |
2961 | location_t. | |
2962 | * c-common.c (fname_decl): Remove old location code. | |
2963 | * tree-vect-transform.c (vect_finish_stmt_generation): Remove old | |
2964 | location code. | |
2965 | * rtl.h (ASM_OPERANDS_SOURCE_LOCATION): Remove old-location | |
2966 | variant. | |
2967 | (ASM_INPUT_SOURCE_LOCATION): Likewise. | |
2968 | (gen_rtx_ASM_INPUT): Likewise. | |
2969 | (gen_rtx_ASM_INPUT_loc): Likewise. | |
2970 | (get_rtx_asm_OPERANDS): Remove. | |
2971 | * cfglayout.c (insn_locators_alloc): Remove old location code. | |
2972 | (set_curr_insn_source_location): Likewise. | |
2973 | (curr_insn_locator): Likewise. | |
2974 | * print-tree.c (print_node): Remove old location code. | |
2975 | * tree-mudflap.c (mf_varname_tree): Remove old location code. | |
2976 | (mf_file_function_line_tree): Remove test of USE_MAPPED_LOCATION. | |
2977 | * cfgexpand.c (expand_gimple_cond_expr): Don't use | |
2978 | location_from_locus. | |
2979 | (construct_exit_block): Remove old location code. | |
2980 | * emit-rtl.c (force_next_line_note): Remove old location code. | |
2981 | * profile.c (branch_prob): Remove old location code. | |
2982 | * tree-vectorizer.h (LOC, UNKNOWN_LOC, EXPR_LOC, LOC_FILE, | |
2983 | LOC_LINE): Remove old-location variants. | |
2984 | * langhooks.c (lhd_print_error_function): Remove old location | |
2985 | code. | |
2986 | * configure, config.in: Rebuilt. | |
2987 | * configure.ac (--enable-mapped-location): Remove. | |
2988 | * c-decl.c (c_init_decl_processing): Remove old location code. | |
2989 | (finish_function): Likewise. | |
2990 | * recog.c (decode_asm_operands): Remove old location code. | |
2991 | * c-pch.c (c_common_read_pch): Remove old location code. | |
2992 | * rtl.def (ASM_INPUT, ASM_OPERANDS): Remove old location | |
2993 | variants. | |
2994 | * gimple-low.c (lower_function_body): Remove old location code. | |
2995 | * toplev.c (unknown_location): Remove. | |
2996 | (push_srcloc): Remove old-location variant. | |
2997 | (process_options): Remove old location code. | |
2998 | (lang_dependent_init): Likewise. | |
2999 | * input.h (UNKNOWN_LOCATION): Move definition. | |
3000 | (location_t): Undeprecate. | |
3001 | (source_locus): Remove. | |
3002 | (location_from_locus): Remove. | |
3003 | (struct location_s): Remove. | |
3004 | Remove all old-location code. | |
3005 | (input_line, input_filename): Remove. | |
3006 | * final.c (final_scan_insn): Remove old location code. | |
3007 | * diagnostic.c (diagnostic_build_prefix): Remove | |
3008 | USE_MAPPED_LOCATION test. | |
3009 | * tree.h (gimple_stmt) <locus>: Now a location_t. | |
3010 | (tree_exp) <locus>: Likewise. | |
3011 | (DECL_IS_BUILTIN): Remove old-location variant. | |
3012 | (annotate_with_file_line, annotate_with_locus): Likewise. | |
3013 | (expr_locus, set_expr_locus): Update. | |
3014 | * tree.c (build1_stat): Remove old location code. | |
3015 | (last_annotated_node): Remove. | |
3016 | (annotate_with_file_line): Remove old-location variant. | |
3017 | (annotate_with_locus): Likewise. | |
3018 | (expr_location): Remove old location code. | |
3019 | (set_expr_location): Likewise. | |
3020 | (expr_has_location): Likewise. | |
3021 | (expr_locus): Likewise. | |
3022 | (set_expr_locus): Likewise. | |
3023 | (expr_filename): Don't use location_from_locus. | |
3024 | (expr_lineno): Likewise. | |
3025 | * rtl-error.c (location_for_asm): Remove old location code. | |
3026 | * c-lex.c (cb_line_change): Remove old location code. | |
3027 | (fe_file_change): Likewise. | |
3028 | (cb_def_pragma): Likewise. | |
3029 | (c_lex_with_flags): Likewise. | |
3030 | * gengtype.c (do_typedef): Don't special-case location types. | |
3031 | (define_location_structures): Remove. | |
3032 | (main): Don't call define_location_structures. | |
3033 | * tree-pretty-print.c (dump_implicit_edges): Remove old location | |
3034 | code. | |
3035 | ||
4f01eeb4 MLI |
3036 | 2008-02-26 Manuel Lopez-Ibanez <manu@gcc.gnu.org> |
3037 | ||
cd7e0bd4 | 3038 | PR 26264 |
4f01eeb4 MLI |
3039 | * builtins.def (BUILT_IN_STDARG_START): Remove. |
3040 | * builtins.c (expand_builtin): Remove BUILT_IN_STDARG_START. | |
3041 | * tree-stdarg.c (execute_optimize_stdarg): Likewise. | |
3042 | * tree-inline.c (inline_forbidden_p_1): Likewise. | |
3043 | ||
bbd59cf4 RG |
3044 | 2008-02-26 Richard Guenther <rguenther@suse.de> |
3045 | ||
3046 | * tree-flow.h (uid_decl_map_hash, uid_decl_map_eq): Move ... | |
3047 | * tree.h (uid_decl_map_hash, uid_decl_map_eq): ... here. | |
3048 | (lookup_decl_from_uid): Declare. | |
3049 | (remove_decl_from_map): Likewise. | |
3050 | * tree-ssa.c (uid_decl_map_eq, uid_decl_map_hash): Move ... | |
3051 | * tree.c (uid_decl_map_eq, uid_decl_map_hash): ... here. | |
3052 | (decl_for_uid_map): New global hashtable mapping DECL_UID | |
3053 | to the decl tree. | |
3054 | (init_ttree): Allocate it. | |
3055 | (insert_decl_to_uid_decl_map): New helper function. | |
3056 | (make_node_stat): Insert new decls into the map. | |
3057 | (copy_node_stat): Likewise. | |
3058 | (lookup_decl_from_uid): New function. | |
3059 | (remove_decl_from_map): Likewise. | |
3060 | (print_decl_for_uid_map_statistics): New helper. | |
3061 | (dump_tree_statistics): Call it. | |
3062 | ||
3063 | * tree-flow.h (struct gimple_df): Make referenced_vars a bitmap. | |
3064 | (referenced_var_iterator): Adjust. | |
3065 | (FOR_EACH_REFERENCED_VAR): Adjust. | |
3066 | (FOR_EACH_REFERENCED_VAR_IN_BITMAP): New iterator. | |
3067 | (num_referenced_vars): Adjust. | |
3068 | * tree-flow-inline.h (gimple_referenced_vars): Adjust. | |
3069 | (first_referenced_var): Remove. | |
3070 | (end_referenced_vars_p): Likewise. | |
3071 | (next_referenced_var): Likewise. | |
3072 | (referenced_var_iterator_set): New helper function. | |
3073 | * tree-dfa.c (referenced_var_lookup): Adjust. | |
3074 | (referenced_var_check_and_insert): Likewise. | |
3075 | (remove_referenced_var): Likewise. | |
3076 | * tree-ssa.c (verify_flow_insensitive_alias_info): Use | |
3077 | FOR_EACH_REFERENCED_VAR_IN_BITMAP. | |
3078 | (verify_call_clobbering): Likewise. | |
3079 | (verify_memory_partitions): Likewise. | |
3080 | (init_tree_ssa): Allocate bitmap instead of hashtable for | |
3081 | referenced_vars. | |
3082 | (delete_tree_ssa): Adjust. | |
3083 | * tree-ssa-alias.c (mark_aliases_call_clobbered): Use | |
3084 | FOR_EACH_REFERENCED_VAR_IN_BITMAP. | |
3085 | (compute_tag_properties): Likewise. | |
3086 | (set_initial_properties): Likewise. | |
3087 | (find_partition_for): Likewise. | |
3088 | (update_reference_counts): Likewise. | |
3089 | (dump_may_aliases_for): Likewise. | |
3090 | * tree-ssa-operands.c (add_virtual_operand): Likewise. | |
3091 | (add_call_clobber_ops): Likewise. | |
3092 | (add_call_read_ops): Likewise. | |
3093 | (get_asm_expr_operands): Likewise. | |
3094 | * tree-into-ssa.c (dump_decl_set): Likewise. | |
3095 | (update_ssa): Likewise. | |
3096 | * tree-sra.c (scan_function): Likewise. | |
3097 | (decide_instantiations): Likewise. | |
3098 | (scalarize_parms): Likewise. | |
3099 | * tree-ssa-alias-warnings.c (build_reference_table): Likewise. | |
3100 | (dsa_named_for): Likewise. | |
3101 | * tree-ssa-structalias.c (update_alias_info): Likewise. | |
3102 | (merge_smts_into): Likewise. | |
3103 | ||
16302daf MLI |
3104 | 2008-02-26 Manuel Lopez-Ibanez <manu@gcc.gnu.org> |
3105 | ||
3106 | PR 34351 | |
3107 | * doc/invoke.texi (-Wall): Add -Wvolatile-register-var. | |
3108 | * c-opts.c (c_common_handle_option): Wall enables | |
3109 | Wvolatile-register-var. | |
3110 | * common.opt: Move Wvolatile-register-var to... | |
3111 | * c.opt: ...here. | |
3112 | ||
e8fc888d MLI |
3113 | 2008-02-26 Manuel Lopez-Ibanez <manu@gcc.gnu.org> |
3114 | ||
3115 | * common.opt (Wlarger-than=): New. | |
3116 | * doc/invoke.texi (Warning Options): Replace -Wlarger-than- with | |
3117 | -Wlarger-than=. | |
3118 | * opts.c (common_handle_option): Handle -Wlarger-than=. | |
3119 | * optc-gen.awk: Likewise. | |
3120 | * opth-gen.awk: Likewise. | |
3121 | * stor-layout.c (layout_decl): Use -Wlarger-than= for warning. | |
3122 | * tree-optimize.c (tree_rest_of_compilation): Likewise. | |
3123 | ||
683d6ff9 MLI |
3124 | 2008-02-26 Manuel Lopez-Ibanez <manu@gcc.gnu.org> |
3125 | ||
3126 | * c-common.c (match_case_to_enum_1): Add appropriate | |
3127 | OPT_W* parameter to warning. | |
3128 | (c_do_switch_warnings): Likewise. | |
3129 | * c-typeck.c (warning_init): Add one more parameter following | |
3130 | 'warning' function. | |
3131 | (push_init_level): Update call to warning_init. | |
3132 | (pop_init_level): Likewise. | |
3133 | (add_pending_init): Likewise. | |
3134 | (output_init_element: Likewise. | |
3135 | ||
369dcbd9 MLI |
3136 | 2008-02-26 Manuel Lopez-Ibanez <manu@gcc.gnu.org> |
3137 | ||
3138 | PR 28322 | |
3139 | * toplev.c (toplev_main): If there are warnings or error, print | |
3140 | errors for ignored options. | |
3141 | * opts.c (ignored_options): New static variable. | |
3142 | (postpone_unknown_option_error): New. | |
3143 | (print_ignored_options): New. | |
3144 | (handle_option): Postpone errors for unknown -Wno-* options. | |
3145 | * opts.h (print_ignored_options): Declare. | |
3146 | ||
23dc794c RS |
3147 | 2008-02-25 Richard Sandiford <rsandifo@nildram.co.uk> |
3148 | ||
3149 | * config/mips/mips.md (loadgp_blockage, blockage): Change type | |
3150 | to "ghost". | |
3151 | ||
381a258b RG |
3152 | 2008-02-25 Richard Guenther <rguenther@suse.de> |
3153 | ||
3154 | Revert: | |
3155 | 2008-02-25 Richard Guenther <rguenther@suse.de> | |
3156 | ||
3157 | * tree-flow.h (uid_decl_map_hash, uid_decl_map_eq): Move ... | |
3158 | * tree.h (uid_decl_map_hash, uid_decl_map_eq): ... here. | |
3159 | (lookup_decl_from_uid): Declare. | |
3160 | * tree-ssa.c (uid_decl_map_eq, uid_decl_map_hash): Move ... | |
3161 | * tree.c (uid_decl_map_eq, uid_decl_map_hash): ... here. | |
3162 | (decl_for_uid_map): New global hashtable mapping DECL_UID | |
3163 | to the decl tree. | |
3164 | (init_ttree): Allocate it. | |
3165 | (insert_decl_to_uid_decl_map): New helper function. | |
3166 | (make_node_stat): Insert new decls into the map. | |
3167 | (copy_node_stat): Likewise. | |
3168 | (lookup_decl_from_uid): New function. | |
3169 | (print_decl_for_uid_map_statistics): New helper. | |
3170 | (dump_tree_statistics): Call it. | |
3171 | ||
3172 | * tree-flow.h (struct gimple_df): Make referenced_vars a bitmap. | |
3173 | (referenced_var_iterator): Adjust. | |
3174 | (FOR_EACH_REFERENCED_VAR): Adjust. | |
3175 | (FOR_EACH_REFERENCED_VAR_IN_BITMAP): New iterator. | |
3176 | (num_referenced_vars): Adjust. | |
3177 | * tree-flow-inline.h (gimple_referenced_vars): Adjust. | |
3178 | (first_referenced_var): Remove. | |
3179 | (end_referenced_vars_p): Likewise. | |
3180 | (next_referenced_var): Likewise. | |
3181 | (referenced_var_iterator_set): New helper function. | |
3182 | * tree-dfa.c (referenced_var_lookup): Adjust. | |
3183 | (referenced_var_check_and_insert): Likewise. | |
3184 | (remove_referenced_var): Likewise. | |
3185 | * tree-ssa.c (verify_flow_insensitive_alias_info): Use | |
3186 | FOR_EACH_REFERENCED_VAR_IN_BITMAP. | |
3187 | (verify_call_clobbering): Likewise. | |
3188 | (verify_memory_partitions): Likewise. | |
3189 | (init_tree_ssa): Allocate bitmap instead of hashtable for | |
3190 | referenced_vars. | |
3191 | (delete_tree_ssa): Adjust. | |
3192 | * tree-ssa-alias.c (mark_aliases_call_clobbered): Use | |
3193 | FOR_EACH_REFERENCED_VAR_IN_BITMAP. | |
3194 | (compute_tag_properties): Likewise. | |
3195 | (set_initial_properties): Likewise. | |
3196 | (find_partition_for): Likewise. | |
3197 | (update_reference_counts): Likewise. | |
3198 | (dump_may_aliases_for): Likewise. | |
3199 | * tree-ssa-operands.c (add_virtual_operand): Likewise. | |
3200 | (add_call_clobber_ops): Likewise. | |
3201 | (add_call_read_ops): Likewise. | |
3202 | (get_asm_expr_operands): Likewise. | |
3203 | * tree-into-ssa.c (dump_decl_set): Likewise. | |
3204 | (update_ssa): Likewise. | |
3205 | * tree-sra.c (scan_function): Likewise. | |
3206 | (decide_instantiations): Likewise. | |
3207 | (scalarize_parms): Likewise. | |
3208 | * tree-ssa-alias-warnings.c (build_reference_table): Likewise. | |
3209 | (dsa_named_for): Likewise. | |
3210 | * tree-ssa-structalias.c (update_alias_info): Likewise. | |
3211 | (merge_smts_into): Likewise. | |
3212 | ||
89453ec7 JB |
3213 | 2008-02-25 Janne Blomqvist <jb@gcc.gnu.org> |
3214 | ||
3215 | PR fortran/29549 | |
3216 | * doc/invoke.texi (-fcx-limited-range): Document new option. | |
3217 | * toplev.c (process_options): Handle -fcx-fortran-rules. | |
cd7e0bd4 | 3218 | * common.opt: Add documentation for -fcx-fortran-rules. |
89453ec7 | 3219 | |
8cc6d3e0 JB |
3220 | 2008-02-25 Janne Blomqvist <jb@gcc.gnu.org> |
3221 | ||
3222 | PR c/35162 | |
3223 | * doc/invoke.texi (-fcx-limited-range): Correct to be in line with | |
3224 | actual behaviour and C99. | |
3225 | ||
cd679487 BE |
3226 | 2008-02-26 Ben Elliston <bje@au.ibm.com> |
3227 | ||
3228 | * config/rs6000/rs6000.h (ASM_CPU_POWER5_SPEC): Define. | |
3229 | (ASM_CPU_POWER6_SPEC): Likewise. | |
3230 | (ASM_CPU_SPEC): Pass %(asm_cpu_power5) for -mcpu=power5. | |
3231 | Likewise, pass %(asm_cpu_power6) for -mcpu=power6. | |
3232 | (EXTRA_SPECS): Add asm_cpu_power5, asm_cpu_power6 spec strings. | |
3233 | ||
7660c722 RG |
3234 | 2008-02-25 Richard Guenther <rguenther@suse.de> |
3235 | ||
3236 | * tree-flow.h (uid_decl_map_hash, uid_decl_map_eq): Move ... | |
3237 | * tree.h (uid_decl_map_hash, uid_decl_map_eq): ... here. | |
3238 | (lookup_decl_from_uid): Declare. | |
3239 | * tree-ssa.c (uid_decl_map_eq, uid_decl_map_hash): Move ... | |
3240 | * tree.c (uid_decl_map_eq, uid_decl_map_hash): ... here. | |
3241 | (decl_for_uid_map): New global hashtable mapping DECL_UID | |
3242 | to the decl tree. | |
3243 | (init_ttree): Allocate it. | |
3244 | (insert_decl_to_uid_decl_map): New helper function. | |
3245 | (make_node_stat): Insert new decls into the map. | |
3246 | (copy_node_stat): Likewise. | |
3247 | (lookup_decl_from_uid): New function. | |
3248 | (print_decl_for_uid_map_statistics): New helper. | |
3249 | (dump_tree_statistics): Call it. | |
3250 | ||
3251 | * tree-flow.h (struct gimple_df): Make referenced_vars a bitmap. | |
3252 | (referenced_var_iterator): Adjust. | |
3253 | (FOR_EACH_REFERENCED_VAR): Adjust. | |
3254 | (FOR_EACH_REFERENCED_VAR_IN_BITMAP): New iterator. | |
3255 | (num_referenced_vars): Adjust. | |
3256 | * tree-flow-inline.h (gimple_referenced_vars): Adjust. | |
3257 | (first_referenced_var): Remove. | |
3258 | (end_referenced_vars_p): Likewise. | |
3259 | (next_referenced_var): Likewise. | |
3260 | (referenced_var_iterator_set): New helper function. | |
3261 | * tree-dfa.c (referenced_var_lookup): Adjust. | |
3262 | (referenced_var_check_and_insert): Likewise. | |
3263 | (remove_referenced_var): Likewise. | |
3264 | * tree-ssa.c (verify_flow_insensitive_alias_info): Use | |
3265 | FOR_EACH_REFERENCED_VAR_IN_BITMAP. | |
3266 | (verify_call_clobbering): Likewise. | |
3267 | (verify_memory_partitions): Likewise. | |
3268 | (init_tree_ssa): Allocate bitmap instead of hashtable for | |
3269 | referenced_vars. | |
3270 | (delete_tree_ssa): Adjust. | |
3271 | * tree-ssa-alias.c (mark_aliases_call_clobbered): Use | |
3272 | FOR_EACH_REFERENCED_VAR_IN_BITMAP. | |
3273 | (compute_tag_properties): Likewise. | |
3274 | (set_initial_properties): Likewise. | |
3275 | (find_partition_for): Likewise. | |
3276 | (update_reference_counts): Likewise. | |
3277 | (dump_may_aliases_for): Likewise. | |
3278 | * tree-ssa-operands.c (add_virtual_operand): Likewise. | |
3279 | (add_call_clobber_ops): Likewise. | |
3280 | (add_call_read_ops): Likewise. | |
3281 | (get_asm_expr_operands): Likewise. | |
3282 | * tree-into-ssa.c (dump_decl_set): Likewise. | |
3283 | (update_ssa): Likewise. | |
3284 | * tree-sra.c (scan_function): Likewise. | |
3285 | (decide_instantiations): Likewise. | |
3286 | (scalarize_parms): Likewise. | |
3287 | * tree-ssa-alias-warnings.c (build_reference_table): Likewise. | |
3288 | (dsa_named_for): Likewise. | |
3289 | * tree-ssa-structalias.c (update_alias_info): Likewise. | |
3290 | (merge_smts_into): Likewise. | |
3291 | ||
2e4e39f6 AK |
3292 | 2008-02-25 Andreas Krebbel <krebbel1@de.ibm.com> |
3293 | ||
3294 | PR target/35258 | |
3295 | * cse.c (cse_insn): Avoid creation of overlapping MEMs. | |
3296 | * alias.c (nonoverlapping_memrefs_p): Export for use in other modules. | |
3297 | * alias.h (nonoverlapping_memrefs_p): Likewise. | |
3298 | ||
891984af JB |
3299 | 2008-02-25 Jan Beulich <jbeulich@novell.com> |
3300 | ||
c92712d1 | 3301 | * Makefile.in: Also prefix uses of crt0.o and mcrt0.o with $(T). |
891984af JB |
3302 | * config/i386/netware-libgcc.exp: Add __bswap?i2, |
3303 | __emultls_get_address, __emultls_register_common, | |
3304 | __floatundi?f, and _Unwind_GetIPInfo. | |
3305 | * config/i386/netware.c (gen_stdcall_or_fastcall_decoration): | |
3306 | Sync with config/i386/winnt.c:gen_stdcall_or_fastcall_suffix(). | |
3307 | (gen_regparm_prefix): Likewise. | |
3308 | (i386_nlm_encode_section_info): Sync with | |
3309 | config/i386/winnt.c:i386_pe_encode_section_info(). | |
3310 | (i386_nlm_maybe_mangle_decl_assembler_name): New. | |
3311 | i386_nlm_mangle_decl_assembler_name): New. | |
3312 | (netware_override_options): New. | |
3313 | * config/i386/netware.h (netware_override_options): Declare. | |
3314 | (OVERRIDE_OPTIONS): Re-define to netware_override_options. | |
3315 | (i386_nlm_mangle_decl_assembler_name): Declare. | |
3316 | (TARGET_MANGLE_DECL_ASSEMBLER_NAME): Define. | |
3317 | ||
98266db0 BE |
3318 | 2008-02-25 Ben Elliston <bje@au.ibm.com> |
3319 | ||
3320 | PR other/32948 | |
3321 | * c-decl.c (grokdeclarator): Remove unused local variables | |
3322 | `typedef_type' and `type_as_written'. | |
3323 | * bb-reorder.c | |
3324 | (find_rarely_executed_basic_blocks_and_crossing_edges): Remove | |
3325 | unused local variable `has_hot_blocks'. | |
3326 | (fix_crossing_conditional_branches): Remove unused local variable | |
3327 | `prev_bb'. | |
3328 | ||
93e50125 UB |
3329 | 2008-02-25 Uros Bizjak <ubizjak@gmail.com> |
3330 | ||
3331 | PR middle-end/19984 | |
3332 | * builtins.def (BUILT_IN_NAN): Define as c99 builtin | |
3333 | using DEF_C99_BUILTIN. | |
3334 | (BUILT_IN_NANF): Ditto. | |
3335 | (BUILT_IN_NANL): Ditto. | |
3336 | ||
0de5a32f | 3337 | 2008-02-25 Ayal Zaks <zaks@il.ibm.com> |
433331d4 | 3338 | Revital Eres <eres@il.ibm.com> |
0de5a32f AZ |
3339 | |
3340 | * modulo-sched.c (calculate_must_precede_follow): Address TODO | |
3341 | regarding the order of two dependent insns in the same row. | |
3342 | ||
d4cba6d4 EB |
3343 | 2008-02-25 Eric Botcazou <ebotcazou@adacore.com> |
3344 | ||
3345 | * stor-layout.c (layout_decl): Do not bump the alignment of a | |
3346 | bit-field to more than byte alignment if it is packed. | |
3347 | ||
642639ce DE |
3348 | 2008-02-24 David Edelsohn <edelsohn@gnu.org> |
3349 | ||
3350 | * config/rs6000/rs6000.c (processor_costs): Add cache costs for | |
3351 | e300c2 and e300c3. | |
3352 | ||
faebccf9 DN |
3353 | 2008-02-24 Diego Novillo <dnovillo@google.com> |
3354 | ||
3355 | http://gcc.gnu.org/ml/gcc-patches/2008-02/msg01094.html | |
3356 | ||
3357 | PR 33738 | |
3358 | * tree-vrp.c (vrp_evaluate_conditional): With | |
3359 | -Wtype-limits, emit a warning when comparing against a | |
3360 | constant outside the natural range of OP0's type. | |
3361 | * c.opt (Wtype-limits): Move ... | |
3362 | * common.opt (Wtype-limits): ... here. | |
3363 | ||
88c7f01b | 3364 | 2008-02-24 Edmar Wienskoski <edmar@freescale.com> |
fa41c305 EW |
3365 | |
3366 | * config.gcc (powerpc*-*-*): Add new cores e300c2 and e300c3. | |
3367 | * config/rs6000/e300c2c3.md: New file. | |
3368 | * config/rs6000/rs6000.c (processor_costs): Add new costs for | |
3369 | e300c2 and e300c3. | |
3370 | (rs6000_override_options): Add e300c2 and e300c3 cases to | |
3371 | processor_target_table. Do not allow usage of Altivec or Spe | |
3372 | with e300 cores. Initialize rs6000_cost for e300c2 and e300c3. | |
3373 | (rs6000_issue_rate): Set issue rate for e300c2 and e300c3. | |
3374 | * config/rs6000/rs6000.h (processor_type): Add | |
3375 | PROCESSOR_PPCE300C2 and PROCESSOR_PPCE300C3. | |
3376 | (ASM_CPU_SPEC): Add e300c2 and e300c3. | |
3377 | * config/rs6000/rs6000.md (define_attr "cpu"): Add ppce300c2 | |
3378 | and ppce300c3. Include e300c2c3.md. | |
3379 | ||
153fbec8 DE |
3380 | 2008-02-23 David Edelsohn <edelsohn@gnu.org> |
3381 | ||
3382 | * config/rs6000/rs6000.h (CONSTANT_ALIGNMENT): Use STRICT_ALIGNMENT | |
3383 | instead of TARGET_STRICT_ALIGN. | |
3384 | ||
03d4f106 JM |
3385 | 2008-02-23 Joseph Myers <joseph@codesourcery.com> |
3386 | ||
3387 | * explow.c (memory_address): Assert that the generated address is | |
3388 | valid. | |
3389 | ||
fb220235 FXC |
3390 | 2008-02-23 Francois-Xavier Coudert <coudert@clipper.ens.fr> |
3391 | ||
3392 | PR target/25477 | |
3393 | * config/darwin-protos.h: Add darwin_patch_builtins prototype. | |
3394 | * config/darwin-ppc-ldouble-patch.def: New file. | |
3395 | * config/rs6000/darwin.h (SUBTARGET_INIT_BUILTINS): New macro. | |
3396 | * config/rs6000/rs6000.c (rs6000_init_builtins): Call | |
3397 | SUBTARGET_INIT_BUILTINS if defined. | |
93e50125 UB |
3398 | * config/darwin.c (darwin_patch_builtin, darwin_patch_builtins): |
3399 | New functions. | |
fb220235 | 3400 | |
f79db4f6 AP |
3401 | 2008-02-23 Andrew Pinski <andrew_pinski@playstation.sony.com> |
3402 | ||
3403 | PR rtl-opt/33512 | |
3404 | * simplify-rtx.c (simplify_binary_operation_1): Add simplification | |
3405 | of (and X (ior (not X) Y) and (and (ior (not X) Y) X). | |
3406 | ||
bb1f73c2 AP |
3407 | 2008-02-23 Andrew Pinski <andrew_pinski@playstation.sony.com> |
3408 | ||
3409 | PR pch/35027 | |
3410 | * c-pch.c (c_common_valid_pch): Make the "too short to be a PCH | |
3411 | file" warning condtional on -Winvalid-PCH. | |
3412 | ||
8ddcfde1 DJ |
3413 | 2008-02-23 Daniel Jacobowitz <dan@codesourcery.com> |
3414 | ||
3415 | * expmed.c (extract_bit_field): Always use adjust_address for MEM. | |
3416 | ||
84495fd9 UB |
3417 | 2008-02-23 Uros Bizjak <ubizjak@gmail.com> |
3418 | ||
3419 | PR target/22076 | |
3420 | PR target/34256 | |
3421 | * config/i386/mmx.md (*mov<mode>_internal_rex64): Use "!y" to | |
3422 | prevent reload from using MMX registers. | |
3423 | (*mov<mode>_internal): Ditto. | |
3424 | (*movv2sf_internal_rex64): Ditto. | |
3425 | (*movv2sf_internal): Ditto. | |
3426 | ||
73c17ad2 RW |
3427 | 2008-02-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
3428 | ||
3429 | PR documentation/31569 | |
3430 | * doc/install.texi2html: Use makeinfo --no-number-sections. | |
3431 | ||
61dd226f NF |
3432 | 2008-02-22 Nathan Froyd <froydnj@codesourcery.com> |
3433 | ||
3434 | * config/rs6000/rs6000.c (rs6000_legitimize_address): Check to | |
3435 | ensure that we can address an entire entity > 8 bytes. Don't | |
3436 | generate reg+reg addressing for such data. | |
3437 | ||
2165fd38 NF |
3438 | 2008-02-22 Nathan Froyd <froydnj@codesourcery.com> |
3439 | ||
3440 | * config/rs6000/rs6000.h (CONSTANT_ALIGNMENT): Don't overalign | |
3441 | strings when optimizing for size, unless the target cares about | |
3442 | alignment. | |
3443 | ||
ad5ebb34 TT |
3444 | 2008-02-22 Tom Tromey <tromey@redhat.com> |
3445 | ||
3446 | * regclass.c (current_pass): Remove declaration. | |
3447 | ||
34d02d17 AS |
3448 | 2008-02-22 Anatoly Sokolov <aesok@post.ru> |
3449 | ||
3450 | * config/avr/libgcc.S (__RAMPZ__): Define. | |
3451 | (__do_copy_data): Add for devices with 128KB code memory. | |
3452 | ||
a4899c01 NF |
3453 | 2008-02-22 Nathan Froyd <froydnj@codesourcery.com> |
3454 | ||
3455 | * config/rs6000/linuxspe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): | |
3456 | Use spe_abi. | |
3457 | * config/rs6000/eabispe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Likewise. | |
3458 | ||
fe82487e HPN |
3459 | 2008-02-22 Hans-Peter Nilsson <hp@axis.com> |
3460 | ||
3461 | * config/cris/cris.h (REG_CLASS_FROM_LETTER): Recognize 'b' for | |
3462 | GENNONACR_REGS. | |
3463 | ||
ae311566 RW |
3464 | 2008-02-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
3465 | ||
3466 | PR c/19999 | |
3467 | * c-typeck.c (build_binary_op): Warn about floating point | |
3468 | comparisons if FLOAT_TYPE_P, not only for REAL_TYPE. | |
3469 | ||
a2db2771 JJ |
3470 | 2008-02-21 Janis Johnson <janis187@us.ibm.com> |
3471 | ||
3472 | PR target/34526 | |
3473 | * config/rs6000/rs6000.c (rs6000_altivec_abi): Clarify comment. | |
3474 | (rs6000_explicit_options): Split abi into spe_abi and altivec_abi, | |
3475 | add vrsave. | |
3476 | (rs6000_override_options): Set altivec_abi as default, not override, | |
3477 | for 64-bit GNU/Linux; for 32-bit GNU/Linux default to altivec_abi for | |
3478 | TARGET_ALTIVEC; default to TARGET_ALTIVEC_VRSAVE when AltiVec ABI | |
3479 | is used; use new member spe_abi. | |
3480 | (rs6000_handle_option): Set rs6000_explicit_options.vrsave; use | |
3481 | spe_abi and altivec_abi. | |
3482 | ||
89fd06fb TB |
3483 | 2008-02-22 Tomas Bily <tbily@suse.cz> |
3484 | ||
3485 | * tree-vectorizer.c (vect_is_simple_reduction): Fix comment typo. | |
3486 | ||
703fdf5a RW |
3487 | 2008-02-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
3488 | ||
3489 | PR bootstrap/35273 | |
3490 | * config.build (build_file_translate): Set to `CMD //c' only if | |
3491 | it works. | |
3492 | * Makefile.in (build_file_translate): Improve comment. | |
3493 | ||
0ca16832 JH |
3494 | 2008-02-21 Jan Hubicka <jh@suse.cz> |
3495 | ||
3496 | * predict.def (PRED_TREE_OPCODE_POSITIVE, PRED_TREE_OPCODE_NONEQUAL, | |
3497 | PRED_TREE_OPCODE_POSITIVE, PRED_TREE_OPCODE_NONEQUAL, PRED_CALL, | |
3498 | PRED_TREE_EARLY_RETURN, PRED_NULL_RETURN): Update. | |
3499 | ||
c754abbf MM |
3500 | 2008-02-21 Michael Matz <matz@suse.de> |
3501 | ||
3502 | PR target/35264 | |
3503 | * config/i386/i386.c (ix86_expand_branch): Add missing breaks. | |
3504 | ||
85845bb9 UB |
3505 | 2008-02-21 Uros Bizjak <ubizjak@gmail.com> |
3506 | ||
3507 | * config/i386/i386.md (mov<mode>cc): Macroize expander from movsfcc, | |
3508 | movdfcc and movxfcc using X87MODEF mode iterator and SSE_FLOAT_MODE_P | |
3509 | as insn constraint. | |
3510 | * config/i386/sse.md (<sse>_movup<ssemodesuffixf2c>): Macroize insn | |
3511 | from sse_movups adn sse2_movupd using SSEMODEF2P mode iterator and | |
3512 | SSE_VEC_FLOAT_MODE_P as insn constraint. | |
3513 | (<sse>_movmskp<ssemodesuffixf2c>): Ditto from similar patterns. | |
3514 | (sse4a_movnt<mode>): Macroize insn from sse4a_movntsf and | |
3515 | sse4a_movntdf using MODEF mode iterator. | |
3516 | (sse4a_vmmovnt<mode>): Macroize insn form sse4a_vmmovntv2df and | |
3517 | sse4a_vmmovntv4sf using SSEMODEF2P mode iterator. | |
3518 | (sse4_1_blendp<ssemodesuffixf2c>): Ditto from similar patterns. | |
3519 | (sse4_1_blendvp<ssemodesuffixf2c>): Ditto. | |
3520 | (sse4_1_dpp<ssemodesuffixf2c>): Ditto. | |
3521 | (sse4_1_roundp<ssemodesuffixf2c>): Ditto. | |
3522 | (sse4_1_rounds<ssemodesuffixf2c>): Ditto. | |
3523 | ||
dedd42d5 RG |
3524 | 2008-02-21 Richard Guenther <rguenther@suse.de> |
3525 | ||
3526 | * tree.def (PAREN_EXPR): New tree code. | |
3527 | * fold-const.c (fold_unary): Remove PAREN_EXPR around constants | |
3528 | and PAREN_EXPR. | |
3529 | * tree-pretty-print.c (dump_generic_node): Handle PAREN_EXPR. | |
3530 | * expr.c (expand_expr_real_1): Likewise. | |
3531 | * tree-inline.c (estimate_num_insns_1): Likewise. | |
3532 | * tree-complex.c (expand_complex_move): Likewise. | |
3533 | * tree-vectorizer.c (vect_is_simple_use): Treat PAREN_EXPR (x) | |
3534 | as plain x. | |
3535 | ||
7a3cb3ab KK |
3536 | 2008-02-20 Kaz Kojima <kkojima@gcc.gnu.org> |
3537 | ||
3538 | PR target/35225 | |
3539 | * config/sh/sh.c (find_barrier): Don't go past 'from' argument. | |
3540 | ||
6d4d15b8 KK |
3541 | 2008-02-20 Kaz Kojima <kkojima@gcc.gnu.org> |
3542 | ||
3543 | PR target/35190 | |
3544 | * config/sh/sh.md (jump_compact): Disable for crossing jumps. | |
3545 | ||
3546 | * config/sh/sh.c (find_barrier): Don't go past | |
3547 | NOTE_INSN_SWITCH_TEXT_SECTIONS note. | |
3548 | ||
6d4a8967 DD |
3549 | 2008-02-20 DJ Delorie <dj@redhat.com> |
3550 | ||
3551 | * config/h8300/h8300.md (insv): Force source operand to be a register. | |
3552 | ||
3553 | * config/h8300/h8300.c (h8300_expand_epilogue): Emit return insn | |
3554 | as a jump, not as a plain insn. | |
3555 | ||
a214518f SP |
3556 | 2008-02-20 Seongbae Park <seongbae.park@gmail.com> |
3557 | ||
3558 | * doc/invoke.texi (Warning Options): Add new option | |
3559 | -Wframe-larger-than=. | |
3560 | (-Wframe-larger-than): Document. | |
3561 | ||
3562 | * flags.h (warn_frame_larger_than, frame_larger_than_size): | |
3563 | Add declarations for new option variables. | |
3564 | ||
3565 | * final.c (final_start_function): Check the frame size | |
3566 | before emission and issue a Wframe-larger-than warning. | |
3567 | ||
3568 | * opts.c (warn_frame_larger_than, frame_larger_than_size): | |
3569 | Add definitions for new option variables. | |
3570 | (common_handle_option): Handle new option OPT_Wframe_larger_than_. | |
3571 | ||
3572 | * common.opt (Wframe-larger-than=): New option. | |
3573 | ||
993ac7c7 UB |
3574 | 2008-02-20 Uros Bizjak <ubizjak@gmail.com> |
3575 | ||
3576 | * config/i386/sse.md (<sse>_vmmul<mode>3): Fix typo in asm template. | |
3577 | (<sse>_div<mode>3): Ditto. | |
3578 | (<sse>_vmdiv<mode>3): Ditto. | |
3579 | (<sse>_vmsqrt<mode>2): Ditto. | |
3580 | (*smax<mode>3): Ditto. | |
3581 | (sse5_frcz<mode>2): Ditto. | |
3582 | (sse5_vmfrcz<mode>2): Ditto. Use TARGET_SSE5 instead of TARGET_ROUND | |
3583 | as insn constraint. | |
3584 | ||
4cd8e76f RG |
3585 | 2008-02-20 Richard Guenther <rguenther@suse.de> |
3586 | ||
3587 | PR middle-end/35265 | |
3588 | * builtins.c (validate_arg): If we want an INTEGER_TYPE, | |
3589 | be happy with INTEGRAL_TYPE_P. | |
3590 | ||
41bb1f06 RG |
3591 | 2008-02-20 Richard Guenther <rguenther@suse.de> |
3592 | ||
3593 | * fold-const.c (split_tree): Associate floatig-point expressions | |
3594 | if flag_associative_math is set. | |
3595 | ||
2dc0f633 RG |
3596 | 2008-02-20 Richard Guenther <rguenther@suse.de> |
3597 | ||
3598 | * tree.h (fold_real_zero_addition_p): Declare. | |
3599 | * fold-const.c (fold_real_zero_addition_p): Export. | |
3600 | * tree-ssa-reassoc.c (eliminate_using_constants): Also handle | |
3601 | floating-point operations with zero and one. | |
3602 | ||
1c8bd6a3 PB |
3603 | 2008-02-20 Paolo Bonzini <bonzini@gnu.org> |
3604 | ||
4b40b2a5 UB |
3605 | * doc/install.texi: Correct references to CFLAGS, replacing them |
3606 | with BOOT_CFLAGS. Document flags used during bootstrap for | |
3607 | target libraries. | |
1c8bd6a3 | 3608 | |
d6023b50 UB |
3609 | 2008-02-20 Uros Bizjak <ubizjak@gmail.com> |
3610 | ||
3611 | * config/i386/i386.h (SSE_VEC_FLOAT_MODE_P): New define. | |
3612 | * config/i386/i386.md (*sse_setcc<mode>): Macroize from *sse_setccsf | |
3613 | and *sse_setccdf using MODEF mode iterator and SSE_FLOAT_MODE_P as | |
3614 | insn constraint. | |
3615 | (smin<mode>3): Ditto from similar patterns. | |
3616 | (smax<mode>3): Ditto. | |
3617 | (*ieee_smin<mode>3): Ditto. | |
3618 | (*ieee_smax<mode>3): Ditto. | |
3619 | * config/i386/sse.md (sse): New mode attribute. | |
3620 | (mov<mode>): Macroize expander from movv4sf and movv2df using | |
3621 | SSEMODEF2P mode iterator. | |
3622 | (<sse>_movnt<mode>): Ditto from similar patterns. Use | |
3623 | SSE_VEC_FLOAT_MODE_P as insn constraint. | |
3624 | (storent<mode>): Ditto. | |
3625 | (storent<mode>): Macroize expander from storentsf and storentdf using | |
3626 | MODEF mode iterator. | |
3627 | (neg<mode>2): Macroize from negv4sf2 and negv2df2 using SSEMODEF2P | |
3628 | mode iterator and SSE_VEC_FLOAT_MODE_P as insn constraint. | |
3629 | (abs<mode>2): Ditto from similar patterns. | |
3630 | (add<mode>3, *add<mode>3, <sse>_vmadd<mode>3): Ditto. | |
3631 | (sub<mode>3, *sub<mode>3, <sse>_vmsub<mode>3): Ditto. | |
3632 | (<sse>_div<mode>3, <sse>_vmdiv<mode>3): Ditto. | |
3633 | (<sse>_vmsqrt<mode>2): Ditto. | |
3634 | (smin<mode>3, *smin<mode>3_finite, *smin<mode>3) | |
3635 | (<sse>_vmsmin<mode>3, *ieee_smin<mode>3): Ditto. | |
3636 | (smax<mode>3, *smax<mode>3_finite, *smax<mode>3) | |
3637 | (<sse>_vmsmax<mode>3, *ieee_smax<mode>3): Ditto. | |
3638 | (<sse>_maskcmp<mode>3): Macroize from sse_maskcmpv4sf3, | |
3639 | sse_maskcmpsf3, sse2_maskcmpv2df3 and sse2_maskcmpdf3 using SSEMODEF4 | |
3640 | mode iterator. Use SSE_FLOAT_MODE_P with SSE_VEC_FLOAT_MODE_P as | |
3641 | insn constraint. | |
3642 | (<sse>_comi): Macroize from sse_comi and sse2_comi using MODEF mode | |
3643 | iterator and SSE_FLOAT_MODE_P as insn constraint. | |
3644 | (<sse>_ucomi): Ditto from similar patterns. | |
3645 | (<sse>_vmmaskcmp<mode>3): Macroize from sse_vmmaskcmpv4sf3 and | |
3646 | sse2_vmmaskcmpv2df3 using SSEMODEF2P mode iterator and | |
3647 | SSE_VEC_FLOAT_MODE_P as insn constraint. | |
3648 | (vcond<mode>): Ditto from similar patterns. | |
3649 | (and<mode>3, *and<mode>3): Ditto. | |
3650 | (<sse>_nand<mode>3): Ditto. | |
3651 | (ior<mode>3, *ior<mode>3): Ditto. | |
3652 | (xor<mode>3, *xor<mode>3): Ditto. | |
3653 | (*and<mode>3): Macroize from *andsf3 and *anddf3 using MODEF mode | |
3654 | iterator and SSE_FLOAT_MODE_P as insn constraint. | |
3655 | (*nand<mode>3): Ditto from similar patterns. | |
3656 | (*ior<mode>3): Ditto. | |
3657 | (*xor<mode>3): Ditto. | |
3658 | ||
76a893cf IR |
3659 | 2008-02-20 Ira Rosen <irar@il.ibm.com> |
3660 | ||
3661 | * config/spu/spu.md (vec_unpacku_hi_v8hi, vec_unpacku_lo_v8hi, | |
3662 | vec_unpacks_hi_v8hi, vec_unpacks_lo_v8hi, vec_unpacku_hi_v16qi, | |
3663 | vec_unpacku_lo_v16qi, vec_unpacks_lo_v16qi): Implement. | |
3664 | ||
daac0317 JH |
3665 | 2008-02-19 Jan Hubicka <jh@suse.cz> |
3666 | ||
a8971bdb UB |
3667 | * predict.c (tree_bb_level_predictions): Remove variable next |
3668 | mistakely introduced by previous commit. | |
daac0317 | 3669 | |
3e4b9ad0 JH |
3670 | 2008-02-19 Jan Hubicka <jh@suse.cz> |
3671 | ||
3672 | * predict.c (predict_paths_leading_to): Rewrite. | |
3673 | (predict_paths_for_bb): New. | |
3674 | (tree_bb_level_predictions): Update call of predict_paths_leading_to. | |
3675 | ||
a0e527e3 RW |
3676 | 2008-02-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
3677 | ||
3678 | PR bootstrap/35218 | |
3679 | * Makefile.in (build_file_translate): New. | |
3680 | (gcc-vers.texi): Use it for translating $(abs_srcdir). | |
3681 | * config.build (build_file_translate): Set to `CMD //c' on MinGW. | |
3682 | * configure.ac (build_file_translate): Substitute it. | |
3683 | * configure: Regenerate. | |
3684 | ||
9d5cee3d JH |
3685 | 2008-02-19 Jan Hubicka <jh@suse.cz> |
3686 | ||
3687 | PR rtl-optimization/34408 | |
3e4b9ad0 JH |
3688 | * see.c (see_def_extension_not_merged): Copy subreg so we don't have |
3689 | invalid sharing. | |
9d5cee3d | 3690 | |
8723e2fe JH |
3691 | 2008-02-19 Jan Hubicka <jh@suse.cz> |
3692 | ||
3693 | PR middle-end/28779 | |
3e4b9ad0 JH |
3694 | * tree-inline.c (estimate_num_insns_1): Fix counting of cost of |
3695 | call_expr. | |
8723e2fe | 3696 | |
5ba5440f L |
3697 | 2008-02-19 H.J. Lu <hongjiu.lu@intel.com> |
3698 | ||
3699 | PR Ada/35186 | |
3700 | * config/i386/i386-modes.def: Revert the last DI alignment | |
3701 | change until Ada people can look into it. | |
3702 | ||
c01c261d NC |
3703 | 2008-02-19 Nick Clifton <nickc@redhat.com> |
3704 | ||
3705 | * opts.c (print_specific_help): Fix typo in --help text. | |
3706 | ||
2e834acb JJ |
3707 | 2008-02-19 Jakub Jelinek <jakub@redhat.com> |
3708 | ||
3709 | PR target/35239 | |
3710 | * config/i386/cpuid.h (__cpuid, __get_cpuid_max): Use special | |
3711 | 32-bit inline asm without asm alternatives for host GCC < 3.0. | |
3712 | ||
9cadd7f7 RG |
3713 | 2008-02-19 Richard Guenther <rguenther@suse.de> |
3714 | ||
3715 | PR tree-optimization/34989 | |
3716 | * tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Re-structure. | |
3717 | Allow propagation to INDIRECT_REF if we can simplify only. | |
3718 | ||
ffc30173 MLI |
3719 | 2008-02-19 Manuel Lopez-Ibanez <manu@gcc.gnu.org> |
3720 | ||
3721 | * c-common.c (warn_for_collisions_1): Use appropriate option when | |
3722 | warning. | |
3723 | ||
b3eaaf1a NC |
3724 | 2008-02-19 Nick Clifton <nickc@redhat.com> |
3725 | ||
3726 | PR other/31349 | |
a8971bdb | 3727 | * opts.c (undocumented_msg): Leave blank unless checking is enabled. |
b3eaaf1a NC |
3728 | (handle_options): Fix indentation. |
3729 | (print_filtered_help): If no language-specific options were | |
3730 | displayed tell the user how to list all the options supported by | |
3731 | the language's front-end. | |
3732 | (print_specific_help): Fix indentation and remove duplicate line. | |
3733 | (common_handle_option): Handle the -v option. | |
3734 | For --help enable the display of undocumented options if the -v | |
3735 | switch has been included on the command line. | |
3736 | For --help= check for overlaps in the arguments between the option | |
3737 | classes and the language names and issue a warning when they | |
3738 | cannot be disambiguated. | |
3739 | * c.opt (v): Pass on to the common option handler. | |
3740 | ||
de82c453 RE |
3741 | 2008-02-19 Revital Eres <eres@il.ibm.com> |
3742 | ||
3743 | * modulo-sched.c (sms_schedule): Change dump message when | |
3744 | create_ddg function fails. | |
3745 | (try_scheduling_node_in_cycle): Rename row to cycle. | |
3746 | (print_partial_schedule): Rename CYCLE to ROW. | |
3747 | ||
32159434 | 3748 | 2008-02-19 Christian Bruel <christian.bruel@st.com> |
a8971bdb UB |
3749 | Zdenek Dvorak <ook@ucw.cz> |
3750 | ||
3751 | * tree-ssa-loop-ivopts.c (may_be_unaligned_p): Check step alignment. | |
3752 | ||
0e93e1b4 UB |
3753 | 2008-02-19 Uros Bizjak <ubizjak@gmail.com> |
3754 | ||
3755 | PR target/33555 | |
3756 | * config/i386/i386.md (*x86_movsicc_0_m1_se): New insn pattern. | |
3757 | (*x86_movdicc_0_m1_se): Ditto. | |
3758 | ||
02d353cf UB |
3759 | 2008-02-19 Uros Bizjak <ubizjak@gmail.com> |
3760 | ||
3761 | * config/i386/sfp-machine.h (__gcc_CMPtype): New typedef. | |
3762 | (CMPtype): Define as __gcc_CMPtype. | |
3763 | * config/rs6000/sfp-machine.h (__gcc_CMPtype): New typedef. | |
3764 | (CMPtype): Define as __gcc_CMPtype. | |
3765 | ||
35dee980 HPN |
3766 | 2008-02-19 Hans-Peter Nilsson <hp@axis.com> |
3767 | ||
3768 | Support valgrind 3.3 for --enable-checking=valgrind. | |
3769 | * system.h: Consolidate ENABLE_VALGRIND_CHECKING-dependent defines | |
3770 | here. | |
3771 | [!VALGRIND_MAKE_MEM_NOACCESS]: Define as VALGRIND_MAKE_NOACCESS. | |
3772 | [!VALGRIND_MAKE_MEM_DEFINED]: Define as VALGRIND_MAKE_READABLE. | |
3773 | [!VALGRIND_MAKE_MEM_UNDEFINED]: Define as VALGRIND_MAKE_WRITABLE. | |
3774 | * ggc-common.c: Remove ENABLE_VALGRIND_CHECKING-dependent defines. | |
3775 | Replace use of VALGRIND_MAKE_READABLE, VALGRIND_MAKE_WRITABLE, and | |
3776 | VALGRIND_MAKE_NOACCESS with VALGRIND_MAKE_MEM_DEFINED, | |
3777 | VALGRIND_MAKE_MEM_UNDEFINED, and VALGRIND_MAKE_MEM_NOACCESS | |
3778 | respectively. | |
3779 | * ggc-zone.c: Similar. | |
3780 | * ggc-page.c: Similar. | |
3781 | ||
27e03cf1 PB |
3782 | 2008-02-19 Paul Brook <paul@codesourcery.com> |
3783 | ||
3784 | PR target/35071 | |
3785 | * config/arm/ieee754-df.S: Fix do_it typo. | |
3786 | * config/arm/ieee754-sf.S: Fix do_it typo. | |
3787 | ||
287a7d41 L |
3788 | 2008-02-18 H.J. Lu <hongjiu.lu@intel.com> |
3789 | ||
3790 | PR target/35189 | |
3791 | * config/i386/i386.c (OPTION_MASK_ISA_MMX_SET): New. | |
3792 | (OPTION_MASK_ISA_3DNOW_SET): Likewise. | |
3793 | (OPTION_MASK_ISA_SSE_SET): Likewise. | |
3794 | (OPTION_MASK_ISA_SSE2_SET): Likewise. | |
3795 | (OPTION_MASK_ISA_SSE3_SET): Likewise. | |
3796 | (OPTION_MASK_ISA_SSSE3_SET): Likewise. | |
3797 | (OPTION_MASK_ISA_SSE4_1_SET): Likewise. | |
3798 | (OPTION_MASK_ISA_SSE4_2_SET): Likewise. | |
3799 | (OPTION_MASK_ISA_SSE4_SET): Likewise. | |
3800 | (OPTION_MASK_ISA_SSE4A_SET): Likewise. | |
3801 | (OPTION_MASK_ISA_SSE5_SET): Likewise. | |
3802 | (OPTION_MASK_ISA_3DNOW_A_UNSET): Likewise. | |
3803 | (OPTION_MASK_ISA_MMX_UNSET): Updated. | |
3804 | (OPTION_MASK_ISA_3DNOW_UNSET): Updated. | |
3805 | (OPTION_MASK_ISA_SSE_UNSET): Likewise. | |
3806 | (OPTION_MASK_ISA_SSE3_UNSET): Likewise. | |
3807 | (OPTION_MASK_ISA_SSSE3_UNSET): Likewise. | |
3808 | (OPTION_MASK_ISA_SSE4_1_UNSET): Likewise. | |
3809 | (OPTION_MASK_ISA_SSE4_2_UNSET): Likewise. | |
3810 | (OPTION_MASK_ISA_SSE4A_UNSET): Likewise. | |
3811 | (OPTION_MASK_ISA_SSE5_UNSET): Likewise. | |
3812 | (OPTION_MASK_ISA_SSE4): Removed. | |
3813 | (ix86_handle_option): Turn on bits in ix86_isa_flags and | |
3b509e33 | 3814 | ix86_isa_flags_explicit with OPTION_MASK_ISA_XXX_SET for -mXXX. |
287a7d41 L |
3815 | (override_options): Don't turn on implied SSE/MMX bits in |
3816 | ix86_isa_flags. | |
3817 | ||
feaffcaa L |
3818 | 2008-02-18 H.J. Lu <hongjiu.lu@intel.com> |
3819 | ||
3820 | * config/i386/i386-modes.def: Use 4 byte alignment on DI for | |
3821 | 32bit host. | |
3822 | ||
b2ae828d JY |
3823 | 2008-02-18 Joey Ye <joey.ye@intel.com> |
3824 | ||
3825 | PR middle-end/34921 | |
3826 | * tree-nested.c (insert_field_into_struct): Set type alignment | |
3827 | to field alignment if the former is less than the latter. | |
3828 | ||
8d855c3d JJ |
3829 | 2008-02-18 Jakub Jelinek <jakub@redhat.com> |
3830 | ||
3831 | * BASE-VER: Set to 4.4.0. | |
3832 | ||
923158be RW |
3833 | 2008-02-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
3834 | ||
3835 | * doc/c-tree.texi: Use @dots{} and @enddots{} where appropriate. | |
3836 | * doc/cfg.texi: Likewise. | |
3837 | * doc/extend.texi: Likewise. | |
3838 | * doc/gty.texi: Likewise. | |
3839 | * doc/invoke.texi: Likewise. | |
3840 | * doc/loop.texi: Likewise. | |
3841 | * doc/md.texi: Likewise. | |
3842 | * doc/passes.texi: Likewise. | |
3843 | * doc/rtl.texi: Likewise. | |
3844 | * doc/sourcebuild.texi: Likewise. | |
3845 | * doc/tm.texi: Likewise. | |
3846 | * doc/tree-ssa.texi: Likewise. | |
3847 | ||
f0a77246 RG |
3848 | 2008-02-17 Richard Guenther <rguenther@suse.de> |
3849 | ||
3850 | PR middle-end/35227 | |
3851 | * tree-complex.c (init_parameter_lattice_values): Handle parameters | |
3852 | without default definition. | |
3853 | ||
e09deb14 RG |
3854 | 2008-02-17 Richard Guenther <rguenther@suse.de> |
3855 | ||
3856 | PR tree-optimization/35231 | |
3857 | * tree-vrp.c (register_edge_assert_for): Do not assume A == 0 | |
3858 | if A | B != 1. | |
3859 | ||
e6528d32 UB |
3860 | 2008-02-17 Uros Bizjak <ubizjak@gmail.com> |
3861 | ||
3862 | Revert: | |
e6528d32 UB |
3863 | 2008-02-15 Uros Bizjak <ubizjak@gmail.com> |
3864 | * config/i386/sfp-machine.h (CMPtype): Define as typedef using | |
3865 | libgcc_cmp_return mode. | |
3866 | ||
93e052a8 MLI |
3867 | 2008-02-16 Manuel Lopez-Ibanez <manu@gcc.gnu.org> |
3868 | ||
3869 | PR c/28368 | |
3870 | * doc/invoke.texi (-std): Clarify description of -std= and -ansi. | |
3871 | ||
2a49e6f8 RC |
3872 | 2008-02-16 Ralf Corsepius <ralf.corsepius@rtems.org> |
3873 | ||
3874 | * config/m68k/t-rtems (M68K_MLIB_CPU): Add 5208, 5307, 5407, 5475 | |
3875 | multilibs. | |
3876 | ||
0ee2ea09 RW |
3877 | 2008-02-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
3878 | ||
3879 | * doc/c-tree.texi: Use `@.' where appropriate. | |
3880 | * doc/extend.texi: Likewise. | |
3881 | * doc/install.texi: Likewise. | |
3882 | * doc/invoke.texi: Likewise. | |
3883 | * doc/loop.texi: Likewise. | |
3884 | * doc/makefile.texi: Likewise. | |
3885 | * doc/md.texi: Likewise. | |
3886 | * doc/passes.texi: Likewise. | |
3887 | * doc/standards.texi: Likewise. | |
3888 | * doc/tm.texi: Likewise. | |
3889 | ||
ac84c062 JJ |
3890 | 2008-02-15 Jakub Jelinek <jakub@redhat.com> |
3891 | ||
3892 | PR middle-end/35196 | |
3893 | * omp-low.c (expand_omp_for_generic): Don't initialize fd->v | |
3894 | in entry_bb. | |
3895 | (expand_omp_for_static_nochunk): Initialize fd->v in seq_start_bb | |
3896 | rather than in entry_bb. | |
3897 | ||
6a9e8571 UB |
3898 | 2008-02-15 Uros Bizjak <ubizjak@gmail.com> |
3899 | ||
3900 | * config/i386/sfp-machine.h (CMPtype): Define as typedef using | |
3901 | libgcc_cmp_return mode. | |
3902 | ||
6837b3b8 JJ |
3903 | 2008-02-15 Jakub Jelinek <jakub@redhat.com> |
3904 | ||
3905 | PR middle-end/35130 | |
3906 | * tree-nested.c (convert_call_expr): Put FRAME.* vars into | |
3907 | OMP_CLAUSE_SHARED rather than OMP_CLAUSE_FIRSTPRIVATE clause. | |
3908 | ||
2e58df6e | 3909 | 2008-02-15 Richard Guenther <rguenther@suse.de> |
6a9e8571 | 3910 | Zdenek Dvorak <ook@ucw.cz> |
2e58df6e RG |
3911 | |
3912 | PR tree-optimization/35164 | |
3913 | * tree-flow.h (stmt_references_abnormal_ssa_name): Declare. | |
3914 | * tree-dfa.c (stmt_references_abnormal_ssa_name): New function. | |
3915 | * tree-ssa-forwprop.c (tree_ssa_forward_propagate_single_use_vars): | |
3916 | Only propagate addresses which do not have abnormal SSA_NAMEs | |
3917 | in their operands. | |
3918 | ||
206598fb JM |
3919 | 2008-02-15 Joseph Myers <joseph@codesourcery.com> |
3920 | ||
3921 | PR target/35088 | |
3922 | * config/m68k/m68k.h (DWARF_CIE_DATA_ALIGNMENT): Define. | |
3923 | ||
18168b3f JH |
3924 | 2008-02-15 Jan Hubicka <jh@suse.cz> |
3925 | ||
3926 | PR middle-end/35149 | |
3927 | * ipa.c (cgraph_remove_unreachable_nodes): Clear local.inlinable flag. | |
3928 | ||
6f6b8f81 UB |
3929 | 2008-02-15 Uros Bizjak <ubizjak@gmail.com> |
3930 | ||
3931 | PR middle-end/34621 | |
3932 | * function.c (pad_to_arg_alignment): Remove test for STACK_BOUNDARY | |
3933 | when calculating alignment_pad. | |
3934 | ||
979c67a5 UB |
3935 | 2008-02-15 Uros Bizjak <ubizjak@gmail.com> |
3936 | ||
3937 | * config/i386/i386.h (CLEAR_RATIO): Use MIN macro. | |
3938 | (WIDEST_HARDWARE_FP_SIZE): Use LONG_DOUBLE_TYPE_SIZE define. | |
3939 | * config/i386/darwin.h (PREFERRED_STACK_BOUNDARY): Use MAX macro | |
3940 | and STACK_BOUNDARY define. | |
3941 | ||
101e174d DS |
3942 | 2008-02-14 Danny Smith <dannysmith@users.sourceforge.net> |
3943 | ||
3944 | PR preprocessor/35061 | |
3945 | * c-pragma.c (handle_pragma_pop_macro): Check that | |
3946 | pushed_macro_table has been allocated. | |
3947 | ||
928bc34f EB |
3948 | 2008-02-14 Eric Botcazou <ebotcazou@adacore.com> |
3949 | ||
3950 | PR middle-end/35136 | |
3951 | * gimplify.c (force_gimple_operand_bsi): Revert 2008-02-12 change. | |
3952 | (force_gimple_operand): Likewise. | |
3953 | * tree-ssa-loop-ivopts.c (may_be_nonaddressable_p): Add new cases | |
3954 | for TARGET_MEM_REF and CONVERT_EXPR/NON_LVALUE_EXPR/NOP_EXPR. | |
3955 | Also recurse on the operand for regular VIEW_CONVERT_EXPRs. | |
3956 | (find_interesting_uses_address): Check addressability and alignment | |
3957 | of the base expression only after substituting bases of IVs into it. | |
3958 | ||
a5bfb13a MM |
3959 | 2008-02-14 Michael Matz <matz@suse.de> |
3960 | ||
3961 | PR target/34930 | |
3962 | * function.c (instantiate_virtual_regs_in_insn): Reload address | |
3963 | before falling back to reloading the whole operand. | |
3964 | ||
b49326f1 AK |
3965 | 2008-02-14 Andreas Krebbel <krebbel1@de.ibm.com> |
3966 | ||
3967 | * config/s390/s390.c (s390_mainpool_start): Emit the pool | |
3968 | before the first section switch note. | |
3969 | ||
021efafc RW |
3970 | 2008-02-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
3971 | ||
346341a4 RW |
3972 | * doc/bugreport.texi: Update copyright years. |
3973 | * doc/c-tree.texi: Likewise. | |
3974 | * doc/cfg.texi: Likewise. | |
3975 | * doc/cpp.texi: Likewise. | |
3976 | * doc/cppinternals.texi: Likewise. | |
3977 | * doc/fragments.texi: Likewise. | |
3978 | * doc/frontends.texi: Likewise. | |
3979 | * doc/gcc.texi: Likewise. | |
3980 | * doc/gty.texi: Likewise. | |
3981 | * doc/hostconfig.texi: Likewise. | |
3982 | * doc/implement-c.texi: Likewise. | |
3983 | * doc/libgcc.texi: Likewise. | |
3984 | * doc/loop.texi: Likewise. | |
3985 | * doc/makefile.texi: Likewise. | |
3986 | * doc/options.texi: Likewise. | |
3987 | * doc/passes.texi: Likewise. | |
3988 | * doc/rtl.texi: Likewise. | |
3989 | * doc/sourcebuild.texi: Likewise. | |
3990 | * doc/standards.texi: Likewise. | |
3991 | * doc/tree-ssa.texi: Likewise. | |
3992 | * doc/trouble.texi: Likewise. | |
3993 | ||
021efafc RW |
3994 | * doc/extend.texi: Use @: or add comma where appropriate. |
3995 | * doc/invoke.texi: Likewise. | |
3996 | * doc/tm.texi: Likewise. | |
3997 | ||
583da60a AM |
3998 | 2008-02-14 Alan Modra <amodra@bigpond.net.au> |
3999 | ||
4000 | PR target/34393 | |
4001 | * config/rs6000/rs6000.md (restore_stack_block): Force operands[1] | |
4002 | to a reg. | |
4003 | ||
2a6627c2 JN |
4004 | 2008-02-14 Jesper Nilsson <jesper.nilsson@axis.com> |
4005 | ||
4006 | * doc/md.texi (clz, ctz): Add reference. | |
4007 | * doc/rtl.texi (clz, ctz): Likewise. | |
4008 | ||
1b0c753a RW |
4009 | 2008-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
4010 | ||
4011 | PR other/35148 | |
4012 | * Makefile.in (gcc-vers.texi): Use abs_srcdir for the value of | |
4013 | srcdir. | |
4014 | ||
03870a04 AK |
4015 | 2008-02-13 Andreas Krebbel <krebbel1@de.ibm.com> |
4016 | ||
4017 | * config/s390/s390.c (struct constant_pool): New field | |
4018 | emit_pool_after added. | |
4019 | (s390_mainpool_start): Set the emit_pool_after flag according | |
4020 | to the section switch notes. | |
4021 | (s390_mainpool_finish): Consider emit_pool_after when emitting | |
4022 | the literal pool at the end of the function. | |
4023 | (s390_chunkify_start): Force literal pool splits at section | |
4024 | switch notes. | |
4025 | ||
be71b673 MM |
4026 | 2008-02-13 Michael Matz <matz@suse.de> |
4027 | ||
4028 | PR debug/35065 | |
4029 | * var-tracking.c (clobber_variable_part): Correctly traverse the | |
4030 | list. | |
4031 | ||
fed39e22 MLI |
4032 | 2008-02-13 Manuel Lopez-Ibanez <manu@gcc.gnu.org> |
4033 | ||
4034 | PR 29673 | |
4035 | * doc/invoke.texi (Debugging Options): Remove -fdump-tree-inlined. | |
4036 | Add -fdump-ipa-inline. | |
4037 | * tree-dump.c (dump_files): Remove tree-inlined dump. | |
4038 | * tree-pass.h (tree_dump_index): Remove TDI_inlined. | |
4039 | ||
8665227f RG |
4040 | 2008-02-12 Richard Guenther <rguenther@suse.de> |
4041 | ||
4042 | PR tree-optimization/35171 | |
4043 | * tree-vect-patterns.c (vect_recog_dot_prod_pattern): Deal with | |
4044 | default defs. | |
4045 | ||
8f768a5a RG |
4046 | 2008-02-12 Richard Guenther <rguenther@suse.de> |
4047 | ||
4048 | PR middle-end/35163 | |
4049 | * fold-const.c (fold_widened_comparison): Use get_unwidened in | |
4050 | value-preserving mode. Disallow final truncation. | |
4051 | ||
81186f7b EB |
4052 | 2008-02-12 Eric Botcazou <ebotcazou@adacore.com> |
4053 | ||
4054 | PR middle-end/35136 | |
4055 | * gimplify.c (force_gimple_operand_bsi): Move SSA renaming | |
4056 | code from here to... | |
4057 | (force_gimple_operand): ...here. | |
4058 | ||
d7b8033f JJ |
4059 | 2008-02-12 Jakub Jelinek <jakub@redhat.com> |
4060 | ||
e4521d11 JJ |
4061 | PR c++/35144 |
4062 | * tree-sra.c (sra_build_assignment): fold_convert SRC if copying | |
4063 | non-compatible pointers. | |
4064 | (generate_element_copy): If SRC and DST are RECORD_TYPEs with | |
4065 | different FIELD_DECLs, try harder by comparing field offsets, sizes | |
4066 | and types. | |
4067 | ||
d7b8033f JJ |
4068 | PR inline-asm/35160 |
4069 | * function.c (match_asm_constraints_1): Don't replace the same input | |
4070 | multiple times. | |
4071 | ||
d6f77715 AS |
4072 | 2008-02-12 Anatoly Sokolov <aesok@post.ru> |
4073 | ||
4074 | * config/avr/avr.h (AVR_HAVE_RAMPZ): Define. | |
4075 | * config/avr/avr.c (expand_prologue): Save RAMPZ register. | |
4076 | (expand_epilogue): Restore RAMPZ register. | |
4077 | * config/avr/avr.md (RAMPZ_ADDR): New constant. | |
4078 | ||
35b35fd0 KT |
4079 | 2008-02-11 Kai Tietz <kai.tietz@onevision.com> |
4080 | ||
40049ccc | 4081 | * config/i386/cygwin.asm: (__alloca): Correct calling |
35b35fd0 KT |
4082 | convention and alignment. |
4083 | (__chkstk): Force 8 byte stack alignment. | |
4084 | ||
a6e2d112 | 4085 | 2008-02-11 Uros Bizjak <ubizjak@gmail.com> |
f8c5cff4 | 4086 | Richard Guenther <rguenther@suse.de> |
a6e2d112 UB |
4087 | |
4088 | PR tree-optimization/33992 | |
4089 | * tree-ssa-loop-im.c (rewrite_bittest): Fixup the type of | |
4090 | the zero we compare against. | |
4091 | ||
40049ccc UB |
4092 | 2008-02-10 Danny Smith <dannysmith@users.sourceforge.net> |
4093 | ||
4094 | PR libfortran/35063 | |
4095 | * gthr-win32.h (__gthread_mutex_destroy_function): New function | |
4096 | to CloseHandle after unlocking to prevent accumulation of handle | |
4097 | count. | |
4098 | ||
4d811a05 JDA |
4099 | 2008-02-09 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
4100 | ||
4101 | PR middle_end/34150 | |
4102 | * pa.c (legitimize_pic_address): Add REG_EQUAL note on sets with a | |
4103 | pic_label_operand source. Similarly, add a REG_LABEL_OPERAND note | |
4104 | and update LABEL_NUSES during and after reload. | |
4105 | ||
e37f6a49 SB |
4106 | 2008-02-08 Steven Bosscher <stevenb.gcc@gmail.com> |
4107 | ||
4108 | PR middle-end/34627 | |
a3395528 | 4109 | * combine.c (simplify_if_then_else): Make sure the comparison is |
e37f6a49 SB |
4110 | against const0_rtx when simplifying to (abs x) or (neg (abs X)). |
4111 | ||
34917a10 RS |
4112 | 2008-02-08 Richard Sandiford <rsandifo@nildram.co.uk> |
4113 | ||
4114 | PR bootstrap/35051 | |
4115 | * double-int.h: Don't include gmp.h for GENERATOR_FILEs. | |
4116 | (mpz_set_double_int, mpz_get_double_int): Hide from GENERATOR_FILEs. | |
4117 | * real.h: Don't include gmp.h or mpfr.h for GENERATOR_FILEs. | |
4118 | (real_from_mpfr, mpfr_from_real): Hide from GENERATOR_FILEs. | |
4119 | * tree.h (get_type_static_bounds): Likewise. | |
4120 | ||
670b0231 RW |
4121 | 2008-02-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
4122 | ||
4123 | * doc/invoke.texi (Option Summary, C++ Dialect Options) | |
4124 | (Objective-C and Objective-C++ Dialect Options, Warning Options): | |
4125 | Make -Wfoo language annotations match what the compiler outputs. | |
4126 | ||
069c47ee SL |
4127 | 2008-02-08 Sa Liu <saliu@de.ibm.com> |
4128 | ||
4129 | * config/spu/spu-builtins.def: Fixed wrong parameter type in spu | |
4130 | intrinsics spu_convts, spu_convtu, spu_convtf. | |
4131 | * testsuite/gcc.target/spu/intrinsics-3.c: New. Test error messages. | |
4132 | ||
ccd2a21e HPN |
4133 | 2008-02-08 Hans-Peter Nilsson <hp@axis.com> |
4134 | ||
4135 | * doc/extend.texi (Function Attributes) <noinline>: Mention | |
4136 | asm ("") as method to keep calls. | |
4137 | ||
af47e6ac MLI |
4138 | 2008-02-07 Manuel Lopez-Ibanez <manu@gcc.gnu.org> |
4139 | ||
4140 | PR other/32754 | |
4141 | * doc/options.texi (Options): Replace references to opts.sh with | |
4142 | optc-gen.awk. | |
4143 | * opts-common.c: Likewise. | |
4144 | * optc-gen.awk: Likewise. | |
4145 | ||
96e2afa8 AK |
4146 | 2008-02-07 Andreas Krebbel <krebbel1@de.ibm.com> |
4147 | ||
4148 | * config/s390/s390.h (FUNCTION_ARG_REGNO_P): Fix fprs for 64 bit. | |
4149 | ||
4150 | 2008-02-07 Richard Henderson <rth@redhat.com> | |
32891ff6 RH |
4151 | |
4152 | PR rtl-opt/33410 | |
4153 | * config/alpha/alpha.c (alpha_emit_xfloating_compare): Use an | |
4154 | EXPR_LIST for the REG_EQUAL instead of a comparison with a | |
4155 | funny mode. | |
4156 | ||
c4ae80d9 UB |
4157 | 2008-02-07 Uros Bizjak <ubizjak@gmail.com> |
4158 | ||
4159 | PR tree-optimization/35085 | |
4160 | * tree-ssa-reassoc.c (rewrite_expr_tree): Enable destructive update | |
4161 | for operand entry oe2 in addition to operand entry oe3 in order to | |
4162 | expose more opportunities for vectorizer sum reduction. | |
4163 | ||
72fb133f KG |
4164 | 2008-02-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
4165 | ||
4166 | PR other/35107 | |
4167 | * Makefile.in (LIBS): Remove $(GMPLIBS). | |
4168 | (cc1-dummy, cc1): Add $(GMPLIBS). | |
4169 | ||
20a415f8 JH |
4170 | 2008-02-06 Jan Hubicka <jh@suse.cz> |
4171 | ||
88b089d5 | 4172 | PR target/23322 |
20a415f8 JH |
4173 | * i386.md (moddf_integer): Do not produce partial memory stalls for |
4174 | targets where it hurts. | |
4175 | ||
cc8d36a1 UB |
4176 | 2008-02-06 Uros Bizjak <ubizjak@gmail.com> |
4177 | ||
4178 | PR target/35083 | |
4179 | * optabs.c (expand_float): Do not check for decimal modes when | |
4180 | expanding unsigned integer through signed conversion. | |
4181 | ||
2ccd9cb2 NC |
4182 | 2008-02-06 Nick Clifton <nickc@redhat.com> |
4183 | ||
4184 | * config/stormy16/stormy16.md (eqbranchsi): Replace a match_dup | |
4185 | inside the clobber with a match_operand and duplicated operand | |
4186 | number in the constraint. | |
4187 | (ineqbranchsi): Delete redundant comment. | |
4188 | ||
ecb2366e RC |
4189 | 2008-02-06 Ralf Corsepius <ralf.corsepius@rtems.org> |
4190 | ||
448b96d0 RC |
4191 | * config/arm/rtems-elf.h (TARGET_OS_CPP_BUILTINS): Add |
4192 | builtin_define ("__USE_INIT_FINI__"). | |
4193 | * config/h8300/t-rtems (MULTILIB_OPTION,MULTILIB_DIRNAMES): Add | |
4194 | -msx multilibs. | |
ecb2366e RC |
4195 | * gthr-rtems.h: Remove __GTHREAD_MUTEX_INIT. |
4196 | ||
ccd4e386 RW |
4197 | 2008-02-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
4198 | ||
4199 | PR documentation/30330 | |
4200 | * doc/invoke.texi (C++ Dialect Options) | |
4201 | (Objective-C and Objective-C++ Dialect Options, Warning Options): | |
4202 | For each warning option -Wfoo that allows -Wno-foo, ensure both | |
4203 | -Wfoo and -Wno-foo are listed in the option index. Fix index | |
4204 | entry of -Wswitch-default, index -Wnormalized= including the | |
4205 | `=', and -Wlarger-than-@var{len} including @var{len}. | |
4206 | ||
def7425b UB |
4207 | 2008-02-05 Uros Bizjak <ubizjak@gmail.com> |
4208 | ||
4209 | * config/i386/i386.md (floatunssisf2): Use | |
4210 | ix86_expand_convert_uns_sisf_sse also for TARGET_SSE. | |
4211 | (floatunssi<mode>2): Rename from floatunssisf2 and floatunssidf2. | |
4212 | Macroize expander using MODEF mode iterator. | |
4213 | ||
c1e7d240 DN |
4214 | 2008-02-05 Diego Novillo <dnovillo@google.com> |
4215 | ||
4216 | http://gcc.gnu.org/ml/gcc-patches/2008-02/msg00140.html | |
4217 | ||
4218 | PR 33738 | |
def7425b | 4219 | * tree-vrp.c (vrp_evaluate_conditional): Revert fix for PR 33738. |
c1e7d240 | 4220 | |
3a204175 KG |
4221 | 2008-02-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
4222 | ||
4223 | PR other/35070 | |
4224 | * toplev.c (print_version): Honor `indent' for GMP/MPFR warnings. | |
4225 | ||
7074bc2e L |
4226 | 2008-02-05 H.J. Lu <hongjiu.lu@intel.com> |
4227 | ||
4228 | PR target/35084 | |
4229 | * config/i386/i386.c (ix86_function_sseregparm): Add an arg | |
4230 | to indicate if a message should be generated. | |
4231 | (init_cumulative_args): Updated. | |
4232 | (function_value_32): Likewise. | |
4233 | ||
0f5098ae JM |
4234 | 2008-02-05 Joseph Myers <joseph@codesourcery.com> |
4235 | ||
4236 | * doc/include/texinfo.tex: Update to version 2008-02-04.16. | |
4237 | ||
4a534152 UB |
4238 | 2008-02-05 Uros Bizjak <ubizjak@gmail.com> |
4239 | ||
4240 | PR target/35083 | |
4241 | * config/i386/i386.md (floatunsisf2): Enable for TARGET_SSE_MATH only. | |
4242 | Call ix86_expand_convert_uns_sisf_sse for TARGET_SSE2. | |
4243 | ||
3467b230 DN |
4244 | 2008-02-04 Diego Novillo <dnovillo@google.com> |
4245 | ||
4246 | http://gcc.gnu.org/ml/gcc-patches/2008-02/msg00110.html | |
4247 | ||
4248 | PR 33738 | |
4249 | * tree-vrp.c (vrp_evaluate_conditional): With | |
4250 | -Wtype-limits, emit a warning when comparing against a | |
4251 | constant outside the natural range of OP0's type. | |
4252 | ||
22199fd2 RG |
4253 | 2008-02-04 Richard Guenther <rguenther@suse.de> |
4254 | ||
4255 | PR middle-end/33631 | |
4256 | * expr.c (count_type_elements): Give for unions instead of | |
4257 | guessing. | |
4258 | ||
1a1640db RG |
4259 | 2008-02-04 Richard Guenther <rguenther@suse.de> |
4260 | ||
4261 | PR middle-end/35043 | |
4262 | * gimplify.c (gimplify_init_ctor_eval): Convert array indices | |
4263 | to TYPE_DOMAINs base type instead of using bitsizetype here. | |
4264 | ||
0fcedd9c JM |
4265 | 2008-02-03 Jason Merrill <jason@redhat.com> |
4266 | ||
4267 | * print-tree.c (print_node) [CONSTRUCTOR]: Print elements. | |
4268 | ||
a31cfd58 RW |
4269 | 2008-02-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
4270 | ||
4271 | PR other/29972 | |
4272 | * doc/invoke.texi (C++ Dialect Options, Optimize Options) | |
4273 | (HPPA Options, i386 and x86-64 Options, IA-64 Options) | |
4274 | (RS/6000 and PowerPC Options): Fix typos and markup. | |
4275 | * doc/passes.texi (Tree-SSA passes): Likewise. | |
4276 | ||
6994f254 MM |
4277 | 2008-02-02 Michael Matz <matz@suse.de> |
4278 | ||
4279 | PR target/35045 | |
4280 | * postreload-gcse.c (record_last_reg_set_info_regno): Renamed | |
4281 | from record_last_reg_set_info. | |
4282 | (record_last_reg_set_info): Take an RTX argument, iterate over all | |
4283 | constituent hardregs. | |
4284 | (record_last_set_info, record_opr_changes): Change calls to | |
4285 | new signature or to record_last_reg_set_info_regno. | |
4286 | ||
27f56cb1 GP |
4287 | 2008-02-02 Gerald Pfeifer <gerald@pfeifer.com> |
4288 | ||
4289 | * doc/extend.texi (X86 Built-in Functions): Fix grammar. | |
4290 | ||
3e836a31 HPN |
4291 | 2008-02-01 Hans-Peter Nilsson <hp@axis.com> |
4292 | ||
4293 | PR rtl-optimization/34773 | |
4294 | * reg-notes.def (EQUAL): Mention significance of combination of | |
4295 | REG_EQUAL and REG_RETVAL. | |
4296 | * fwprop.c (try_fwprop_subst): Don't add REG_EQUAL to an | |
4297 | insn that has a REG_RETVAL. | |
4298 | ||
d5be1dd4 RS |
4299 | 2008-02-01 Roger Sayle <roger@eyesopen.com> |
4300 | ||
4301 | PR bootstrap/33781 | |
4302 | * configure.ac (--enable-fixed-point): Disable unless explicitly | |
4303 | requested on IRIX. | |
4304 | * configure: Regenerate. | |
4305 | ||
7c9c2f2a RG |
4306 | 2008-02-01 Richard Guenther <rguenther@suse.de> |
4307 | ||
4308 | PR other/35042 | |
4309 | * invoke.texi (-finline-limit): Remove no longer true parts | |
4310 | of the documentation. Note that there is no default value. | |
4311 | ||
a18c20ec AP |
4312 | 2008-02-01 Andrew Pinski <pinskia@gmail.com> |
4313 | Mark Mitchell <mark@codesourcery.com> | |
4314 | Ben Elliston <bje@au.ibm.com> | |
4315 | ||
4316 | PR c/29326 | |
4317 | * doc/extend.texi (Other Builtins): Document. | |
4318 | ||
dc9a511d TB |
4319 | 2008-01-31 Tom Browder <tom.browder@gmail.com> |
4320 | ||
4321 | * doc/c-tree.texi (Types): Fix grammar. | |
4322 | (Expression trees): Ditto. | |
4323 | * doc/passes.texi (Tree-SSA passes): Ditto. | |
4324 | ||
4325 | * doc/configterms.texi (Configure Terms): Fix typo. | |
4326 | * doc/cpp.texi (Common Predefined Macros): Ditto. | |
4327 | * doc/md.texi (Machine Constraints): Ditto. | |
4328 | ||
4329 | * doc/makefile.texi (Makefile): Add comma. | |
4330 | ||
5dc81ee9 TB |
4331 | 2008-01-31 Tom Browder <tom.browder@gmail.com> |
4332 | Gerald Pfeifer <gerald@pfeifer.com> | |
4333 | ||
4334 | * doc/sourcebuild.texi (Front End): Remove references to CVS | |
4335 | and CVSROOT/modules. | |
4336 | (Texinfo Manuals): Replace reference to CVS by one to SVN. | |
4337 | (Back End): Remove reference to CVS. | |
4338 | ||
5ca3d30c RS |
4339 | 2008-01-31 Richard Sandiford <rsandifo@nildram.co.uk> |
4340 | ||
4341 | PR target/34900 | |
4342 | * config/mips/mips.c (gen_load_const_gp): New function, taking a | |
4343 | comment from... | |
4344 | (mips16_gp_pseudo_reg): ...here. | |
4345 | * config/mips/mips.md (load_const_gp): Replace with... | |
4346 | (load_const_gp_<mode>): ...this :P-based insn. | |
4347 | ||
89fe7f1b MLI |
4348 | 2008-01-31 Manuel Lopez-Ibanez <manu@gcc.gnu.org> |
4349 | ||
4350 | * doc/invoke.texi (-ansi): Mention explicitly corresponding -std= | |
4351 | options. Minor fixes. | |
4352 | (-std): Move reference to standards closer to where language | |
4353 | standards are first mentioned. | |
4354 | ||
1f7f6676 RS |
4355 | 2008-01-31 Richard Sandiford <rsandifo@nildram.co.uk> |
4356 | ||
4357 | PR rtl-optimization/34995 | |
4358 | * reload.c (alternative_allows_const_pool_ref): Take an rtx | |
4359 | parameter and return a bool. If the rtx parameter is nonnull, | |
4360 | check that it satisfies an EXTRA_MEMORY_CONSTRAINT. | |
4361 | (find_reloads): Update call accordingly. Pass the new operand | |
4362 | if it needed no address reloads, otherwise pass null. | |
4363 | ||
2ae7b972 RH |
4364 | 2008-01-30 Richard Henderson <rth@redhat.com> |
4365 | ||
4366 | PR c/34993 | |
4367 | * tree.c (build_type_attribute_qual_variant): Skip TYPE_DOMAIN | |
4368 | for unbounded arrays. | |
4369 | ||
493f36a7 SR |
4370 | 2008-01-30 Silvius Rus <rus@google.com> |
4371 | ||
4372 | * config/i386/xmmintrin.h (_mm_prefetch): Add const to first arg. | |
4373 | ||
d6951cae JH |
4374 | 2008-01-30 Jan Hubicka <jh@suse.cz> |
4375 | ||
4376 | PR target/34982 | |
4377 | * i386.c (init_cumulative_args): Use real function declaration when | |
4378 | calling locally. | |
4379 | ||
f36a5a88 RS |
4380 | 2008-01-30 Richard Sandiford <rsandifo@nildram.co.uk> |
4381 | ||
4382 | PR rtl-optimization/34998 | |
4383 | * global.c (build_insn_chain): Treat non-subreg_lowpart | |
4384 | SUBREGs of pseudos as clobbering all the words covered by the | |
4385 | SUBREG, not just all the bytes. | |
4386 | * ra-conflict.c (clear_reg_in_live): Likewise. Take the | |
4387 | original df_ref rather than an extract parameter. | |
4388 | (global_conflicts): Update call accordingly. | |
4389 | ||
393c0058 AK |
4390 | 2008-01-30 Andreas Krebbel <krebbel1@de.ibm.com> |
4391 | ||
4392 | * config/s390/fixdfdi.h (__fixunstfdi, __fixtfdi): Rearrange | |
4393 | the overflow check to make it easier to read. | |
4394 | (__fixtfdi): Change the type of the ll member in union | |
4395 | long_double to UDItype_x. | |
4396 | ||
1033ffa8 JJ |
4397 | 2008-01-30 Jakub Jelinek <jakub@redhat.com> |
4398 | ||
2bafad93 JJ |
4399 | PR middle-end/34969 |
4400 | * cgraph.h (cgraph_update_edges_for_call_stmt): New prototype. | |
4401 | * cgraph.c (cgraph_update_edges_for_call_stmt): New function. | |
4402 | * tree-inline.c (fold_marked_statements): Call | |
4403 | cgraph_update_edges_for_call_stmt if folding a call statement. | |
4404 | * cgraphunit.c (verify_cgraph_node): Set cfun to this_cfun for | |
4405 | debug_generic_stmt calls, reset it back afterwards. | |
4406 | ||
1033ffa8 JJ |
4407 | PR c/35017 |
4408 | * c-decl.c (start_decl): Don't pedwarn about TREE_READONLY | |
4409 | static decls. | |
4410 | * c-typeck.c (build_external_ref): Don't pedwarn about | |
4411 | static vars in current function's scope. | |
4412 | ||
ed32d842 JM |
4413 | 2008-01-29 Joseph Myers <joseph@codesourcery.com> |
4414 | ||
4415 | * config.gcc (i[34567]86-*-nto-qnx*): Remove deprecation. | |
4416 | ||
ea429753 BF |
4417 | 2008-01-29 Bernhard Fischer <aldot@gcc.gnu.org> |
4418 | ||
4419 | PR c/35002 | |
4420 | * ipa-struct-reorg.c: Fix spelling. | |
4421 | * params.def: Ditto. | |
4422 | ||
4f5c64b8 RG |
4423 | 2008-01-29 Richard Guenther <rguenther@suse.de> |
4424 | ||
4425 | PR middle-end/35006 | |
4426 | * tree-inline.h (struct copy_body_data): Add remapping_type_depth | |
4427 | field. | |
4428 | * tree-inline.c (remap_type): Increment remapping_type_depth | |
4429 | around remapping types. | |
4430 | (copy_body_r): Only add referenced variables if they are referenced | |
4431 | from code, not types. | |
4432 | ||
7b3e2d46 DG |
4433 | 2008-01-29 Douglas Gregor <doug.gregor@gmail.com> |
4434 | ||
4435 | PR c++/34055 | |
4436 | PR c++/34103 | |
4437 | PR c++/34219 | |
4438 | PR c++/34606 | |
4439 | PR c++/34753 | |
4440 | PR c++/34754 | |
4441 | PR c++/34755 | |
4442 | PR c++/34919 | |
4443 | PR c++/34961 | |
4444 | * c-pretty-print.c (pp_c_type_qualifier_list): Don't try to print | |
4445 | qualifiers for an ERROR_MARK_NODE or a NULL_TREE. | |
4446 | ||
12720317 AH |
4447 | 2008-01-28 Andy Hutchinson <hutchinsonandy@netscape.net> |
4448 | ||
4449 | PR target/34412 | |
4450 | * config/avr/avr.c (expand_prologue): Use correct QI mode frame | |
4451 | pointer for tiny stack. | |
4452 | ||
b814cc0a BF |
4453 | 2008-01-28 Bernhard Fischer <aldot@gcc.gnu.org> |
4454 | ||
4455 | * doc/tree-ssa.texi: Add cindex PHI nodes and improve wording. | |
4456 | ||
f46ff798 BF |
4457 | 2008-01-28 Bernhard Fischer <aldot@gcc.gnu.org> |
4458 | ||
4459 | * config/vx-common.h: Fix typo in comment. | |
4460 | ||
e8b0eabc ILT |
4461 | 2008-01-28 Ian Lance Taylor <iant@google.com> |
4462 | ||
4463 | PR c++/34862 | |
4464 | PR c++/33407 | |
4465 | * tree-ssa-copyrename.c (copy_rename_partition_coalesce): Don't | |
4466 | coalesce pointers if they have different DECL_NO_TBAA_P values. | |
4467 | * tree-ssa-copy.c (may_propagate_copy): Don't propagate copies | |
4468 | between variables with different DECL_NO_TBAA_P values. | |
4469 | ||
2aa42e6e NF |
4470 | 2008-01-28 Nathan Froyd <froydnj@codesourcery.com> |
4471 | ||
4472 | PR 31535 | |
4473 | * config/rs6000/rs6000.c (small_data_operand): Vectors and floats | |
4474 | are not legitimate small data references on SPE targets. | |
4475 | ||
4e2e9e9b DD |
4476 | 2008-01-28 David Daney <ddaney@avtrex.com> |
4477 | ||
4478 | * doc/install.texi (mips-*-*): Recommend binutils 2.18. | |
4479 | ||
a26c7632 DD |
4480 | 2008-01-28 David Daney <ddaney@avtrex.com> |
4481 | ||
4482 | * doc/install.texi (--disable-libgcj-bc): Reword documentation. | |
4483 | ||
4f605349 JM |
4484 | 2008-01-27 Joseph Myers <joseph@codesourcery.com> |
4485 | ||
4486 | * config.gcc (strongarm*-*, ep9312*-*, xscale*-*, parisc*-*, | |
4487 | m680[012]0-*, *-*-beos*, *-*-kaos*, *-*-linux*aout*, | |
4488 | *-*-linux*libc1*, *-*-solaris2.[0-6], *-*-solaris2.[0-6].*, | |
4489 | *-*-sysv*, *-*-windiss*, alpha*-*-unicosmk*, cris-*-aout, | |
4490 | hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*, | |
4491 | i[34567]86-sequent-ptx4*, i[34567]86-*-nto-qnx*, | |
4492 | i[34567]86-*-sco3.2v5*, i[34567]86-*-uwin*, powerpc-*-chorusos*, | |
4493 | vax-*-bsd*, vax-*-ultrix*): Mark obsolete. | |
4494 | ||
9e148d6a BF |
4495 | 2008-01-27 Bernhard Fischer <aldot@gcc.gnu.org> |
4496 | ||
4497 | * basic-block.h (condjump_equiv_p): Fix comment. | |
4498 | ||
f749d3c6 BF |
4499 | 2008-01-27 Bernhard Fischer <aldot@gcc.gnu.org> |
4500 | ||
4501 | * tree-pretty-print.c (print_generic_decl, print_generic_stmt, | |
4502 | print_generic_stmt_indented): Fix comment. | |
4503 | ||
fed6d628 BF |
4504 | 2008-01-27 Bernhard Fischer <aldot@gcc.gnu.org> |
4505 | ||
4506 | * configure.ac (__stack_chk_fail): Add detecion for availability | |
4507 | of SSP in uClibc by checking if __UCLIBC_HAS_SSP__ is defined. | |
4508 | * configure: Regenerate. | |
4509 | ||
c01e4479 MK |
4510 | 2008-01-26 Maxim Kuvyrkov <maxim@codesourcery.com> |
4511 | ||
4512 | PR middle-end/34688 | |
4513 | * final.c (output_addr_const): Handle TRUNCATE. | |
4514 | ||
6e8c65f6 ZD |
4515 | 2008-01-26 Zdenek Dvorak <ook@ucw.cz> |
4516 | ||
4517 | PR target/34711 | |
4518 | * tree-ssa-loop-ivopts.c (comp_cost): New type. | |
4519 | (zero_cost, infinite_cost): New constants. | |
4520 | (struct cost_pair): Change type of cost to comp_cost. | |
4521 | (struct iv_ca): Change type of cand_use_cost and cost to comp_cost. | |
4522 | (new_cost, add_costs, sub_costs, compare_costs, infinite_cost_p): | |
4523 | New functions. | |
4524 | (set_use_iv_cost, force_expr_to_var_cost, force_var_cost, | |
4525 | split_address_cost, ptr_difference_cost, difference_cost, | |
4526 | get_computation_cost_at, get_computation_cost, | |
4527 | determine_use_iv_cost_generic, determine_use_iv_cost_address, | |
4528 | determine_use_iv_cost_condition, determine_use_iv_costs, | |
4529 | cheaper_cost_pair, iv_ca_recount_cost, iv_ca_set_no_cp, | |
4530 | iv_ca_set_cp, iv_ca_cost, iv_ca_new, iv_ca_dump, iv_ca_extend, | |
4531 | iv_ca_narrow, iv_ca_prune, try_improve_iv_set, find_optimal_iv_set): | |
4532 | Change type of cost to comp_cost. | |
4533 | (determine_iv_cost): Increase cost of non-original ivs, instead | |
4534 | of decreasing the cost of original ones. | |
4535 | (get_address_cost): Indicate the complexity of the addressing mode | |
4536 | in comp_cost. | |
4537 | (try_add_cand_for): Prefer using ivs not specific to some object. | |
4538 | * tree-flow.h (force_expr_to_var_cost): Declaration removed. | |
4539 | ||
c01e4479 | 4540 | 2008-01-26 Peter Bergner <bergner@vnet.ibm.com> |
e41b2a33 PB |
4541 | Janis Johnson <janis187@us.ibm.com> |
4542 | ||
4543 | PR target/34814 | |
4544 | * doc/tm.texi (TARGET_EXPAND_TO_RTL_HOOK): Document. | |
4545 | (TARGET_INSTANTIATE_DECLS): Likewise. | |
4546 | * target.h (expand_to_rtl_hook): New target hook. | |
4547 | (instantiate_decls): Likewise. | |
4548 | * function.c (instantiate_decl): Make non-static. Rename to... | |
4549 | (instantiate_decl_rtl): ... this. | |
4550 | (instantiate_expr): Use instantiate_decl_rtl. | |
4551 | (instantiate_decls_1): Likewise. | |
4552 | (instantiate_decls): Likewise. | |
4553 | (instantiate_virtual_regs: Call new instantiate_decls taget hook. | |
4554 | * function.h (instantiate_decl_rtl): Add prototype. | |
4555 | * cfgexpand.c (target.h): New include. | |
4556 | (tree_expand_cfg): Call new expand_to_rtl_hook target hook. | |
4557 | * target-def.h (TARGET_EXPAND_TO_RTL_HOOK): New define. | |
4558 | (TARGET_INSTANTIATE_DECLS): Likewise. | |
4559 | (TARGET_INITIALIZER): New target hooks added. | |
4560 | * config/rs6000/rs6000-protos.h (rs6000_secondary_memory_needed_rtx): | |
4561 | New prototype. | |
4562 | * config/rs6000/rs6000.c (tree-flow.h): New include. | |
4563 | (machine_function): Add sdmode_stack_slot field. | |
4564 | (rs6000_alloc_sdmode_stack_slot): New function. | |
4565 | (rs6000_instantiate_decls): Likewise. | |
4566 | (rs6000_secondary_memory_needed_rtx): Likewise. | |
4567 | (rs6000_check_sdmode): Likewise. | |
4568 | (TARGET_EXPAND_TO_RTL_HOOK): Target macro defined. | |
4569 | (TARGET_INSTANTIATE_DECLS): Likewise. | |
4570 | (rs6000_hard_regno_mode_ok): Allow SDmode. | |
4571 | (num_insns_constant): Likewise. Handle _Decimal32 constants. | |
4572 | (rs6000_emit_move): Handle SDmode. | |
4573 | (function_arg_advance): Likewise. | |
4574 | (function_arg): Likewise. | |
4575 | (rs6000_gimplify_va_arg): Likewise. Add special handling of | |
4576 | SDmode var args for 32-bit compiles. | |
4577 | (rs6000_secondary_reload_class): Handle SDmode. | |
4578 | (rs6000_output_function_epilogue): Likewise. | |
4579 | (rs6000_function_value): Simplify if statement. | |
4580 | (rs6000_libcall_value): Likewise. | |
4581 | * config/rs6000/rs6000.h (SLOW_UNALIGNED_ACCESS): Handle SDmode. | |
4582 | (SECONDARY_MEMORY_NEEDED_RTX): Add define. | |
4583 | * config/rs6000/dfp.md (movsd): New define_expand and splitter. | |
4584 | (movsd_hardfloat): New define_insn. | |
4585 | (movsd_softfloat): Likewise. | |
4586 | (movsd_store): Likewise. | |
4587 | (movsd_load): Likewise. | |
4588 | (extendsddd2): Likewise. | |
4589 | (extendsdtd2): Likewise. | |
4590 | (truncddsd2): Likewise. | |
4591 | (movdd_hardfloat64): Fixup comment. | |
4592 | (UNSPEC_MOVSD_LOAD): New constant. | |
4593 | (UNSPEC_MOVSD_STORE): Likewise. | |
4594 | ||
6f536f74 JJ |
4595 | 2008-01-26 Jakub Jelinek <jakub@redhat.com> |
4596 | ||
4597 | PR c++/34965 | |
4598 | * c-pretty-print.c (pp_c_exclusive_or_expression): Handle | |
4599 | TRUTH_XOR_EXPR. | |
4600 | (pp_c_logical_and_expression): Handle TRUTH_AND_EXPR. | |
4601 | (pp_c_logical_or_expression): Handle TRUTH_OR_EXPR. | |
4602 | (pp_c_expression): Handle TRUTH_AND_EXPR, TRUTH_OR_EXPR | |
4603 | and TRUTH_XOR_EXPR. | |
4604 | ||
ba6a1b78 DE |
4605 | 2008-01-26 David Edelsohn <edelsohn@gnu.org> |
4606 | ||
4607 | PR target/34794 | |
4608 | * config.gcc: Separate AIX 5.3 from AIX 6.1. | |
4609 | * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Define | |
4610 | __LONGDOUBLE128 too. | |
4611 | * config/rs6000/aix61.h: New file. | |
4612 | ||
1230d7f8 RS |
4613 | 2008-01-26 Richard Sandiford <rsandifo@nildram.co.uk> |
4614 | ||
4615 | PR rtl-optimization/34959 | |
4616 | * optabs.c (expand_unop): In libcall notes, give ffs, clz, ctz, | |
4617 | popcount and parity rtxes the same mode as their operand. | |
4618 | Truncate or extend the result to the return value's mode | |
4619 | if necessary. | |
4620 | ||
dbc90b65 RS |
4621 | 2008-01-26 Richard Sandiford <rsandifo@nildram.co.uk> |
4622 | ||
4623 | PR target/34981 | |
4624 | * config/mips/mips-protos.h (mips_expand_call): Return an rtx. | |
4625 | * config/mips/mips.h (FIRST_PSEUDO_REGISTER): Rename FAKE_CALL_REGNO | |
4626 | to GOT_VERSION_REGNUM. | |
4627 | (CALL_REALLY_USED_REGISTERS): Set the GOT_VERSION_REGNUM entry to 0. | |
4628 | (EPILOGUE_USES): Include GOT_VERSION_REGNUM if TARGET_USE_GOT. | |
4629 | * config/mips/mips.c (mips_emit_call_insn): New function. | |
4630 | (mips_call_tls_get_addr): Call mips_expand_call directly. | |
4631 | (mips16_copy_fpr_return_value): Use mips_emit_call_insn rather than | |
4632 | emit_call_insn. | |
4633 | (mips16_build_call_stub): Likewise. Return the call insn or null. | |
4634 | (mips_expand_call): Update the call to mips16_build_call_stub | |
4635 | accordingly and a remove redundant condition. Assert that MIPS16 | |
4636 | stubs do not use lazy binding. Use mips_emit_call_insn and return | |
4637 | the call insn. | |
4638 | (mips_extra_live_on_entry): Include GOT_VERSION_REGNUM if | |
4639 | TARGET_USE_GOT. | |
4640 | (mips_hard_regno_mode_ok_p): Allow SImode for GOT_VERSION_REGNUM. | |
4641 | (mips_avoid_hazard): Remove hazard_set handling. | |
4642 | * config/mips/mips.md (UNSPEC_EH_RECEIVER): Rename to... | |
4643 | (UNSPEC_RESTORE_GP): ...this. | |
4644 | (UNSPEC_SET_GOT_VERSION, UNSPEC_UPDATE_GOT_VERSION): New constants. | |
4645 | (FAKE_CALL_REGNO): Rename to... | |
4646 | (GOT_VERSION_REGNUM): ...this. | |
4647 | (type): Add "ghost" value. Add an associated insn reservation. | |
4648 | (hazard_set): Remove. | |
4649 | (exception_receiver): Rename to... | |
4650 | (restore_gp): ...this and update the unspec identifier accordingly. | |
4651 | (exception_receiver, nonlocal_got_receiver): New expanders. | |
4652 | (load_call<mode>): Use GOT_VERSION_REGNUM. Don't set | |
4653 | FAKE_CALL_REGNO. Remove hazard_set attribute. | |
4654 | (set_got_version, update_got_version): New patterns. | |
4655 | ||
763a27ee DS |
4656 | 2008-01-26 Danny Smith <dannysmith@users.sourceforge.net> |
4657 | ||
4658 | PR target/34970 | |
4659 | * config/i386/cygming.h (ASM_OUTPUT_LABELREF): Define. | |
4660 | ||
3725c0ca JM |
4661 | 2008-01-25 Joseph Myers <joseph@codesourcery.com> |
4662 | ||
4663 | PR other/31955 | |
4664 | * doc/install.texi2html: Generate gcc-vers.texi. | |
4665 | ||
0288980f DD |
4666 | 2008-01-25 DJ Delorie <dj@redhat.com> |
4667 | ||
4668 | * config/m32c/m32c.h (ASM_PREFERRED_EH_DATA_FORMAT): Define. | |
4669 | ||
8d8da227 JM |
4670 | 2008-01-25 Joseph Myers <joseph@codesourcery.com> |
4671 | ||
4672 | * config/c4x: Remove directory. | |
4673 | * config.gcc (crx-*, mt-*): Mark obsolete. | |
4674 | (c4x-*, tic4x-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*, tic4x-*, | |
4675 | h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*, | |
4676 | sh-*-rtemscoff*): Remove cases. | |
4677 | * defaults.h (C4X_FLOAT_FORMAT): Remove. | |
4678 | * real.c (encode_c4x_single, decode_c4x_single, | |
4679 | encode_c4x_extended, decode_c4x_extended, c4x_single_format, | |
4680 | c4x_extended_format): Remove. | |
4681 | * real.h (c4x_single_format, c4x_extended_format): Remove. | |
4682 | * doc/extend.texi (interrupt, naked): Remove mention of attributes | |
4683 | on C4x. | |
4684 | (Pragmas): Remove comment about c4x pragmas. | |
4685 | * doc/install.texi (c4x): Remove target-specific instructions. | |
4686 | * doc/invoke.texi (TMS320C3x/C4x Options): Remove. | |
4687 | * doc/md.texi (Machine Constraints): Remove C4x documentation. | |
4688 | * doc/tm.texi (MEMBER_TYPE_FORCES_BLK, c_register_pragma): Do not | |
4689 | refer to C4x source files as examples. | |
4690 | (C4X_FLOAT_FORMAT): Remove documentation. | |
4691 | ||
fb7c3b05 BS |
4692 | 2008-01-25 Bernd Schmidt <bernd.schmidt@analog.com> |
4693 | ||
4694 | * config/bfin/bfin.c (override_options): Reorder tests so that | |
4695 | flag_pic gets enabled for -msep-data. | |
4696 | ||
dd3b33d7 RG |
4697 | 2008-01-25 Richard Guenther <rguenther@suse.de> |
4698 | ||
4699 | PR middle-end/32244 | |
4700 | * expr.c (expand_expr_real_1): Reduce result of LSHIFT_EXPR | |
4701 | to its bitfield precision if required. | |
4702 | ||
c256730c JJ |
4703 | 2008-01-25 Jakub Jelinek <jakub@redhat.com> |
4704 | ||
4705 | PR middle-end/33880 | |
4706 | * tree-nested.c (walk_omp_for): New function. | |
4707 | (convert_nonlocal_reference, convert_local_reference): Call | |
4708 | walk_omp_for on OMP_FOR. | |
4709 | (convert_call_expr): Call walk_body on OMP_FOR's | |
4710 | OMP_FOR_PRE_INIT_BODY. | |
4711 | ||
59805c3b RG |
4712 | 2008-01-25 Richard Guenther <rguenther@suse.de> |
4713 | ||
4714 | PR tree-optimization/34966 | |
4715 | * tree-ssa-math-opts.c (execute_cse_sincos_1): For all but | |
4716 | default defs and PHI_NODEs we have to insert after the | |
4717 | defining statement. | |
4718 | ||
f84fe9b6 NC |
4719 | 2008-01-24 Nick Clifton <nickc@redhat.com> |
4720 | ||
4721 | * config/stormy16/stormy16-lib2.c (MIN_UNITS_PER_WORD): | |
4722 | Provide a default definition. | |
4723 | (LIBGCC2_UNITS_PER_WORD): Likewise. | |
4724 | ||
4725 | * config/stormy16/stormy16.c: Include df.h for the prototype | |
4726 | for df_regs_ever_live_p. | |
4727 | (xstormy16_expand_builtin_va_start): Convert the stack offset | |
4728 | into a component_ref and then use POINTER_PLUS_EXPR to add it | |
4729 | to the incoming_virtual_args_rtx. | |
4730 | (xstormy16_gimplify_va_arg_expr): Rename to | |
4731 | xstormy16_gimplify_va_arg_expr. | |
4732 | Use POINTER_PLUS_EXPR when performing pointer arithmetic. | |
4733 | (TARGET_GIMPLIFY_VA_ARG_EXPR): Use renamed | |
4734 | xstormy16_gimplify_va_arg_expr. | |
4735 | Fix up some formatting issues. | |
4736 | ||
4737 | * config/stormy16/stormy16.c: (xstormy16_carry_plus_operand): | |
4738 | Move to predicates.md. | |
4739 | (xs_hi_general_operand): Likewise. | |
4740 | (xs_hi_nonmemory_operand): Likewise. | |
4741 | * config/stormy16/predicates.md: | |
4742 | (xstormy16_carry_plus_operand): New predicate. | |
4743 | (xs_hi_general_operand): New predicate. | |
4744 | (xs_hi_nonmemory_operand): New predicate. | |
4745 | * config/stormy16/stormy16-protos.h: | |
4746 | (xstormy16_carry_plus_operand): Delete prototype. | |
4747 | (xs_hi_general_operand): Likewise. | |
4748 | (xs_hi_nonmemory_operand): Likewise. | |
4749 | ||
4750 | * config/storm16/stormy16.md (addhi3): Remove earlyclobber | |
4751 | modifiers as they are no longer needed and they can trigger | |
4752 | reload spill failures. | |
4753 | ||
4754 | * config/storm16/stormy16.md (ineqbranchsi): Replace match_dup | |
4755 | with a match_operand in order to help reload. | |
4756 | ||
4757 | * config/storm16/stormy16.md (movhi_internal): Replace 'r' | |
4758 | constraint with 'e' for the 8th alternative as this version of | |
4759 | the mov.w instruction only accepts the lower 8 registers. | |
4760 | ||
d1f0728e UB |
4761 | 2008-01-25 Uros Bizjak <ubizjak@gmail.com> |
4762 | ||
4763 | PR target/34856 | |
4764 | * simplifx-rtx.c (simplify_const_binary_operation) [VEC_CONCAT]: | |
4765 | Consider only CONST_INT, CONST_DOUBLE and CONST_FIXED as constant | |
4766 | vector elements. | |
4767 | ||
80e67011 JJ |
4768 | 2008-01-25 Jakub Jelinek <jakub@redhat.com> |
4769 | ||
4770 | PR middle-end/33333 | |
4771 | * gimplify.c (gimplify_omp_for): Gimplify OMP_FOR_PRE_BODY. | |
4772 | ||
1525f2c3 GO |
4773 | 2008-01-25 Golovanevsky Olga <olga@il.ibm.com> |
4774 | ||
4775 | * ipa-struct-reorg.c (remove_str_allocs_in_func, remove_str_allocs): | |
4776 | New functions. | |
4777 | (remove_structure): Update allocations list before removing structure. | |
4778 | ||
bd91d743 OG |
4779 | 2008-01-25 Golovanevsky Olga <olga@il.ibm.com> |
4780 | ||
4781 | * ipa-struct-reorg.c (is_safe_cond_expr, | |
4782 | create_new_stmts_for_cond_expr): Use integer_zerop function, | |
4783 | that recognize not only zero-pointer, but zero-integer too. | |
4784 | ||
ae7a8ebc BE |
4785 | 2008-01-25 Ben Elliston <bje@au.ibm.com> |
4786 | ||
4787 | PR other/22232 | |
4788 | * fixproto: Escape "." in sed expression that strips leading "./". | |
4789 | ||
3371362c L |
4790 | 2008-01-24 H.J. Lu <hongjiu.lu@intel.com> |
4791 | ||
4792 | PR driver/34904 | |
4793 | * gcc.c (SWITCH_OK): Removed. | |
4794 | (SWITCH_LIVE): Changed to bit. | |
4795 | (SWITCH_FALSE): Likewise. | |
4796 | (SWITCH_IGNORE): Likewise. | |
4797 | (switchstr): Change live_cond to unsigned int. | |
4798 | (process_command): Replace SWITCH_OK with 0. | |
4799 | (do_self_spec): Likewise. | |
4800 | (set_collect_gcc_options): Check the SWITCH_IGNORE bit. | |
4801 | (give_switch): Likewise. | |
4802 | (used_arg): Likewise. | |
4803 | (do_spec_1): Set the SWITCH_IGNORE bit. | |
4804 | (check_live_switch): Check both SWITCH_LIVE and SWITCH_FALSE | |
4805 | bits. Set the SWITCH_LIVE bit. | |
4806 | ||
5f1b2ee6 AK |
4807 | 2008-01-24 Andreas Krebbel <krebbel1@de.ibm.com> |
4808 | ||
4809 | * config/s390/s390.h (MOVE_RATIO): Define new target macro. | |
4810 | ||
986d97ed RS |
4811 | 2008-01-24 Richard Sandiford <rsandifo@nildram.co.uk> |
4812 | ||
4813 | PR tree-optimization/34472 | |
4814 | * ipa-struct-reorg.c (safe_cond_expr_check): Change the DATA | |
4815 | parameter to a "bool *" and set *DATA to false if there is | |
4816 | an unsafe access. Do not delete the structure here. | |
4817 | (check_cond_exprs): Delete it here instead. | |
4818 | (check_cond_exprs, exclude_cold_structs): Do not increase | |
4819 | I when removing a structure. | |
4820 | ||
fcc44808 UB |
4821 | 2008-01-24 Uros Bizjak <ubizjak@gmail.com> |
4822 | ||
4823 | PR target/34856 | |
4824 | * config/i386/i386.c (ix86_expand_vector_init): Consider only | |
4825 | CONST_INT, CONST_DOUBLE and CONST_FIXED as constant vector elements. | |
4826 | ||
134c2de3 JJ |
4827 | 2008-01-24 Jakub Jakub Jelinek <jakub@redhat.com> |
4828 | ||
4829 | PR middle-end/34934 | |
4830 | * tree-stdarg.c (reachable_at_most_once): Use VEC vector instead of | |
4831 | a fixed vector for stack. | |
4832 | ||
89bf8683 BE |
4833 | 2008-01-24 Ben Elliston <bje@au.ibm.com> |
4834 | ||
4835 | PR c++/25701 | |
4836 | * doc/gcc.texi (Software development): Add a direntry for g++. | |
4837 | ||
02a4bca9 HPN |
4838 | 2008-01-23 Hans-Peter Nilsson <hp@axis.com> |
4839 | ||
6c660aeb HPN |
4840 | * config/cris/cris.h (CC1PLUS_SPEC, OPTIMIZATION_OPTIONS): Drop |
4841 | stale and straggling -fforce-addr comments above. | |
4842 | ||
02a4bca9 HPN |
4843 | * config/cris/cris.h (CRIS_SUBTARGET_VERSION, TARGET_VERSION): Don't |
4844 | define. | |
4845 | * config/cris/linux.h (CRIS_SUBTARGET_VERSION): Don't define. | |
4846 | * config/cris/aout.h (CRIS_SUBTARGET_VERSION): Don't define. | |
4847 | ||
b4da9f9d MM |
4848 | 2008-01-23 Michael Matz <matz@suse.de> |
4849 | ||
4850 | PR debug/34895 | |
4851 | * dwarf2out.c (force_type_die): Use modified_type_die instead of | |
4852 | gen_type_die. | |
4853 | ||
1b7af7b0 AK |
4854 | 2008-01-23 Andreas Krebbel <krebbel1@de.ibm.com> |
4855 | ||
4856 | * ipa-struct-reorg.c (create_new_malloc): Use pointer type as | |
4857 | malloc result type. | |
4858 | ||
19298da4 AS |
4859 | 2008-01-23 Anatoly Sokolov <aesok@post.ru> |
4860 | ||
4861 | * config/avr/avr.c (avr_current_arch): New variable. | |
4862 | (avr_arch_types): Add 'avr31' and 'avr51' entries. | |
4863 | (avr_arch): Add 'ARCH_AVR31' and 'ARCH_AVR51'. | |
4864 | (avr_mcu_types): Add 'avr31' and 'avr51' architectures. | |
4865 | (avr_override_options): Init 'avr_current_arch'. | |
4866 | (base_arch_s): Move from here... | |
4867 | * config/avr/avr.h (base_arch_s): ... here. Add new members | |
4868 | 'have_elpm', 'have_elpmx', 'have_eijmp_eicall', 'reserved'. Rename | |
4869 | 'mega' to 'have_jmp_call'. | |
4870 | (TARGET_CPU_CPP_BUILTINS): Define "__AVR_HAVE_JMP_CALL__", | |
4871 | "__AVR_HAVE_RAMPZ__", "__AVR_HAVE_ELPM__" and "__AVR_HAVE_ELPMX__" | |
4872 | macros. | |
4873 | (LINK_SPEC, CRT_BINUTILS_SPECS, ASM_SPEC): Add 'avr31' and 'avr51' | |
4874 | architectures. | |
4875 | * config/avr/t-avr (MULTILIB_OPTIONS, MULTILIB_DIRNAMES, | |
4876 | MULTILIB_MATCHES): (Ditto.). | |
4877 | ||
b86b3ea3 RG |
4878 | 2008-01-23 Richard Guenther <rguenther@suse.de> |
4879 | ||
4880 | PR middle-end/31529 | |
4881 | * cgraphunit.c (cgraph_reset_node): Always mark the node | |
4882 | not reachable if it is not queued already. | |
4883 | ||
fa8d4a0f BS |
4884 | 2008-01-23 Bernd Schmidt <bernd.schmidt@analog.com> |
4885 | ||
4886 | * config/bfin/bfin-protos.h (WA_RETS, ENABLE_WA_RETS): New macros. | |
4887 | * config/bfin/bfin.c (bfin_cpus): Add WA_RETS everywhere. | |
4888 | (cputype_selected): New static variable. | |
4889 | (bfin_handle_option): Set it if -mcpu is used. | |
4890 | (override_option): Select default set of workarounds if no cpu type | |
4891 | selected on the command line. | |
4892 | (workaround_rts_anomaly): Only run if ENABLE_WA_RETS. | |
64882649 BS |
4893 | |
4894 | From Michael Frysinger <michael.frysinger@analog.com> | |
4895 | * config/bfin/bfin-protos.h (enum bfin_cpu_type): Add | |
4896 | BFIN_CPU_BF547, BFIN_CPU_BF523, BFIN_CPU_BF524, and BFIN_CPU_BF526. | |
4897 | ||
4898 | * config/bfin/elf.h (LIB_SPEC): Use proper linker script | |
4899 | for bf547, bf523, bf524, and bf526. | |
4900 | * config/bfin/bfin.c (bfin_cpus[]): Add bf547, bf523, bf524, and | |
4901 | bf526. | |
4902 | * config/bfin/bfin.h (TARGET_CPU_CPP_BUILTINS): Define | |
4903 | __ADSPBF523__ for bf523, __ADSPBF524__ for bf524, | |
4904 | __ADSPBF526__ for bf526, __ADSPBF52x__ for all three, as well as | |
4905 | __ADSPBF547__ and __ADSPBF54x__ for bf547. | |
4906 | * doc/invoke.texi (Blackfin Options): Document that | |
4907 | -mcpu now accept bf547, bf523, bf524, and bf526. | |
4908 | ||
df1a98ae EB |
4909 | 2008-01-22 Eric Botcazou <ebotcazou@adacore.com> |
4910 | ||
4911 | PR rtl-optimization/34628 | |
4912 | * combine.c (try_combine): Stop and undo after the first combination | |
4913 | if an autoincrement side-effect on the first insn has effectively | |
4914 | been lost. | |
4915 | ||
1a23970d DE |
4916 | 2008-01-22 David Edelsohn <edelsohn@gnu.org> |
4917 | ||
4918 | PR target/34529 | |
4919 | * config/rs6000/rs6000.c (rs6000_legitimate_offset_address_p): | |
4920 | Offset addresses are not valid for Altivec or paired float modes. | |
4921 | ||
42a89d2d JJ |
4922 | 2008-01-22 Jakub Jelinek <jakub@redhat.com> |
4923 | ||
61c3a446 JJ |
4924 | PR c++/34607 |
4925 | * c-parser.c (c_parser_omp_for_loop): Don't call c_finish_omp_for | |
4926 | if DECL_INITIAL (decl) is error_mark_node. | |
4927 | ||
270e749d JJ |
4928 | PR c++/34914 |
4929 | * c-common.c (handle_vector_size_attribute): Only allow | |
4930 | integral, scalar float and fixed point types. Handle OFFSET_TYPE | |
4931 | the same way as pointer, array etc. types. | |
4932 | * tree.c (reconstruct_complex_type): Handle OFFSET_TYPE. | |
4933 | ||
42a89d2d JJ |
4934 | PR c++/34917 |
4935 | * tree.c (build_type_attribute_qual_variant): Call | |
4936 | build_qualified_type if attributes are equal, but quals are not. | |
4937 | ||
027b740e MLI |
4938 | 2008-01-22 Manuel Lopez-Ibanez <manu@gcc.gnu.org> |
4939 | ||
4940 | PR 32102 | |
4941 | * doc/invoke.texi (-Wall): -Wall enables -Wstrict-overflow=1. | |
4942 | * flags.h (warn_strict_aliasing): Remove. | |
4943 | (warn_strict_overflow): Remove. | |
4944 | * opts.c (warn_strict_aliasing): Remove. | |
4945 | (warn_strict_overflow): Remove. | |
4946 | * c-opts.c (c_common_handle_option): -Wall only sets | |
4947 | -Wstrict-aliasing or -Wstrict-overflow if they are uninitialized. | |
4948 | (c_common_post_options): Give default values to -Wstrict-aliasing | |
4949 | and -Wstrict-overflow if they are uninitialized. | |
4950 | * common.opt (Wstrict-aliasing): Specify Var and Init. | |
4951 | (Wstrict-overflow): Likewise. | |
4952 | ||
963acd6f KZ |
4953 | 2008-01-22 Kenneth Zadeck <zadeck@naturalbridge.com> |
4954 | ||
4955 | PR rtl-optimization/26854 | |
4956 | PR rtl-optimization/34400 | |
4957 | PR rtl-optimization/34884 | |
4958 | * ddg.c (create_ddg_dep_from_intra_loop_link): Use | |
4959 | DF_RD->gen. | |
4960 | * df.h (df_changeable_flags.DF_RD_NO_TRIM): Deleted | |
4961 | (df_rd_bb_info.expanded_lr_out): Deleted | |
4962 | * loop_invariant.c (find_defs): Deleted DF_RD_NO_TRIM flag. | |
4963 | * loop_iv.c (iv_analysis_loop_init): Ditto. * df-problems.c | |
4964 | (df_rd_free_bb_info, df_rd_alloc, df_rd_confluence_n, | |
4965 | df_rd_bb_local_compute, df_rd_transfer_function, df_rd_free): | |
4966 | Removed code to allocate, initialize or free expanded_lr_out. | |
4967 | (df_rd_bb_local_compute_process_def): Restructured to make more | |
4968 | understandable. | |
4969 | (df_rd_confluence_n): Removed code to no apply invalidate_by_call | |
4970 | sets if the sets are being trimmed. | |
4971 | ||
115e6e55 L |
4972 | 2008-01-22 H.J. Lu <hongjiu.lu@intel.com> |
4973 | ||
4974 | PR bootstrap/32287 | |
4975 | * configure.ac (ld_vers): Support GNU linker version xx.xx.* | |
4976 | (as_vers): Likewise. | |
4977 | * configure: Regenerated. | |
4978 | ||
f9d02384 MLI |
4979 | 2008-01-22 Manuel Lopez-Ibanez <manu@gcc.gnu.org> |
4980 | ||
4981 | PR middle-end/33092 | |
4982 | * tree-pass.h (pass_build_alias): New pass. | |
4983 | * tree-ssa-alias.c (gate_build_alias): New. | |
4984 | (pass_build_alias): New. | |
4985 | * passes.c (init_optimization_passes): Add pass_build_alias after | |
4986 | pass_create_structure_vars. | |
4987 | ||
0387c142 WG |
4988 | 2008-01-22 Wolfgang Gellerich <gellerich@de.ibm.com> |
4989 | ||
4990 | * config/s390/s390.h (S390_TDC_POSITIVE_NORMALIZED_NUMBER): | |
4991 | Renamed to S390_TDC_POSITIVE_NORMALIZED_BFP_NUMBER. | |
4992 | (S390_TDC_NEGATIVE_NORMALIZED_NUMBER): Renamed to | |
4993 | S390_TDC_NEGATIVE_NORMALIZED_BFP_NUMBER. | |
4994 | (S390_TDC_POSITIVE_DENORMALIZED_NUMBER): Renamed to | |
4995 | S390_TDC_POSITIVE_DENORMALIZED_BFP_NUMBER. | |
4996 | (S390_TDC_NEGATIVE_DENORMALIZED_NUMBER): Renamed to | |
4997 | S390_TDC_NEGATIVE_DENORMALIZED_BFP_NUMBER. | |
4998 | (S390_TDC_POSITIVE_NORMALIZED_BFP_NUMBER): New constant. | |
4999 | (S390_TDC_NEGATIVE_NORMALIZED_BFP_NUMBER): New constant. | |
5000 | (S390_TDC_POSITIVE_DENORMALIZED_BFP_NUMBER): New constant. | |
5001 | (S390_TDC_NEGATIVE_DENORMALIZED_BFP_NUMBER): New constant. | |
5002 | * config/s390/s390.md (FP_ALL): New mode iterator. | |
5003 | (_d): New mode attribute. | |
5004 | ("*signbit<mode>2>"): Changed mode of first operand. | |
5005 | ("isinf<mode>2"): Changed mode of first operand. | |
5006 | ("*TDC_insn"): Adaptation for DFP modes. | |
5007 | ||
1d4f5374 BE |
5008 | 2008-01-22 Ben Elliston <bje@au.ibm.com> |
5009 | ||
5010 | * tree.c (check_qualified_type): Improve function description. | |
5011 | ||
33b45227 JM |
5012 | 2008-01-21 Jason Merrill <jason@redhat.com> |
5013 | ||
5014 | PR c++/34196 | |
5015 | * tree.h (TRY_CATCH_IS_CLEANUP): New macro. | |
5016 | * tree-eh.c (honor_protect_cleanup_actions): Strip TRY_CATCH_EXPR | |
5017 | if it is set. | |
5018 | ||
79e168da DD |
5019 | 2008-01-21 DJ Delorie <dj@redhat.com> |
5020 | ||
5021 | * doc/tm.texi (HARD_REGNO_NREGS): Note that this macro must not | |
5022 | return zero. | |
5023 | ||
bb0c55f6 RG |
5024 | 2008-01-21 Richard Guenther <rguenther@suse.de> |
5025 | ||
5026 | PR middle-end/34856 | |
5027 | * tree-cfg.c (verify_expr): Allow all invariant expressions | |
5028 | instead of just constant class ones as reference argument. | |
5029 | * tree-ssa-loop-im.c (for_each_index): Handle CONSTRUCTOR | |
5030 | like any other constant. | |
5031 | * tree-ssa-sccvn.c (copy_reference_ops_from_ref): Likewise. | |
5032 | ||
94c54fea L |
5033 | 2008-01-21 H.J. Lu <hongjiu.lu@intel.com> |
5034 | ||
5035 | * regmove.c (fixup_match_1): Update call crossed frequencies. | |
5036 | ||
c54e3854 RG |
5037 | 2008-01-21 Richard Guenther <rguenther@suse.de> |
5038 | ||
5039 | PR c/34885 | |
5040 | * tree-inline.c (setup_one_parameter): Deal with mismatched | |
5041 | types using a VIEW_CONVERT_EXPR. | |
5042 | ||
b158b5c6 AD |
5043 | 2008-01-21 Alon Dayan <alond@il.ibm.com> |
5044 | Olga Golovanevsky <olga@il.ibm.com> | |
5045 | ||
5046 | PR tree-optimization/34701 | |
5047 | * ipa-struct-reorg.c (gen_size): Fix the malloc parameter calculation | |
5048 | when the structure size is not a power of 2. | |
5049 | ||
604f825c KZ |
5050 | 2008-01-20 Kenneth Zadeck <zadeck@naturalbridge.com> |
5051 | ||
5052 | * doc/install.texi: Add doc for --enable-checking=df. | |
5053 | ||
539c54ba KK |
5054 | 2008-01-20 Kaz Kojima <kkojima@gcc.gnu.org> |
5055 | ||
5056 | PR rtl-optimization/34808 | |
5057 | * emit-rtl.c (try_split): Handle REG_RETVAL notes. | |
5058 | ||
ecff8c1c RS |
5059 | 2008-01-20 Richard Sandiford <rsandifo@nildram.co.uk> |
5060 | ||
5061 | * global.c (find_reg): Only compute EH_RETURN_DATA_REGNO once per | |
5062 | input. | |
5063 | ||
2b49e1a0 KZ |
5064 | 2008-01-19 Kenneth Zadeck <zadeck@naturalbridge.com> |
5065 | ||
5066 | PR rtl-optimization/26854 | |
5067 | PR rtl-optimization/34400 | |
5068 | * ddg.c (create_ddg_dep_from_intra_loop_link): Do not use | |
5069 | DF_RD->gen. | |
5070 | * df.h (df_changeable_flags.DF_RD_NO_TRIM): New. | |
5071 | (df_rd_bb_info.expanded_lr_out): New. | |
5072 | * loop_invariant.c (find_defs): Added DF_RD_NO_TRIM flag. | |
5073 | * loop_iv.c (iv_analysis_loop_init): Ditto. | |
5074 | * df-problems.c (df_rd_free_bb_info, df_rd_alloc, df_rd_confluence_n, | |
5075 | df_rd_bb_local_compute, df_rd_transfer_function, df_rd_free): | |
5076 | Added code to allocate, initialize or free expanded_lr_out. | |
5077 | (df_rd_bb_local_compute_process_def): Restructured to make | |
5078 | more understandable. | |
5079 | (df_rd_confluence_n): Add code to do nothing with fake edges and | |
5080 | code to no apply invalidate_by_call sets if the sets are being trimmed. | |
5081 | (df_lr_local_finalize): Renamed to df_lr_finalize. | |
5082 | (df_live_local_finalize): Renamed to df_live_finalize. | |
5083 | ||
0decaff6 RS |
5084 | 2008-01-20 Richard Sandiford <rsandifo@nildram.co.uk> |
5085 | ||
5086 | PR target/34831 | |
5087 | * config/mips/mips.md (div<mode>3): Use <recip_condition> when | |
5088 | deciding whether to use reciprocal instructions. | |
5089 | ||
d0b9dbd5 UB |
5090 | 2008-01-19 Uros Bizjak <ubizjak@gmail.com> |
5091 | ||
5092 | * dwarf2out.c (dwarf2out_switch_text_section): Do not call | |
5093 | dwarf2out_note_section_used if cold_text_section is NULL. | |
5094 | ||
135a171d JJ |
5095 | 2008-01-19 Jakub Jelinek <jakub@redhat.com> |
5096 | ||
5097 | PR gcov-profile/34610 | |
5098 | * tree-cfg.c (make_edges): Mark both outgoing edges from | |
5099 | OMP_CONTINUE and from OMP_FOR as EDGE_ABNORMAL. | |
5100 | * omp-low.c (expand_omp_for): Clear EDGE_ABNORMAL bits | |
5101 | from OMP_FOR and OMP_CONTINUE outgoing edges. | |
5102 | ||
5103 | * tree-profile.c (tree_profiling): Return early if | |
5104 | cfun->after_tree_profile != 0. Set cfun->after_tree_profile | |
5105 | at the end. | |
5106 | * omp-low.c (expand_omp_parallel): Copy after_tree_profile | |
5107 | from cfun to child_cfun. | |
5108 | * function.h (struct function): Add after_tree_profile bit. | |
5109 | ||
0a84fec6 AS |
5110 | 2008-01-19 Anatoly Sokolov <aesok@post.ru> |
5111 | ||
5112 | * config/avr/avr.S (_exit): Disable interrupt. | |
5113 | ||
5aa52064 KZ |
5114 | 2008-01-18 Kenneth Zadeck <zadeck@naturalbridge.com> |
5115 | Steven Bosscher <stevenb.gcc@gmail.com> | |
5116 | ||
5117 | PR rtl-optimization/26854 | |
5118 | PR rtl-optimization/34400 | |
5119 | * df-problems.c (df_live_scratch): New scratch bitmap. | |
5120 | (df_live_alloc): Allocate df_live_scratch when doing df_live. | |
5121 | (df_live_reset): Clear the proper bitmaps. | |
5122 | (df_live_bb_local_compute): Only process the artificial defs once | |
5123 | since the order is not important. | |
5124 | (df_live_init): Init the df_live sets only with the variables | |
5125 | found live by df_lr. | |
5126 | (df_live_transfer_function): Use the df_lr sets to prune the | |
5127 | df_live sets as they are being computed. | |
5128 | (df_live_free): Free df_live_scratch. | |
5129 | ||
28a08168 ILT |
5130 | 2008-01-18 Ian Lance Taylor <iant@google.com> |
5131 | ||
5132 | * common.opt: Add fmerge-debug-strings. | |
5133 | * dwarf2out.c (DEBUG_STR_SECTION_FLAGS): Test | |
5134 | flag_merge_debug_strings rather than flag_merge_constants. | |
5135 | * doc/invoke.texi (Option Summary): Mention | |
5136 | -fmerge-debug-strings. | |
5137 | (Debugging Options): Document -fmerge-debug-strings. | |
5138 | ||
1ea193c2 ILT |
5139 | 2008-01-18 Ian Lance Taylor <iant@google.com> |
5140 | ||
5141 | PR c++/33407 | |
5142 | * tree.h (DECL_IS_OPERATOR_NEW): Define. | |
5143 | (struct tree_function_decl): Add new field operator_new_flag. | |
5144 | * tree-inline.c (expand_call_inline): When inlining a call to | |
5145 | operator new, force the return value to go into a variable, and | |
5146 | set DECL_NO_TBAA_P on that variable. | |
5147 | * c-decl.c (merge_decls): Merge DECL_IS_OPERATOR_NEW flag. | |
5148 | ||
74ab34d3 UB |
5149 | 2008-01-18 Uros Bizjak <ubizjak@gmail.com> |
5150 | ||
5151 | PR debug/34484 | |
5152 | * dwarf2out.c (dwarf2out_switch_text_section): Do not guard with | |
5153 | DWARF2_DEBUGGING_INFO. | |
5154 | (dwarf2out_note_section_used): Ditto. Add prototype. | |
5155 | (have_multiple_function_sections, text_section_used, | |
5156 | cold_text_section_used, *cold_text_sections): Move declarations | |
5157 | before their uses. | |
5158 | ||
9a75e92d | 5159 | 2008-01-17 Bob Wilson <bob.wilson@acm.org> |
6c633d45 BW |
5160 | |
5161 | * config/xtensa/unwind-dw2-xtensa.h (_Unwind_FrameState): Remove pc | |
5162 | field and add signal_ra. | |
5163 | * config/xtensa/unwind-dw2-xtensa.c (uw_frame_state_for): Remove | |
5164 | assignments to frame state pc. Move end of stack check after | |
5165 | MD_FALLBACK_FRAME_STATE_FOR. | |
5166 | (uw_update_context_1): Use frame state signal_regs if set, instead | |
5167 | of checking signal_frame flag. | |
5168 | (uw_update_context): Use frame state signal_ra if set. | |
5169 | * config/xtensa/linux.h (MD_UNWIND_SUPPORT): Define. | |
5170 | * config/xtensa/linux-unwind.h: New file. | |
5171 | ||
9a75e92d | 5172 | 2008-01-18 Bernhard Fischer <aldot@gcc.gnu.org> |
4117d6f7 BF |
5173 | |
5174 | * modulo-sched.c (get_sched_window): Fix comment typo. | |
5175 | ||
fae25b37 AM |
5176 | 2008-01-17 Andrew MacLeod <amacleod@redhat.com> |
5177 | ||
5178 | PR tree-optimization/34648 | |
5179 | * tree-ssa-sccvn.c (visit_use): Expressions which can throw are varying. | |
5180 | ||
2e152e16 AS |
5181 | 2008-01-17 Anatoly Sokolov <aesok@post.ru> |
5182 | ||
5183 | * config/avr/avr.h (LINK_SPEC): Support -mrelax and -mpmem-wrap-around. | |
5184 | * config/avr/avr.opt (mrelax, mpmem-wrap-around): Add. | |
5185 | ||
185082a7 SP |
5186 | 2008-01-17 Seongbae Park <seongbae.park@gmail.com> |
5187 | ||
5188 | PR rtl-optimization/34400 | |
5189 | * df-core.c (df_worklist_dataflow_overeager, | |
5190 | df_worklist_dataflow_doublequeue): New functions. | |
5191 | (df_worklist_dataflow): Two different worklist solvers. | |
5192 | * params.def (PARAM_DF_DOUBLE_QUEUE_THRESHOLD_FACTOR): | |
5193 | New param. | |
5194 | ||
01a550c2 SP |
5195 | 2008-01-16 Sebastian Pop <sebastian.pop@amd.com> |
5196 | ||
5197 | PR testsuite/34821 | |
5198 | * doc/invoke.texi: Document the dependence on pthread for fopenmp | |
5199 | and ftree-parallelize-loops. | |
5200 | ||
80663107 MN |
5201 | 2008-01-17 Mircea Namolaru <namolaru@il.ibm.com> |
5202 | ||
5203 | PR rtl-optimization/34826 | |
5204 | * loop-doloop (doloop_modify): Update the REG_BR_PROB note. | |
5205 | ||
599824d2 AK |
5206 | 2008-01-17 Andreas Krebbel <krebbel1@de.ibm.com> |
5207 | ||
5208 | * global.c (find_reg): Mark the eh regs as used if necessary. | |
5209 | * ra-conflict.c (global_conflicts): Set no_eh_reg flag. | |
5210 | * ra.h (struct allocno): no_eh_reg field added. Changed | |
5211 | no_stack_reg type to bitfield. | |
5212 | ||
9328dd57 EB |
5213 | 2008-01-17 Eric Botcazou <ebotcazou@adacore.com> |
5214 | ||
5215 | * tree.c (substitute_in_expr): Add missing 'break'. | |
5216 | ||
8a5b57cd RG |
5217 | 2008-01-17 Richard Guenther <rguenther@suse.de> |
5218 | ||
5219 | PR tree-optimization/34825 | |
5220 | * tree-ssa-math-opts.c (is_division_by): Do not recognize | |
5221 | x / x as division to handle. | |
5222 | ||
e7ce29e7 JDA |
5223 | 2008-01-16 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
5224 | ||
5225 | * pa64-hpux.h (LIB_SPEC): Add "-lpthread" in shared links if "-mt" or | |
5226 | "-pthread" is specified. | |
5227 | * pa-hpux11.h (LIB_SPEC): Likewise. | |
5228 | ||
9a75e92d | 5229 | 2008-01-16 Janis Johnson <janis187@us.ibm.com> |
37b87a3a JJ |
5230 | Peter Bergner <bergner@vnet.ibm.com> |
5231 | ||
5232 | PR rtl-optimization/33796 | |
5233 | * sparseset.c (sparseset_alloc): Use xcalloc rather than xmalloc. | |
5234 | ||
6595ec51 JDA |
5235 | 2008-01-16 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
5236 | ||
5237 | PR libgfortran/34699 | |
5238 | * pa-hpux.h (LINK_SPEC): Only search /lib/pa1.1 and /usr/lib/pa1.1 on | |
5239 | static links. | |
5240 | * pa-hpux10.h (LINK_SPEC): Likewise. | |
5241 | * pa-hpux11.h (LINK_SPEC): Don't search /lib/pa1.1 and /usr/lib/pa1.1. | |
5242 | ||
bdb55eae RG |
5243 | 2008-01-16 Richard Guenther <rguenther@suse.de> |
5244 | ||
5245 | PR middle-end/32628 | |
5246 | * fold-const.c (fold_convert_const_int_from_int): Do not | |
5247 | set overflow if that occured only because of a sign extension | |
5248 | change when converting from/to a sizetype with the same | |
5249 | precision and signedness. | |
5250 | ||
2e2c7ce2 UB |
5251 | 2008-01-16 Uros Bizjak <ubizjak@gmail.com> |
5252 | ||
5253 | PR debug/34249 | |
5254 | * dwarf2out.c (output_call_frame_info): Move output of FDE initial | |
5255 | location address to the correct place. Update copyright year. | |
5256 | ||
d49c149d SP |
5257 | 2008-01-16 Sebastian Pop <sebastian.pop@amd.com> |
5258 | ||
5259 | * lambda-code.c (lambda_transform_legal_p): Handle the case of | |
5260 | no dependences in the dependence_relations vector. | |
5261 | ||
a03c6d64 JH |
5262 | 2008-01-16 Jan Hubicka <jh@suse.cz> |
5263 | ||
5264 | PR rtl-optimization/31396 | |
5265 | * regstat.c (regstat_bb_compute_ri): Compute FREQ_CALLS_CROSSED. | |
5266 | * cfg.c (dump_reg_info): Print it. | |
5267 | * regs.h (struct reg_info_t): add freq_calls_crossed. | |
5268 | (REG_FREQ_CALLS_CROSSED): New macro. | |
5269 | * global.c (global_alloc): Compute freq_calls_crossed for allocno. | |
5270 | (find_reg): Update call of CALLER_SAVE_PROFITABLE. | |
5271 | * regmove.c (optimize_reg_copy_1, optimize_reg_copy_2, fixup_match_2, | |
5272 | regmove_optimize): Update call crossed frequencies. | |
5273 | * local-alloc.c (struct qty): Add freq_calls_crossed. | |
5274 | (alloc_qty): Copute freq_calls_crossed. | |
5275 | (update_equiv_regs, combine_regs): Update REG_FREQ_CALLS_CROSSED. | |
5276 | (find_free_reg): Update call of CALLER_SAVE_PROFITABLE. | |
5277 | * ra.h (struct allocno): Add freq_calls_crossed. | |
5278 | ||
daf49354 SP |
5279 | 2008-01-16 Sebastian Pop <sebastian.pop@amd.com> |
5280 | ||
5281 | * gcc.c (LINK_COMMAND_SPEC): Add includes and link options for | |
5282 | libgomp when compiling with ftree-parallelize-loops. | |
5283 | (GOMP_SELF_SPECS): Add -pthread for ftree-parallelize-loops. | |
5284 | ||
a1a5996d RG |
5285 | 2008-01-16 Richard Guenther <rguenther@suse.de> |
5286 | ||
5287 | PR tree-optimization/34769 | |
5288 | * tree-data-ref.c (initialize_matrix_A): Revert fix for PR34458. | |
5289 | * tree.c (int_cst_value): Instead make this function more | |
5290 | permissive in what it accepts as valid input. Document this | |
5291 | function always sign-extends the value. | |
5292 | ||
de4af523 | 5293 | 2008-01-16 Jakub Jelinek <jakub@redhat.com> |
d0b9dbd5 | 5294 | Richard Guenther <rguenther@suse.de> |
de4af523 JJ |
5295 | |
5296 | PR c/34668 | |
5297 | * gimplify.c (fold_indirect_ref_rhs): Rename to ... | |
5298 | (gimple_fold_indirect_ref_rhs): ... this. | |
5299 | (gimple_fold_indirect_ref): New function with foldings | |
5300 | that preserve lvalueness. | |
5301 | (gimplify_modify_expr_rhs): Call gimple_fold_indirect_ref_rhs. | |
5302 | * tree-flow.h (gimple_fold_indirect_ref): Declare. | |
5303 | * tree-inline.c (copy_body_r): Use gimple_fold_indirect_ref | |
5304 | to fold an INDIRECT_REF, fall back to the old use of | |
5305 | fold_indirect_ref_1. | |
5306 | ||
6935bae7 SP |
5307 | 2008-01-16 Sebastian Pop <sebastian.pop@amd.com> |
5308 | ||
5309 | * tree-data-ref.c (subscript_dependence_tester_1): Call | |
5310 | free_conflict_function. | |
5311 | (compute_self_dependence): Same. | |
5312 | ||
a4b6974e UB |
5313 | 2008-01-16 Uros Bizjak <ubizjak@gmail.com> |
5314 | ||
5315 | PR debug/34249 | |
5316 | * debug.h (dwarf2out_switch_text_section): Move declaration from ... | |
5317 | * dwarf2out.c (dwarf2out_switch_text_section): ... here. Make | |
5318 | function global. | |
5319 | * final.c (final_scan_insn) [NOTE_INSN_SWITCH_TEXT_SECTIONS]: | |
5320 | Depending on dwarf2out_do_frame, call dwarf2out_switch_text_section | |
5321 | for DWARF2_UNWIND_INFO targets. | |
5322 | ||
eb1387a0 RG |
5323 | 2008-01-16 Richard Guenther <rguenther@suse.de> |
5324 | ||
5325 | PR c/34768 | |
5326 | * c-typeck.c (common_pointer_type): Do not merge inconsistent | |
5327 | type qualifiers for function types. | |
5328 | ||
9326236d JD |
5329 | 2008-01-15 Jerry DeLisle <jvdelisle@gcc.gnu.org> |
5330 | ||
5331 | * tree-parloops.c (gen_parallel_loop): Fix ommision of declaration for | |
5332 | loop_iterator li from previous commit. | |
5333 | ||
5334 | 2008-01-15 Sebastian Pop <sebastian.pop@amd.com> | |
92a6bdbd SP |
5335 | |
5336 | * tree-parloops.c (gen_parallel_loop): Free loop bound estimations. | |
5337 | ||
1d4af1e8 SP |
5338 | 2008-01-12 Sebastian Pop <sebastian.pop@amd.com> |
5339 | ||
5340 | * tree-parloops.c (loop_has_blocks_with_irreducible_flag): New. | |
5341 | (parallelize_loops): Don't parallelize irreducible components. | |
5342 | ||
8103eebf MLI |
5343 | 2008-01-14 Manuel Lopez-Ibanez <manu@gcc.gnu.org> |
5344 | ||
5345 | PR c++/24924 | |
5346 | * c-opts (c_common_post_options): Do not enable CPP | |
5347 | flag_pedantic_errors by default. | |
5348 | ||
d556d181 EB |
5349 | 2008-01-14 Eric Botcazou <ebotcazou@adacore.com> |
5350 | ||
5351 | PR rtl-optimization/31944 | |
5352 | * cse.c (remove_pseudo_from_table): New function. | |
5353 | (merge_equiv_classes): Use above function to remove pseudo-registers. | |
5354 | (invalidate): Likewise. | |
5355 | ||
726612d2 RG |
5356 | 2008-01-13 Richard Guenther <rguenther@suse.de> |
5357 | ||
5358 | PR middle-end/34601 | |
5359 | * emit-rtl.c (set_reg_attrs_for_decl_rtl): Use DECL_MODE | |
5360 | instead of TYPE_MODE to deal with calls from expand_one_error_var. | |
5361 | ||
51134e52 UB |
5362 | 2008-01-13 Uros Bizjak <ubizjak@gmail.com> |
5363 | ||
5364 | * gcse.c (cprop_jump): Call validate_unshare_change instead of | |
5365 | validate_change to unshare the source of the PC set. | |
5366 | ||
3097760b JH |
5367 | 2008-01-12 Jan Hubicka <jh@suse.cz> |
5368 | ||
5369 | PR middle-end/32135 | |
5370 | * tree-ssa-ccp.c (maybe_fold_offset_to_array_ref): Do not construct | |
5371 | references above array bounds. This might trigger bounds checks for | |
5372 | pointers to arrays. | |
5373 | ||
42b22da8 SP |
5374 | 2008-01-12 Sebastian Pop <sebastian.pop@amd.com> |
5375 | ||
5376 | * tree-ssa-ter.c (free_temp_expr_table): Free num_in_part and | |
5377 | new_replaceable_dependencies. | |
5378 | ||
5db2e9ca DK |
5379 | 2008-01-12 Doug Kwan <dougkwan@google.com> |
5380 | ||
5381 | * c-decl.c: (grokdeclarator): Use OPT_Wignored_qualifiers | |
5382 | instead of OPT_Wreturn_type in warning due to ignored return type | |
5383 | qualifiers. | |
5384 | * c-opt.c (c_common_post_option): Add -Wignored-qualifiers to | |
5385 | options included in -Wextra. | |
5386 | * c.opt: New option -Wignored_qualifiers. | |
5387 | * doc/invoke.texi (Warning Options, -Wextra): Add new option | |
5388 | -Wignore_qualifiers. | |
5389 | (-Wignored-qualifiers): Document. | |
5390 | (-Wreturn-type): Remove description of functionality now handled | |
5391 | by -Wignored-qualifiers. | |
5392 | ||
52ef2874 EB |
5393 | 2008-01-12 Eric Botcazou <ebotcazou@adacore.com> |
5394 | ||
5395 | PR ada/33788 | |
5396 | * fold-const.c (fold_unary) <VIEW_CONVERT_EXPR>: Fold an existing | |
5397 | NOP_EXPR if it is between integral types with the same precision. | |
5398 | ||
a60b56a4 JH |
5399 | 2008-01-12 Jan Hubicka <jh@suse.cz> |
5400 | ||
5401 | PR other/28023 | |
5402 | * invoke.texi (max-inline-recursive-depth): Fix default value. | |
5403 | ||
29ac1d9a ZD |
5404 | 2008-01-12 Zdenek Dvorak <ook@ucw.cz> |
5405 | ||
5406 | * tree-parloops.c (transform_to_exit_first_loop): Cast nit to the | |
5407 | correct type. | |
5408 | ||
166b25dc BW |
5409 | 2008-01-11 Bob Wilson <bob.wilson@acm.org> |
5410 | ||
5411 | * config/xtensa/xtensa.c (override_options): Set flag_shlib. | |
5412 | ||
ad8151b7 JW |
5413 | 2008-01-11 James E. Wilson <wilson@specifix.com> |
5414 | ||
5415 | PR target/26015 | |
5416 | * config/vax/elf.h (FRAME_POINTER_CFA_OFFSET): Define. | |
5417 | ||
0d40cc60 AS |
5418 | 2008-01-11 Anatoly Sokolov <aesok@post.ru> |
5419 | ||
5420 | * config/avr/avr.c (expand_prologue, expand_epilogue): Don't | |
5421 | save/restore frame pointer register and don't use 'call-prologues' | |
5422 | optimization in function with "OS_task" attribute. | |
5423 | ||
15af420d EB |
5424 | 2008-01-11 Eric Botcazou <ebotcazou@adacore.com> |
5425 | ||
5426 | PR middle-end/31309 | |
5427 | * expr.c (copy_blkmode_from_reg): Use a mode suited to the size | |
5428 | when copying to memory. | |
5429 | ||
c1e3e2d9 SB |
5430 | 2008-01-11 Steven Bosscher <stevenb.gcc@gmail.com> |
5431 | ||
5432 | PR rtl-optimization/30905 | |
5433 | * cfgcleanup.c: Include dce.h | |
5434 | (crossjumps_occured): New global variable. | |
5435 | (try_crossjump_bb): Exit loop after finding a fallthru edge. | |
5436 | If something changed, set crossjumps_occured to true. | |
5437 | (try_optimize_cfg): Clear crossjumps_occured at the beginning. | |
5438 | Don't add/remove fake edges to exit here... | |
5439 | (cleanup_cfg): ...but do it here, when crossjumping. | |
5440 | Run a fast DCE when successful crossjumps occured in the latest | |
5441 | iteration of try_optimize_cfg. | |
5442 | ||
8d0eca24 RG |
5443 | 2008-01-11 Richard Guenther <rguenther@suse.de> |
5444 | ||
5445 | * tree-ssa-sccvn.c (struct vn_binary_op_s): Move hashcode near opcode. | |
5446 | (struct vn_unary_op_s): Likewise. | |
5447 | (vn_reference_insert): Free old reference on hash collision. | |
5448 | ||
acfb3980 RA |
5449 | 2008-01-10 Raksit Ashok <raksit@google.com> |
5450 | ||
5451 | PR rtl-optimization/27971 | |
31bfe034 RA |
5452 | * combine.c (find_split_point): Split PLUS expressions which are |
5453 | inside a MEM rtx, and whose first operand is complex. | |
acfb3980 | 5454 | |
b8a669d0 DD |
5455 | 2008-01-10 DJ Delorie <dj@redhat.com> |
5456 | ||
5457 | * config/m32c/m32c.c (m32c_hard_regno_nregs_1): Renamed from... | |
5458 | (m32c_hard_regno_nregs): ...this, which is now a wrapper. | |
5459 | (m32c_hard_regno_ok): Call the underlying function. | |
5460 | ||
d0f76c4b RG |
5461 | 2008-01-10 Richard Guenther <rguenther@suse.de> |
5462 | ||
5463 | PR middle-end/34683 | |
5464 | * tree-cfg.c (tree_merge_blocks): Do not go through the | |
5465 | full-blown folding and stmt updating path if we just deal | |
5466 | with virtual operands. | |
5467 | * tree-ssa-copy.c (may_propagate_copy): Do not short-cut | |
5468 | test for abnormal SSA_NAMEs. | |
5469 | ||
90d12f1f AK |
5470 | 2008-01-10 Andreas Krebbel <krebbel1@de.ibm.com> |
5471 | ||
5472 | PR middle-end/34641 | |
5473 | * reload.c (push_reload): Add assertions. All constants from | |
5474 | reg_equiv_constant should have been used for replacing the respective | |
5475 | pseudo earlier. | |
5476 | (find_reloads_address): Invoke find_reloads_address_part for | |
5477 | constant taken from the reg_equiv_constant array. | |
5478 | ||
71ae8557 SB |
5479 | 2008-01-10 Steven Bosscher <stevenb.gcc@gmail.com> |
5480 | ||
5481 | * tree-ssa-sccvn.h (struct vn_ssa_aux): Make the most accessed | |
5482 | field (valnum) the first in the struct. Replace bools with | |
5483 | unit bit fields. | |
5484 | ||
125e025e RG |
5485 | 2008-01-10 Richard Guenther <rguenther@suse.de> |
5486 | ||
5487 | PR tree-optimization/34651 | |
5488 | * tree-sra.c (sra_build_assignment): Sanitize. Use the correct | |
5489 | types and ordering for masking and converting. | |
5490 | ||
64cbaace SP |
5491 | 2008-01-09 Sebastian Pop <sebastian.pop@amd.com> |
5492 | ||
5493 | PR tree-optimization/34017 | |
5494 | * lambda-code.c (lambda_loopnest_to_gcc_loopnest): Generate code | |
5495 | also for PHI_NODE expressions. | |
5496 | ||
88743d3a JH |
5497 | 2008-01-09 Jan Hubicka <jh@suse.cz> |
5498 | ||
5499 | PR tree-optimization/34708 | |
5500 | * tree-inline.c (estimate_num_insns_1): Compute cost of SWITCH_EXPR | |
5501 | based on number of case labels. | |
5502 | (init_inline_once): Remove switch_cost. | |
5503 | * tree-inline.h (eni_weights_d): Remove switch_cost. | |
5504 | ||
c3e203cf RG |
5505 | 2008-01-09 Richard Guenther <rguenther@suse.de> |
5506 | Andrew Pinski <andrew_pinski@playstation.sony.com> | |
5507 | ||
5508 | PR middle-end/30132 | |
5509 | * gimplify.c (gimplify_cond_expr): Do not create an addressable | |
5510 | temporary if an rvalue is ok or an lvalue is not required. | |
5511 | ||
def49dd7 RG |
5512 | 2008-01-09 Richard Guenther <rguenther@suse.de> |
5513 | ||
5514 | PR middle-end/34458 | |
5515 | * tree-data-ref.c (initialize_matrix_A): Use tree_low_cst, | |
5516 | adjust return type. | |
5517 | ||
cbad2e09 RG |
5518 | 2008-01-09 Richard Guenther <rguenther@suse.de> |
5519 | ||
5520 | PR middle-end/34679 | |
5521 | * tree.c (host_integerp): Check for sizetype only if the | |
5522 | type is an integer type. | |
5523 | ||
59e5c37d SB |
5524 | 2008-01-09 Steven Bosscher <stevenb.gcc@gmail.com> |
5525 | ||
5526 | PR debug/26364 | |
5527 | * opts.c (decode_options): Disable inlining of functions called | |
5528 | once if not in unit-at-a-time mode. | |
5529 | ||
712db60e AO |
5530 | 2008-01-09 Alexandre Oliva <aoliva@redhat.com> |
5531 | ||
5532 | * Makefile.in (dse.o): Remove duplicate $(RECOG_H) dependency. | |
5533 | ||
3fe2f42a RG |
5534 | 2008-01-08 Richard Guenther <rguenther@suse.de> |
5535 | ||
5536 | PR middle-end/31863 | |
5537 | * tree-ssa-structalias.c (push_fields_onto_fieldstack): Bail | |
5538 | out early if the result will be unused. | |
5539 | ||
4d869718 UB |
5540 | 2008-01-08 Uros Bizjak <ubizjak@gmail.com> |
5541 | ||
5542 | PR target/34709 | |
5543 | Revert: | |
5544 | ||
5545 | 2008-01-05 Uros Bizjak <ubizjak@gmail.com> | |
5546 | * config/i386/i386.c (ix86_builtin_reciprocal): Remove check | |
5547 | for TARGET_RECIP. | |
5548 | ||
cedbd764 JS |
5549 | 2008-01-08 Jan Sjodin <jan.sjodin@amd.com> |
5550 | ||
4d869718 UB |
5551 | * config/i386/i386.c (k8_cost, amdfam10_cost): Branch costs |
5552 | for vectorization tuned. | |
cedbd764 | 5553 | |
a9990582 RG |
5554 | 2008-01-08 Richard Guenther <rguenther@suse.de> |
5555 | ||
5556 | PR tree-optimization/34683 | |
5557 | * tree-ssa-operands.c (operand_build_cmp): Export. | |
5558 | * tree-ssa-operands.h (operand_build_cmp): Declare. | |
5559 | * tree-vn.c (vuses_compare): Remove. | |
5560 | (sort_vuses): Use operand_build_cmp. | |
5561 | (sort_vuses_heap): Likewise. | |
5562 | * tree-ssa-sccvn.c (vuses_to_vec): Use VEC_reserve, not VEC_alloc | |
5563 | to re-use old VEC if available. Do not sort already sorted VUSEs. | |
5564 | (vdefs_to_vec): Do not sort already sorted VDEFs. | |
5565 | ||
c90eee44 JJ |
5566 | 2008-01-08 Jakub Jelinek <jakub@redhat.com> |
5567 | ||
5568 | PR middle-end/34694 | |
5569 | * omp-low.c (copy_var_decl): Copy also DECL_SOURCE_LOCATION. | |
5570 | ||
8bce96f5 UB |
5571 | 2008-01-08 Uros Bizjak <ubizjak@gmail.com> |
5572 | ||
5573 | PR target/34702 | |
5574 | * doc/invoke.texi (i386 and x86-64 Options) [mrecip]: Document | |
5575 | limitations of reciprocal sequences on x86 targets. | |
5576 | ||
4eefcc98 RG |
5577 | 2008-01-08 Richard Guenther <rguenther@suse.de> |
5578 | ||
5579 | PR tree-optimization/34683 | |
5580 | * tree-flow-inline.h (var_ann): Remove overzealous asserts. | |
5581 | ||
b69d564b JJ |
5582 | 2008-01-07 Jakub Jelinek <jakub@redhat.com> |
5583 | ||
5584 | PR target/34622 | |
5585 | * config/darwin.c (darwin_mergeable_string_section): Don't use | |
5586 | .cstring if int_size_in_bytes != TREE_STRING_LENGTH. | |
5587 | ||
6b761851 UB |
5588 | 2008-01-07 Uros Bizjak <ubizjak@gmail.com> |
5589 | ||
5590 | PR target/34682 | |
5591 | * config/i386/i386.md (neg<mode>2): Rename from negsf2, negdf2 and | |
5592 | negxf2. Macroize expander using X87MODEF mode iterator. Change | |
5593 | predicates of op0 and op1 to register_operand. | |
8bce96f5 UB |
5594 | (abs<mode>2): Rename from abssf2, absdf2 and negxf2. Macroize |
5595 | expander using X87MODEF mode iterator. Change predicates of | |
5596 | op0 and op1 to register_operand. | |
6b761851 UB |
5597 | ("*absneg<mode>2_mixed", "*absneg<mode>2_sse"): Rename from |
5598 | corresponding patterns and macroize using MODEF macro. Change | |
5599 | predicates of op0 and op1 to register_operand and remove | |
5600 | "m" constraint. Disparage "r" alternative with "!". | |
5601 | ("*absneg<mode>2_i387"): Rename from corresponding patterns and | |
5602 | macroize using X87MODEF macro. Change predicates of op0 and op1 | |
5603 | to register_operand and remove "m" constraint. Disparage "r" | |
5604 | alternative with "!". | |
5605 | (absneg splitter with memory operands): Remove. | |
5606 | ("*neg<mode>2_1", "*abs<mode>2_1"): Rename from corresponding | |
5607 | patterns and macroize using X87MODEF mode iterator. | |
5608 | * config/i386/sse.md (negv4sf2, absv4sf2, neg2vdf2, absv2df2): | |
5609 | Change predicate of op1 to register_operand. | |
5610 | * config/i386/i386.c (ix86_expand_fp_absneg_operator): Remove support | |
8bce96f5 | 5611 | for memory operands. |
6b761851 | 5612 | |
5ca0373f NF |
5613 | 2008-01-07 Nathan Froyd <froydnj@codesourcery.com> |
5614 | ||
5615 | * config/rs6000/rs6000.h (ASM_CPU_SPEC): Add clause for mcpu=8548. | |
5616 | ||
2eac9a76 RG |
5617 | 2008-01-07 Richard Guenther <rguenther@suse.de> |
5618 | ||
5619 | * basic-block.h (struct edge_def): Pair dest_idx with goto_locus | |
5620 | fields. | |
5621 | ||
b61ea03d RG |
5622 | 2008-01-07 Richard Guenther <rguenther@suse.de> |
5623 | ||
5624 | PR tree-optimization/34683 | |
5625 | * tree-ssa-sccvn.c (vuses_to_vec): Pre-allocate the vector of | |
5626 | VOPs of the needed size to save memory. Use VEC_quick_push | |
5627 | to save compile-time. | |
5628 | (vdefs_to_vec): Likewise. | |
5629 | ||
c4bd75cd | 5630 | 2008-01-07 Sa Liu <saliu@de.ibm.com> |
b61ea03d | 5631 | |
6b761851 UB |
5632 | * config/spu/spu.md (divdf3): Genetate inline code for double |
5633 | division. The implementation doesn't handle INF or NAN, therefore it | |
5634 | only applies when -ffinite-math-only is given. | |
c4bd75cd | 5635 | |
ba551ec2 PC |
5636 | 2008-01-06 Paolo Carlini <pcarlini@suse.de> |
5637 | ||
5638 | PR libstdc++/34680 | |
5639 | * c-cppbuiltin.c (c_cpp_builtins): Define __GXX_RTTI, if appropriate. | |
5640 | * doc/cpp.texi ([Common Predefined Macros]): Document. | |
5641 | ||
43db7979 UB |
5642 | 2008-01-06 Uros Bizjak <ubizjak@gmail.com> |
5643 | ||
5644 | * config/i386/i386.c (ix86_emit_swsqrtsf): Use negative constants in | |
5645 | order to use commutative addition instead of subtraction. | |
5646 | ||
2c460d12 RE |
5647 | 2008-01-06 Andrew Pinski <andrew_pinski@playstation.sony.com> |
5648 | Mircea Namolaru <namolaru@il.ibm.com> | |
5649 | Vladimir Yanovsky <yanov@il.ibm.com> | |
5650 | Revital Eres <eres@il.ibm.com> | |
5651 | ||
5652 | PR tree-optimization/34263 | |
5653 | * tree-outof-ssa.c (process_single_block_loop_latch, | |
5654 | contains_tree_r): New functions. | |
5655 | (analyze_edges_for_bb): Call process_single_block_loop_latch | |
5656 | function to empty single-basic-block latch block if possible. | |
5657 | ||
5a37a60c UB |
5658 | 2008-01-05 Uros Bizjak <ubizjak@gmail.com> |
5659 | ||
5660 | * config/i386/i386.c (ix86_builtin_reciprocal): Remove check | |
5661 | for TARGET_RECIP. | |
5662 | (ix86_emit_swsqrtsf): Do not filter out infinity for rsqrt expansion. | |
5663 | ||
1a8a3a5e RS |
5664 | 2008-01-05 Richard Sandiford <rsandifo@nildram.co.uk> |
5665 | ||
5666 | * c-omp.c (check_omp_for_incr_expr): Handle CONVERT_EXPR. | |
5667 | ||
2a4430a6 RS |
5668 | 2008-01-05 Richard Sandiford <rsandifo@nildram.co.uk> |
5669 | ||
5670 | * config/mips/mips.c (mips_in_small_data_p): Reinstate size > 0 check. | |
5671 | ||
58fcda21 JJ |
5672 | 2008-01-05 Jakub Jelinek <jakub@redhat.com> |
5673 | ||
5674 | PR tree-optimization/34618 | |
5675 | * tree-outof-ssa.c (create_temp): Copy over DECL_GIMPLE_REG_P | |
5676 | flag from T. | |
5677 | ||
f1bf33ce UB |
5678 | 2008-01-05 Uros Bizjak <ubizjak@gmail.com> |
5679 | ||
5680 | PR target/34673 | |
5681 | * config/i386/i386.c (ix86_emit_swsqrtsf): Swap input operands | |
5682 | in the call to gen_rtx_NE. Remove unneeded VECTOR_MODE_P check. | |
5683 | Update copyright year. | |
5684 | ||
5685 | * config/i386/i386.md (rsqrtsf2): Enable for TARGET_SSE_MATH. | |
5686 | Update copyright year. | |
5687 | * config/i386/sse.md (rsqrtv4sf2): Ditto. Unconditionally expand | |
5688 | using NR fixup. | |
5689 | ||
12a6309e ZZ |
5690 | 2008-01-05 Zhouyi Zhou <zhouzhouyi@FreeBSD.org> |
5691 | ||
5692 | * tree-vrp.c (find_conditional_asserts): Remove redundant check that | |
5693 | edge does not point to current bb before changing need_assert. | |
5694 | ||
bdb69bee RG |
5695 | 2008-01-04 Richard Guenther <rguenther@suse.de> |
5696 | ||
5697 | PR middle-end/34029 | |
5698 | * tree-cfg.c (verify_expr): Do not look inside ADDR_EXPRs | |
5699 | for verifying purposes if they are is_gimple_min_invariant. | |
5700 | ||
ffed8a01 AH |
5701 | 2008-01-04 Aldy Hernandez <aldyh@redhat.com> |
5702 | ||
5703 | PR tree-optimization/34448 | |
5704 | PR tree-optimization/34465 | |
5705 | * gimplify.c (gimplify_init_constructor): Add new parameter | |
5706 | notify_temp_creation. Use it. | |
5707 | (gimplify_modify_expr_rhs): Take volatiles into account when | |
5708 | optimizing constructors. | |
5709 | Do not optimize constructors if gimplify_init_constructor will dump to | |
5710 | memory. | |
5711 | * gcc.dg/tree-ssa/pr32901.c: Tests const volatiles. | |
5712 | * gcc.c-torture/compile/pr34448.c: New. | |
5713 | ||
b5ca517c JJ |
5714 | 2008-01-04 Jakub Jelinek <jakub@redhat.com> |
5715 | ||
5716 | PR gcov-profile/34609 | |
5717 | * tree-inline.c (declare_return_variable): Set TREE_ADDRESSABLE on | |
5718 | return_slot if result is TREE_ADDRESSABLE. | |
5719 | ||
6a3d1d49 RS |
5720 | 2008-01-04 Richard Sandiford <rsandifo@nildram.co.uk> |
5721 | ||
5722 | * config/mips/mips.md (sqrt_condition): Tweak comment. | |
5723 | (recip_condition): Likewise. Require TARGET_FLOAT64 for DFmode. | |
5724 | ||
6fc3c3c0 TT |
5725 | 2008-01-03 Tom Tromey <tromey@redhat.com> |
5726 | ||
b5ca517c | 5727 | PR c/34457 |
6fc3c3c0 TT |
5728 | * c-common.c (c_type_hash): Handle VLAs. |
5729 | ||
045685a9 JH |
5730 | 2008-01-03 Jan Hubicka <jh@suse.cz> |
5731 | ||
5732 | PR tree-optimization/31081 | |
5733 | * tree-inline.c (remap_ssa_name): Initialize uninitialized SSA vars to | |
5734 | 0 when inlining and not inlining to first basic block. | |
5735 | (remap_decl): When var is initialized to 0, don't set default_def. | |
5736 | (expand_call_inline): Set entry_bb. | |
5737 | * tree-inline.h (copy_body_data): Add entry_bb. | |
5738 | ||
2092ee7d JJ |
5739 | 2008-01-03 Jakub Jelinek <jakub@redhat.com> |
5740 | ||
cac67c08 JJ |
5741 | PR c++/34619 |
5742 | * cgraphunit.c (cgraph_build_static_cdtor): set_cfun back to NULL | |
5743 | before returning. | |
5744 | ||
2092ee7d JJ |
5745 | PR tree-optimization/29484 |
5746 | * tree-inline.c (inline_forbidden_p_2): New function. | |
5747 | (inline_forbidden_p): Disallow inlining if some static var | |
5748 | has an address of a local LABEL_DECL in its initializer. | |
5749 | * doc/extend.texi (Labels as Values): Document &&foo behaviour | |
5750 | vs. inlining. | |
5751 | ||
2726bafe | 5752 | 2008-01-03 Sebastian Pop <sebastian.pop@amd.com> |
097392de SP |
5753 | |
5754 | PR tree-optimization/34635 | |
5755 | * tree-data-ref.c (add_other_self_distances): Make sure that the | |
5756 | evolution step is constant. | |
5757 | ||
99819c63 JJ |
5758 | 2008-01-03 Jakub Jelinek <jakub@redhat.com> |
5759 | ||
5760 | PR middle-end/34608 | |
12a6309e | 5761 | * omp-low.c (expand_omp_parallel): Purge dead EH edges in the child fn. |
99819c63 | 5762 | |
1463dfa4 RS |
5763 | 2008-01-02 Richard Sandiford <rsandifo@nildram.co.uk> |
5764 | ||
5765 | * tree-sra.c (scalarize_init): Insert the generate_element_init | |
5766 | statements after the generate_element_zero statements. | |
5767 | ||
ee6ec666 RG |
5768 | 2008-01-02 Richard Guenther <rguenther@suse.de> |
5769 | ||
5770 | PR middle-end/34093 | |
5771 | PR middle-end/31976 | |
5772 | * tree-ssa-operands.c (ssa_operand_alloc): Also allocate a buffer | |
5773 | for very large number of operands instead of ICEing. | |
5774 | ||
6893e828 AN |
5775 | 2008-01-02 Arthur Norman <acn1@cam.ac.uk> |
5776 | ||
12a6309e | 5777 | PR target/34013 |
d0fb20be | 5778 | * config/i386/i386.c (ix86_expand_prologue): Save red-zone |
6893e828 AN |
5779 | while stack probing. |
5780 | ||
1a7817e4 DG |
5781 | 2008-01-01 Douglas Gregor <doug.gregor@gmail.com> |
5782 | ||
6893e828 | 5783 | * c-opts.c (sanitize_cpp_opts): Don't warn about "long long" when |
12a6309e | 5784 | in C++0x mode. |
1a7817e4 | 5785 | |
882e337b VR |
5786 | 2008-01-01 Volker Reichelt <v.reichelt@netcologne.de> |
5787 | ||
5788 | PR libmudflap/26442 | |
5789 | * tree-mudflap.c (mx_register_decls): Guard warning by | |
5790 | !DECL_ARTIFICIAL check. | |
5791 | ||
f02ffa12 JJ |
5792 | 2008-01-01 Jakub Jelinek <jakub@redhat.com> |
5793 | ||
5794 | * config/i386/sse.md (sse5_pperm, sse5_pperm_pack_v2di_v4si, | |
5795 | sse5_pperm_pack_v4si_v8hi, sse5_pperm_pack_v8hi_v16qi, | |
5796 | sse5_perm<mode>): Fix constraints. |