]>
Commit | Line | Data |
---|---|---|
416ac4d4 RM |
1 | 2009-01-29 Robert Millan <rmh@aybabtu.com> |
2 | ||
3 | * gcc/config.gcc: Recognize GNU/kOpenSolaris (*-*-kopensolaris*-gnu). | |
4 | * gcc/config/i386/kopensolaris-gnu.h: New file. Undefine | |
5 | `MD_UNWIND_SUPPORT'. | |
6 | * gcc/config/kopensolaris-gnu.h: New file (based on kfreebsd-gnu.h). | |
7 | ||
d5e54bc1 KH |
8 | 2009-01-29 Kazu Hirata <kazu@codesourcery.com> |
9 | ||
10 | PR tree-optimization/39007 | |
11 | * tree-loop-distribution.c (generate_builtin): Use | |
12 | recompute_dominator to compute the immediate dominator of the | |
13 | basic block just after the loop. | |
14 | ||
e9e077fa RO |
15 | 2008-01-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
16 | ||
17 | * config/i386/sol2-10.h [!HAVE_AS_IX86_DIFF_SECT_DELTA] | |
18 | (ASM_OUTPUT_DWARF_PCREL): Define. | |
19 | ||
2af2dbdc VM |
20 | 2008-01-29 Vladimir Makarov <vmakarov@redhat.com> |
21 | ||
22 | * doc/tm.texi (TARGET_IRA_COVER_CLASSES): Modify description. | |
23 | * doc/passes.texi: Remove entries about regclass, local-alloc, and | |
24 | global. Modify entries about regmove and IRA. | |
25 | ||
26 | * ra-conflict.c: Remove the file. | |
27 | ||
28 | * reload.c (push_reload, find_dummy_reload): Remove flag_ira. | |
29 | ||
30 | * tree-pass.h (pass_local_alloc, pass_global_alloc): Remove. | |
31 | (pass_regclass_init): Rename to pass_reginfo_init. | |
32 | ||
33 | * cfgloopanal.c (estimate_reg_pressure_cost): Remove flag_ira. | |
34 | ||
35 | * toplev.h (flag_ira): Remove. | |
36 | ||
37 | * caller-save.c (setup_save_areas): Remove flag_ira. | |
38 | ||
39 | * ira-color.c (ira_reuse_stack_slot, ira_mark_new_stack_slot): | |
40 | Ditto. | |
41 | ||
42 | * global.c: Remove the file. | |
43 | ||
44 | * opts.c: (decode_options): Remove flag_ira. | |
45 | ||
46 | * hard-reg-set.h (losing_caller_save_reg_set): Remove. | |
47 | ||
48 | * regmove.c: Modify file description. | |
49 | (find_use_as_address, try_auto_increment): Define them only if | |
50 | AUTO_INC_DEC is defined. | |
51 | (replacement_quality, replace_in_call_usage, fixup_match_1, | |
52 | stable_and_no_regs_but_for_p): Remove. | |
53 | (reg_set_in_bb): Make it static. | |
54 | (regmove_optimize): Remove flag_ira and code which worked for | |
55 | !flag_ira. | |
56 | ||
57 | * local-alloc.c: Remove the file. | |
58 | ||
59 | * common.opt (fira): Remove. | |
60 | ||
61 | * ira.c: Include except.h. | |
62 | (eliminable_regset): Move from global.c. | |
63 | (mark_elimination): Ditto. Remove flag_ira. | |
64 | (reg_renumber, struct equivalence, reg_equiv, equiv_mem, | |
65 | equiv_mem_modified, validate_equiv_mem_from_store, | |
66 | validate_equiv_mem, equiv_init_varies_p, equiv_init_movable_p, | |
67 | contains_replace_regs, memref_referenced_p, memref_used_between_p, | |
68 | no_equiv, recorded_label_ref): Move from local-alloc.c. | |
69 | (update_equiv_regs): Ditto. Make it static. | |
70 | (print_insn_chain, print_insn_chains): Move it from global.c. | |
71 | pseudo_for_reload_consideration_p): Ditto. Remove flag_ira. | |
72 | (build_insn_chain): Ditto. Make it static. | |
73 | (ra_init_live_subregs): Move from ra-conflict.c. Make it static. | |
74 | Rename to init_live_subregs. | |
75 | (gate_ira): Remove flag_ira. | |
76 | ||
77 | * regclass.c: Rename reginfo.c. Change file description. | |
78 | (FORBIDDEN_INC_DEC_CLASSES): Remove. | |
79 | (reg_class_superclasses, forbidden_inc_dec_class, in_inc_dec): | |
80 | Remove. | |
81 | (init_reg_sets_1): Remove code for evaluation of | |
82 | reg_class_superclasses and losing_caller_save_reg_set. | |
83 | (init_regs): Remove init_reg_autoinc. | |
84 | (struct costs, costs, init_cost, ok_for_index_p_nonstrict, | |
85 | ok_for_base_p_nonstrict): Remove. | |
86 | (regclass_init): Rename to reginfo_init. Don't initialize | |
87 | init_cost. | |
88 | (pass_regclass_init): Rename to pass_reginfo_init. Modify | |
89 | corresponding entries. | |
90 | (dump_regclass, record_operand_costs, scan_one_insn, | |
91 | init_reg_autoinc, regclass, record_reg_classes, copy_cost, | |
92 | record_address_regs, auto_inc_dec_reg_p): Remove. | |
93 | (gt-regclass.h): Rename to gt-reginfo.h. | |
94 | ||
95 | * rtl.h (dump_global_regs, retry_global_alloc, | |
96 | build_insn_chain, dump_local_alloc, update_equiv_regs): | |
97 | Remove. | |
98 | ||
99 | * Makefile.in (RA_H): Remove. | |
100 | (OBJS-common): Remove global.o, local-alloc.o, and ra-conflict.o. | |
101 | Rename regclass.o to reginfo.o. | |
102 | (regclass.o): Rename to reginfo.o. Rename gt-regclass.h to | |
103 | gt-reginfo.h. | |
104 | (global.o, local-alloc.o, ra-conflict.o): Remove entries. | |
105 | (GTFILES): Rename regclass.c to reginfo.c. | |
106 | ||
107 | * passes.c (init_optimization_passes): Remove pass_local_alloc and | |
108 | pass_global_alloc. Rename pass_regclass_init to | |
109 | pass_reginfo_init. | |
110 | ||
111 | * reload1.c (compute_use_by_pseudos, reload, count_pseudo, | |
112 | count_spilled_pseudo, find_reg, alter_reg, delete_output_reload): | |
113 | Remove flag_ira. | |
114 | (finish_spills): Ditto. Remove code for !flga_ira. | |
115 | ||
00b251a0 KZ |
116 | 2009-01-29 Kenneth Zadeck <zadeck@naturalbridge.com> |
117 | ||
118 | PR middle-end/35854 | |
119 | * doc/invoke.texi (rtl debug options): Complete rewrite. | |
120 | * auto-inc-dec.c (pass_inc_dec): Rename pass from "auto-inc-dec" | |
121 | to auto_inc_dec". | |
122 | * mode-switching.c (pass_mode_switching): Rename pass from | |
123 | "mode-sw" to "mode_sw". | |
124 | * except.c (pass_convert_to_eh_ranges): Rename pass from | |
125 | "eh-ranges" to "eh_ranges". | |
126 | * lower-subreg.c (pass_lower_subreg): Renamed pass from "subreg" | |
127 | to "subreg1". | |
128 | ||
129 | ||
72a54528 AM |
130 | 2009-01-29 Andrey Belevantsev <abel@ispras.ru> |
131 | Alexander Monakov <amonakov@ispras.ru> | |
132 | ||
133 | PR middle-end/38857 | |
134 | * sel-sched.c (count_occurrences_1): Check that *cur_rtx is a hard | |
135 | register. | |
136 | (move_exprs_to_boundary): Change return type and pass through | |
137 | should_move from move_op. Relax assert. Update usage ... | |
138 | (schedule_expr_on_boundary): ... here. Use should_move instead of | |
139 | cant_move. | |
140 | (move_op_orig_expr_found): Indicate that insn was disconnected from | |
141 | stream. | |
142 | (code_motion_process_successors): Do not call after_merge_succs | |
143 | callback if original expression was not found when traversing any of | |
144 | the branches. | |
145 | (code_motion_path_driver): Change return type. Update prototype. | |
146 | (move_op): Update comment. Add a new parameter (should_move). Update | |
147 | prototype. Set *should_move based on indication provided by | |
148 | move_op_orig_expr_found. | |
149 | ||
001b9eb6 PH |
150 | 2009-01-28 Pat Haugen <pthaugen@us.ibm.com> |
151 | ||
152 | * doc/invoke.texi (avoid-indexed-addresses): Document new option. | |
153 | * config/rs6000/rs6000-protos.h (avoiding_indexed_address_p): Declare. | |
154 | * config/rs6000/rs6000.opt (avoid-indexed-addresses): New option. | |
155 | * config/rs6000/rs6000.c (rs6000_override_options): Default | |
156 | avoid-indexed-addresses on for Power6, off for everything else. | |
157 | (avoiding_indexed_address_p): New function. | |
158 | (rs6000_legitimize_address): Use it. | |
159 | (rs6000_legitimate_address): Likewise. | |
160 | * config/rs6000/rs6000.md (movXX_updateX): Likewise | |
161 | ||
59dc4898 KH |
162 | 2009-01-28 Kazu Hirata <kazu@codesourcery.com> |
163 | ||
164 | PR tree-optimization/38997 | |
165 | * tree-loop-distribution.c (generate_memset_zero): Use | |
166 | POINTER_PLUS_EXPR for a pointer addition. | |
167 | ||
07da44ab AK |
168 | 2009-01-28 Andreas Krebbel <krebbel1@de.ibm.com> |
169 | ||
170 | * config/s390/s390.md (bswap<mode>2): New pattern added. | |
171 | ||
cdc15d23 WG |
172 | 2009-01-28 Wolfgang Gellerich <gellerich@de.ibm.com> |
173 | ||
174 | * config/s390/s390.md (*tls_load_31): Added type attribute. | |
175 | ||
d46f24b6 WG |
176 | 2009-01-28 Wolfgang Gellerich <gellerich@de.ibm.com> |
177 | ||
178 | * config/s390/s390.md: Fix a few comments. | |
179 | ||
729e750f WG |
180 | 2009-01-28 Wolfgang Gellerich <gellerich@de.ibm.com> |
181 | ||
182 | * config/s390/s390.md (*tmsi_reg): Fixed z10prop attribute. | |
183 | (*tm<mode>_full): Fixed z10prop attribute. | |
184 | (*tst<mode>_extimm): Fixed z10prop attribute. | |
185 | (*tst<mode>_cconly_extimm): Fixed z10prop attribute. | |
186 | (*tstqiCCT_cconly): Fixed z10prop attribute. | |
187 | (*cmpsi_ccu_zerohi_rlsi): Fixed z10prop attribute. | |
188 | (*movsi_larl): Fixed z10prop attribute. | |
189 | (*movsi_zarch): Fixed z10prop attribute. | |
190 | (*movsi_eas): Fixed z10prop attribute. | |
191 | (*movhi): Fixed z10prop attribute. | |
192 | (*movqi): Fixed z10prop attribute. | |
193 | (*movstrictqi): Fixed z10prop attribute. | |
194 | (*mov<mode>): Fixed z10prop attribute. | |
195 | (*movcc): Fixed z10prop attribute. | |
196 | (*sethighpartdi_64): Fixed z10prop attribute. | |
197 | (*zero_extendhi<mode>2_z10): Fixed z10prop attribute. | |
198 | (*negdi2_sign_cc): Fixed z10prop attribute. | |
199 | (*negdi2_sign): Fixed z10prop attribute. | |
200 | (*absdi2_sign_cc): Fixed z10prop attribute. | |
201 | (*absdi2_sign): Fixed z10prop attribute. | |
202 | (*negabsdi2_sign_cc): Fixed z10prop attribute. | |
203 | (*negabsdi2_sign): Fixed z10prop attribute. | |
204 | (*cmp_and_trap_signed_int<mode>): Fixed z10prop attribute. | |
205 | (*cmp_and_trap_unsigned_int<mode>): Fixed z10prop attribute. | |
206 | (doloop_si64): Fixed z10prop attribute. | |
207 | (doloop_si31): Fixed z10prop attribute. | |
208 | (doloop_long): Fixed z10prop attribute. | |
209 | (indirect_jump): Fixed z10prop attribute. | |
210 | (nop): Fixed z10prop attribute. | |
211 | (main_base_64): Fixed z10prop attribute. | |
212 | (reload_base_64): Fixed z10prop attribute. | |
213 | ||
c7789bfb JJ |
214 | 2009-01-28 Jakub Jelinek <jakub@redhat.com> |
215 | ||
216 | PR rtl-optimization/38740 | |
217 | * reorg.c (gate_handle_delay_slots): Avoid dbr scheduling | |
218 | if !optimize. | |
219 | * config/mips/mips.c (mips_reorg): Likewise. | |
220 | ||
de081cfd RG |
221 | 2009-01-28 Richard Guenther <rguenther@suse.de> |
222 | ||
223 | PR tree-optimization/38926 | |
224 | * tree-ssa-pre.c (add_to_value): Assert we add only expressions | |
225 | with the correct value id to a value. | |
226 | (do_regular_insertion): Use the value number of edoubleprime | |
227 | for the value number of the expr. | |
228 | ||
229 | Revert | |
230 | 2008-08-21 Richard Guenther <rguenther@suse.de> | |
231 | ||
d748c406 UB |
232 | * tree-ssa-pre.c (insert_into_preds_of_block): Before inserting |
233 | a PHI ask VN if it is already available. | |
234 | * tree-ssa-sccvn.h (vn_phi_lookup): Declare. | |
235 | * tree-ssa-sccvn.c (vn_phi_lookup): Export. | |
de081cfd | 236 | |
a9d386a1 JJ |
237 | 2009-01-28 Jakub Jelinek <jakub@redhat.com> |
238 | ||
239 | PR middle-end/38934 | |
240 | * tree-vrp.c (extract_range_from_assert): For LE_EXPR and LT_EXPR | |
241 | set to varying whenever max has TREE_OVERFLOW set, similarly | |
242 | for GE_EXPR and GT_EXPR and TREE_OVERFLOW min. | |
243 | ||
97a170cd RG |
244 | 2009-01-28 Richard Guenther <rguenther@suse.de> |
245 | ||
246 | PR middle-end/38908 | |
247 | * tree-ssa.c (warn_uninitialized_var): Do not warn for seemingly | |
248 | uninitialized aggregate uses in call arguments. | |
249 | ||
89ebafc6 PB |
250 | 2009-01-28 Paolo Bonzini <bonzini@gnu.org> |
251 | ||
252 | PR tree-optimization/38984 | |
253 | * tree-ssa-structalias.c (get_constraints_for_1): Do not use | |
254 | the nothing_id variable if -fno-delete-null-pointer-checks. | |
255 | ||
bef3c57b UB |
256 | 2009-01-28 Uros Bizjak <ubizjak@gmail.com> |
257 | ||
258 | PR target/38988 | |
259 | * config/i386/i386.md (set_rip_rex64): Wrap operand 1 in label_ref. | |
260 | (set_got_offset_rex64): Ditto. | |
261 | ||
0c6390fa L |
262 | 2009-01-27 H.J. Lu <hongjiu.lu@intel.com> |
263 | ||
264 | PR target/38941 | |
265 | * doc/extend.texi: Improve local variable with asm reg. | |
266 | ||
bee6fa6d AN |
267 | 2009-01-27 Adam Nemet <anemet@caviumnetworks.com> |
268 | ||
269 | * c.opt (Wpacked-bitfield-compat): Change init value to -1. | |
270 | * c-opts.c (c_common_post_options): If -W*packed-bitfield-compat | |
271 | was not supplied then set warn_packed_bitfield_compat to the | |
272 | default value of 1. | |
273 | * stor-layout.c (place_field): Check warn_packed_bitfield_compat | |
274 | against 1. | |
275 | ||
b5c3dfbb RG |
276 | 2009-01-27 Richard Guenther <rguenther@suse.de> |
277 | ||
278 | PR tree-optimization/38503 | |
279 | * cfgexpand.c (expand_gimple_basic_block): Ignore | |
280 | GIMPLE_CHANGE_DYNAMIC_TYPE during expansion. | |
281 | * tree-ssa-structalias.c (set_uids_in_ptset): Do not prune | |
282 | variables that cannot have TBAA applied. | |
283 | (compute_points_to_sets): Do not remove GIMPLE_CHANGE_DYNAMIC_TYPE | |
284 | statements. | |
285 | ||
d748c406 | 286 | 2009-01-27 Uros Bizjak <ubizjak@gmail.com> |
576de5cb UB |
287 | |
288 | PR middle-end/38969 | |
289 | * calls.c (initialize_argument_information): Do not wrap complex | |
290 | arguments in SAVE_EXPR. | |
291 | ||
9112bb38 AT |
292 | 2009-01-26 Andreas Tobler <a.tobler@schweiz.org> |
293 | ||
294 | * config/t-vxworks (LIBGCC2_INCLUDES): Fix typo. | |
5efb79fc | 295 | (INSTALL_LIBGCC): Revert typo commit. |
9112bb38 | 296 | |
4757704f RG |
297 | 2009-01-26 Richard Guenther <rguenther@suse.de> |
298 | ||
299 | PR tree-optimization/38745 | |
300 | * tree-ssa-alias.c (update_alias_info_1): Exclude RESULT_DECL | |
301 | from special handling. | |
302 | ||
e3e6cff4 RG |
303 | 2009-01-26 Richard Guenther <rguenther@suse.de> |
304 | ||
305 | PR tree-optimization/38745 | |
306 | * tree-ssa.c (execute_update_addresses_taken): Do not include | |
307 | variables that cannot possibly be a register in not_reg_needs. | |
308 | Do not clear TREE_ADDRESSABLE on vars that may not become | |
309 | registers. | |
310 | * tree-ssa.c (update_alias_info_1): Include those in the set | |
311 | of addressable vars. | |
312 | ||
dc874b53 RG |
313 | 2009-01-26 Richard Guenther <rguenther@suse.de> |
314 | ||
315 | PR middle-end/38851 | |
316 | * Makefile.in (tree-ssa-dse.o): Add langhooks.h. | |
317 | * tree-ssa-dse.c: Include langhooks.h | |
318 | (execute_simple_dse): Remove stores with zero size. | |
319 | ||
849421a3 JJ |
320 | 2009-01-24 Jakub Jelinek <jakub@redhat.com> |
321 | ||
322 | PR c/38957 | |
323 | * c-typeck.c (c_finish_return): Handle POINTER_PLUS_EXPR the same way | |
324 | as PLUS_EXPR. | |
325 | ||
82f70421 JB |
326 | 2009-01-24 Julian Brown <julian@codesourcery.com> |
327 | ||
328 | * config/arm/t-linux-eabi (LIB2FUNCS_STATIC_EXTRA): Add | |
329 | config/arm/linux-atomic.c. | |
330 | * config/arm/linux-atomic.c: New. | |
331 | ||
863412d6 EB |
332 | 2009-01-24 Eric Botcazou <ebotcazou@adacore.com> |
333 | ||
334 | * config/sparc/linux.h (DBX_REGISTER_NUMBER): Delete. | |
335 | * config/sparc/linux64.h (DBX_REGISTER_NUMBER): Likewise. | |
336 | * config/sparc/sysv4.h (DBX_REGISTER_NUMBER): Likewise. | |
337 | ||
8c684300 L |
338 | 2009-01-24 H.J. Lu <hongjiu.lu@intel.com> |
339 | ||
340 | PR c/38938 | |
93f1527a | 341 | * c-opts.c (c_common_handle_option): Update warn_pointer_sign |
8c684300 L |
342 | properly. |
343 | ||
b840fb02 SP |
344 | 2009-01-24 Sebastian Pop <sebastian.pop@amd.com> |
345 | ||
346 | PR tree-optimization/38953 | |
347 | * graphite.c (graphite_verify): Add a call to verify_loop_closed_ssa. | |
348 | (scop_adjust_phis_for_liveouts): Initialize false_i to zero. | |
349 | (gloog): Split the exit of the scop when the scop exit is a loop exit. | |
350 | (graphite_transform_loops): Only call cleanup_tree_cfg if gloog | |
351 | changed the CFG. | |
352 | ||
ecee559f PB |
353 | 2009-01-24 Paul Brook <paul@codesourcery.com> |
354 | ||
355 | * config/arm/neon.md (neon_type): Move to arm.md. | |
356 | (neon_mov<VSTRUCT>): Add neon_type attribute. | |
357 | * config/arm/arm.md (neon_type): Move to here. | |
358 | (conds): Add "unconditioal" and use as default for NEON insns. | |
359 | ||
61ad0914 BE |
360 | 2009-01-24 Ben Elliston <bje@au.ibm.com> |
361 | ||
362 | * bitmap.h (BITMAP_FREE): Eliminate `implicit conversion from | |
363 | void *' warning from -Wc++-compat. | |
364 | * Makefile.in (dominance.o-warn): Remove. | |
365 | ||
9bacafeb PB |
366 | 2008-01-23 Paolo Bonzini <bonzini@gnu.org> |
367 | ||
368 | PR tree-optimization/38932 | |
369 | * fold-const.c (fold_unary_ignore_overflow): New. | |
370 | * tree.h (fold_unary_ignore_overflow): Declare. | |
371 | * tree-ssa-ccp.c (ccp_fold): Use fold_unary_ignore_overflow. | |
372 | * tree-ssa-sccvn.c (visit_reference_op_load, | |
373 | simplify_unary_expression): Likewise. | |
374 | ||
2cd36c22 AN |
375 | 2009-01-22 Adam Nemet <anemet@caviumnetworks.com> |
376 | ||
377 | * c-decl.c (finish_struct): Move code to set DECL_PACKED after | |
378 | DECL_BIT_FIELD is alreay known. Also inherit packed for bitfields | |
379 | regardless of their type. | |
380 | * c-common.c (handle_packed_attribute): Don't ignore packed on | |
381 | bitfields. | |
382 | * c.opt (Wpacked-bitfield-compat): New warning option. | |
383 | * stor-layout.c (place_field): Warn if offset of a field changed. | |
384 | * doc/extend.texi (packed): Mention the ABI change. | |
385 | * doc/invoke.texi (-Wpacked-bitfield-compat): Document. | |
386 | (Warning Options): Add it to the list. | |
387 | ||
e4e624ab L |
388 | 2009-01-22 H.J. Lu <hongjiu.lu@intel.com> |
389 | ||
390 | * c-opts.c (c_common_post_options): Fix a typo in comments. | |
391 | ||
d0ea0759 SE |
392 | 2009-01-22 Steve Ellcey <sje@cup.hp.com> |
393 | ||
394 | PR middle-end/38615 | |
395 | * gimplify.c (gimplify_init_constructor): Fix promotion of const | |
396 | variables to static. | |
397 | * doc/invoke.texi (-fmerge-all-constants): Update description. | |
398 | ||
87673f84 UB |
399 | 2009-01-22 Uros Bizjak <ubizjak@gmail.com> |
400 | ||
401 | PR target/38931 | |
402 | * config/i386/i386.md (*movsi_1): Use type "mmx" for alternative 2. | |
403 | (*movdi_1_rex64): Use type "mmx" for alternative 5. | |
404 | ||
96339268 RE |
405 | 2009-01-22 Richard Earnshaw <rearnsha@arm.com> |
406 | ||
407 | * arm.h (DATA_ALIGNMENT): Align structures, unions and arrays to | |
408 | a word boundary. | |
409 | (LOCAL_ALIGNMENT): Similarly. | |
410 | ||
442dc742 | 411 | 2009-01-22 Mark Shinwell <shinwell@codesourcery.com> |
87673f84 | 412 | Joseph Myers <joseph@codesourcery.com> |
442dc742 MS |
413 | |
414 | * config/arm/arm.c (all_architectures): Add iWMMXt2 entry. | |
415 | * config/arm/arm-cores.def: New ARM_CORE entry for iWMMXt2. | |
416 | * config/arm/arm-tune.md: Regenerate. | |
417 | * doc/invoke.texi (ARM Options): Document -mcpu=iwmmxt2 and | |
418 | -march=iwmmxt2. | |
419 | ||
9b34732e MS |
420 | 2009-01-22 Mark Shinwell <shinwell@codesourcery.com> |
421 | ||
422 | * config/arm/bpabi.h (SUBTARGET_EXTRA_ASM_SPEC): Bump EABI | |
423 | version number to five. | |
424 | ||
03c2a308 DS |
425 | 2009-01-22 Dodji Seketeli <dodji@redhat.com> |
426 | ||
427 | PR c++/38930 | |
428 | * c-decl.c: (clone_underlying_type): Revert PR c++/26693 changes. | |
429 | * c-common.c (set_underlying_type): Likewise. | |
430 | (is_typedef_decl ): Likewise | |
431 | * tree.h: Likewise | |
432 | (set_underlying_type): Likewise. | |
433 | (is_typedef_type): Likewise. | |
434 | ||
1240d76e VM |
435 | 2009-01-21 Vladimir Makarov <vmakarov@redhat.com> |
436 | ||
437 | PR middle-end/38587 | |
438 | * ira-color.c (coalesce_spill_slots): Don't coalesce allocnos | |
439 | crossing setjmps. | |
440 | ||
b8a1087d DK |
441 | 2009-01-21 Dave Korn <dave.korn.cygwin@gmail.com> |
442 | ||
443 | PR bootstrap/37660 | |
444 | * config/i386/cygwin.h (SHARED_LIBGCC_SPEC): New helper macro. | |
445 | (LIBGCC_SPEC): Don't define. | |
446 | (REAL_LIBGCC_SPEC): Define instead, using SHARED_LIBGCC_SPEC. | |
447 | ||
435da628 UB |
448 | 2009-01-21 Uros Bizjak <ubizjak@gmail.com> |
449 | ||
450 | PR rtl-optimization/38879 | |
451 | * alias.c (base_alias_check): Unaligned access via AND address can | |
452 | alias all surrounding object types except those with sizes equal | |
453 | or wider than the size of unaligned access. | |
454 | ||
d597b3ce DS |
455 | 2009-01-21 Dodji Seketeli <dodji@redhat.com> |
456 | ||
457 | PR c++/26693 | |
435da628 | 458 | * c-decl.c: (clone_underlying_type): Move this ... |
d597b3ce | 459 | * c-common.c (set_underlying_type): ... here. |
435da628 | 460 | Also, make sure the function properly sets TYPE_STUB_DECL() on |
d597b3ce DS |
461 | the newly created typedef variant type. |
462 | (is_typedef_decl ): New entry point. | |
463 | * tree.h: Added a new member member_types_needing_access_check to | |
464 | struct tree_decl_non_common. | |
465 | (set_underlying_type): New entry point. | |
466 | (is_typedef_type): Likewise. | |
467 | ||
71a6fe66 BM |
468 | 2009-01-21 Bingfeng Mei <bmei@broadcom.com> |
469 | ||
470 | * alias.c (walk_mems_1, walk_mems_2, insn_alias_sets_conflict_p): | |
471 | Check whether two instructions have memory references that | |
472 | belong to conflicting alias sets. walk_mems_1 and walk_mems_2 | |
473 | are helper functions for traversing. | |
474 | * alias.h (insn_alias_sets_confilict_p): New prototypes. | |
475 | * ddg.c (add_inter_loop_mem_dep): Call insn_alias_sets_conflict_p | |
476 | not to draw dependency edge for instructions with non-conflicting | |
477 | alias sets. | |
478 | ||
5a248274 JM |
479 | 2009-01-20 Joseph Myers <joseph@codesourcery.com> |
480 | ||
481 | PR other/38758 | |
482 | * longlong.h: Update copyright years. Use soft-fp license | |
483 | notice. Sync __clz_tab declaration with glibc. | |
484 | ||
4b84f3de SE |
485 | 2009-01-20 Steve Ellcey <sje@cup.hp.com> |
486 | ||
487 | PR target/30687 | |
488 | * doc/extend.texi (syscall_linkage): New. | |
489 | (version_id): Modify. | |
490 | ||
37348bf1 | 491 | 2009-01-20 Andrew Pinski <andrew_pinski@playstation.sony.com> |
435da628 | 492 | Richard Guenther <rguenther@suse.de> |
37348bf1 AP |
493 | |
494 | PR tree-optimization/38747 | |
495 | PR tree-optimization/38748 | |
496 | * tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Disable the VCE | |
497 | conversion if the base address is an indirect reference and the | |
498 | aliasing sets could cause issues. | |
499 | ||
d0a58904 SP |
500 | 2009-01-20 Sebastian Pop <sebastian.pop@amd.com> |
501 | ||
502 | * common.opt (fgraphite, fgraphite-identity): Add comment for | |
503 | explaining why these options are not documented. | |
504 | ||
71e7afb2 SP |
505 | 2009-01-20 Sebastian Pop <sebastian.pop@amd.com> |
506 | ||
507 | * graphite.c (stmt_simple_for_scop_p): Also handle cases when | |
508 | gimple_call_lhs is NULL. | |
509 | ||
09efeca1 PB |
510 | 2008-01-20 Paolo Bonzini <bonzini@gnu.org> |
511 | ||
512 | PR target/38868 | |
513 | * emit-rtl.c (adjust_address_1): Make sure memref is never | |
514 | overwritten. | |
515 | ||
cbb8dee3 BE |
516 | 2009-01-20 Ben Elliston <bje@au.ibm.com> |
517 | ||
518 | * libgcov.c (__gcov_execl, __gcov_execlp, __gcov_execle): Remove | |
435da628 | 519 | const qualifier from arg parameter. Remove unnecessary cast to char *. |
cbb8dee3 BE |
520 | * gcov-io.h (__gcov_execl, __gcov_execlp, __gcov_execle): Remove |
521 | const qualifier from arg 2. | |
522 | ||
72c66596 IS |
523 | 2009-01-19 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk> |
524 | ||
435da628 | 525 | * config/darwin.h: Add static-libgfortran to LINK_SPEC. |
72c66596 | 526 | |
f68211cd VM |
527 | 2009-01-19 Vladimir Makarov <vmakarov@redhat.com> |
528 | ||
529 | PR c/38869 | |
530 | * rtl.h (reinit_regs): New prototype. | |
531 | * regclass.c: Include ira.h. | |
532 | (reinit_regs): New. | |
533 | * Makefile.in (regclass.o): Add ira.h. | |
534 | * config/i386/i386.c (ix86_maybe_switch_abi): Use reinit_regs. | |
535 | ||
6e4f1168 L |
536 | 2009-01-18 H.J. Lu <hongjiu.lu@intel.com> |
537 | ||
538 | PR target/38736 | |
539 | * c-common.c (handle_aligned_attribute): Use | |
540 | ATTRIBUTE_ALIGNED_VALUE instead of BIGGEST_ALIGNMENT for | |
541 | default alignment value. | |
542 | ||
543 | * c-cppbuiltin.c (c_cpp_builtins): Define __BIGGEST_ALIGNMENT__. | |
544 | ||
545 | * defaults.h (ATTRIBUTE_ALIGNED_VALUE): New. | |
546 | * config/i386/i386.h (ATTRIBUTE_ALIGNED_VALUE): Likewise. | |
547 | ||
548 | * doc/extend.texi: Update __attribute__ ((aligned)). Document | |
549 | __BIGGEST_ALIGNMENT__. | |
550 | ||
551 | * doc/tm.texi: Document ATTRIBUTE_ALIGNED_VALUE. | |
552 | ||
890065bf RG |
553 | 2009-01-18 Richard Guenther <rguenther@suse.de> |
554 | ||
555 | PR tree-optimization/38819 | |
556 | * tree-flow.h (operation_could_trap_helper_p): Declare. | |
557 | * tree-eh.c (operation_could_trap_helper_p): Export. | |
558 | * tree-ssa-sccvn.h (vn_nary_may_trap): Declare. | |
559 | * tree-ssa-sccvn.c (vn_nary_may_trap): New function. | |
560 | * tree-ssa-pre.c (insert_into_preds_of_block): Check if we | |
561 | are about to insert a possibly trapping instruction and fail | |
562 | in this case. | |
563 | ||
a729d731 AS |
564 | 2009-01-18 Andreas Schwab <schwab@suse.de> |
565 | ||
566 | * doc/install.texi (Configuration): Remove obsolete paragraph | |
567 | about use of --with-gnu-ld with --with-gnu-as. | |
568 | ||
a640c13b KH |
569 | 2009-01-18 Kazu Hirata <kazu@codesourcery.com> |
570 | ||
571 | * doc/extend.texi, doc/gimple.texi, doc/invoke.texi, | |
572 | doc/md.texi, doc/sourcebuild.texi, doc/tm.texi: Fix typos. | |
573 | Follow spelling conventions. | |
574 | ||
dba2cc0c BE |
575 | 2009-01-18 Ben Elliston <bje@au.ibm.com> |
576 | ||
577 | * bitmap.c (bitmap_obstack_alloc_stat): Adjust cast to eliminate | |
578 | C++ warning about implicit conversion from void * to struct | |
579 | bitmap_head_def *. | |
580 | (bitmap_obstack_free): Likewise for bitmap_element *. | |
bc127c63 | 581 | * Makefile.in (bitmap.o-warn): Remove. |
dba2cc0c | 582 | |
2207a498 DK |
583 | 2009-01-17 Dave Korn <dave.korn.cygwin@gmail.com> |
584 | ||
585 | * Makefile.in (BACKENDLIBS): Reorder to match dependencies. | |
586 | ||
8137e465 SP |
587 | 2009-01-17 Sebastian Pop <sebastian.pop@amd.com> |
588 | Tobias Grosser <tobi.grosser@amd.com> | |
589 | ||
590 | * graphite.c (graphite_trans_scop_block): Do not block single | |
591 | nested loops. | |
592 | ||
5be1c58c AO |
593 | 2009-01-16 Alexandre Oliva <aoliva@redhat.com> |
594 | ||
595 | * ebitmap.h (ebitmap_iter_init): Initialize all fields. | |
596 | * ipa-struct-reorg.c (gen_struct_type): Replace known-true | |
597 | test with assertion. | |
598 | ||
786ce82d RG |
599 | 2009-01-16 Richard Guenther <rguenther@suse.de> |
600 | ||
601 | PR tree-optimization/38835 | |
602 | PR middle-end/36227 | |
603 | * fold-const.c (fold_binary): Remove PTR + INT -> (INT)(PTR p+ INT) | |
604 | and INT + PTR -> (INT)(PTR p+ INT) folding. | |
605 | * tree-ssa-address.c (create_mem_ref): Properly use POINTER_PLUS_EXPR. | |
606 | ||
c1cb09ad AN |
607 | 2009-01-16 Adam Nemet <anemet@caviumnetworks.com> |
608 | ||
609 | PR target/38554 | |
610 | * expmed.c (expand_shift): With SHIFT_COUNT_TRUNCATED, don't lift | |
611 | the subreg from a lowpart subreg if it is also casting the value. | |
612 | ||
bcab4e19 SP |
613 | 2009-01-16 Sebastian Pop <sebastian.pop@amd.com> |
614 | Tobias Grosser <tobi.grosser@amd.com> | |
615 | ||
616 | * graphite.c (compare_prefix_loops): New. | |
617 | (build_scop_canonical_schedules): Rewritten. | |
618 | (graphite_transform_loops): Move build_scop_canonical_schedules | |
619 | after build_scop_iteration_domain. | |
620 | ||
0b040072 SP |
621 | 2009-01-16 Sebastian Pop <sebastian.pop@amd.com> |
622 | Tobias Grosser <tobi.grosser@amd.com> | |
623 | ||
624 | * graphite.c (add_conditions_to_domain): Add the loops to | |
625 | the dimension of the iteration domain. Do copy the domain | |
626 | only when it exists. | |
627 | (build_scop_conditions_1): Do not call add_conditions_to_domain. | |
628 | (add_conditions_to_constraints): New. | |
629 | (can_generate_code_stmt, can_generate_code): Removed. | |
630 | (gloog): Do not call can_generate_code. | |
631 | (graphite_transform_loops): Call add_conditions_to_constraints | |
632 | after building the iteration domain. | |
633 | ||
56c6a499 JJ |
634 | 2009-01-16 Jakub Jelinek <jakub@redhat.com> |
635 | ||
636 | PR tree-optimization/38789 | |
637 | * tree-ssa-threadedge.c | |
638 | (record_temporary_equivalences_from_stmts_at_dest): Ignore calls to | |
639 | __builtin_constant_p. | |
640 | ||
cd3f1729 KZ |
641 | 2009-01-16 Kenneth Zadeck <zadeck@naturalbridge.com> |
642 | ||
643 | * dce.c (delete_unmarked_insns): Reversed the order that insns are | |
644 | examined before deleting them. | |
645 | ||
c433cb14 RE |
646 | 2009-01-16 Richard Earnshaw <rearnsha@arm.com> |
647 | ||
648 | * function.c (aggregate_value_p): Correctly extract the function | |
649 | type from CALL_EXPR_FN lookup. | |
650 | ||
27d62fa4 HS |
651 | 2009-01-16 Hariharan Sandanagobalane <hariharan@picochip.com> |
652 | ||
653 | * config/picochip/picochip.c (picochip_override_options): Revert | |
654 | CFI asm flag disable commited previously. | |
655 | ||
c77bb78f SP |
656 | 2009-01-15 Sebastian Pop <sebastian.pop@amd.com> |
657 | Tobias Grosser <tobi.grosser@amd.com> | |
658 | Jan Sjodin <jan.sjodin@amd.com> | |
659 | ||
660 | * graphite.c (scan_tree_for_params): On substractions negate | |
661 | all the coefficients of the term. | |
662 | (clast_to_gcc_expression_red): New. Handle reduction expressions | |
663 | of more than two operands. | |
664 | (clast_to_gcc_expression): Call clast_to_gcc_expression_red. | |
665 | (get_vdef_before_scop): Handle also the case of default definitions. | |
666 | ||
574af2d6 RS |
667 | 2009-01-15 Richard Sandiford <rdsandiford@googlemail.com> |
668 | ||
669 | * caller-save.c (add_used_regs_1, add_used_regs): New functions. | |
670 | (insert_one_insn): Use them instead of REG_DEAD and REG_INC notes. | |
671 | Also use them when walking CALL_INSN_FUNCTION_USAGE. | |
672 | ||
e939805b L |
673 | 2009-01-15 H.J. Lu <hongjiu.lu@intel.com> |
674 | Joey Ye <joey.ye@intel.com> | |
675 | ||
676 | PR middle-end/37843 | |
677 | * cfgexpand.c (expand_stack_alignment): Don't update stack | |
678 | boundary nor check incoming stack boundary here. | |
679 | (gimple_expand_cfg): Update stack boundary and check incoming | |
680 | stack boundary here. | |
681 | ||
750900db KZ |
682 | 2009-01-15 Kenneth Zadeck <zadeck@naturalbridge.com> |
683 | ||
435da628 | 684 | * dce.c (find_call_stack_args, delete_unmarked_insns): Fixed comments. |
750900db | 685 | |
0196c95e JJ |
686 | 2009-01-14 Jakub Jelinek <jakub@redhat.com> |
687 | ||
688 | PR rtl-optimization/38245 | |
689 | * calls.c (expand_call): Add stack arguments to | |
690 | CALL_INSN_FUNCTION_USAGE even for pure calls (when | |
691 | ACCUMULATE_OUTGOING_ARGS) and even for args partially passed | |
692 | in regs and partially in memory or BLKmode arguments. | |
693 | (emit_library_call_value_1): Add stack arguments to | |
694 | CALL_INSN_FUNCTION_USAGE even for pure calls (when | |
695 | ACCUMULATE_OUTGOING_ARGS). | |
696 | * dce.c: Include tm_p.h. | |
697 | (find_call_stack_args): New function. | |
698 | (deletable_insn_p): Call it for CALL_P insns. Add ARG_STORES | |
699 | argument. | |
700 | (mark_insn): Call find_call_stack_args for CALL_Ps. | |
701 | (prescan_insns_for_dce): Walk insns backwards in bb rather than | |
702 | forwards. Allocate and free arg_stores bitmap if needed, pass it | |
703 | down to deletable_insn_p, don't mark stores set in arg_stores | |
704 | bitmap, clear the bitmap at the beginning of each bb. | |
705 | * Makefile.in (dce.o): Depend on $(TM_P_H). | |
706 | ||
6df6bcfa MM |
707 | 2009-01-14 Michael Meissner <gnu@the-meissners.org> |
708 | ||
709 | PR target/22599 | |
435da628 UB |
710 | * config/i386/i386.c (print_operand): Add tests for 'D', 'C', 'F', 'f' |
711 | to make sure the insn is a conditional test (bug 22599). Reformat a | |
712 | few long lines. | |
6df6bcfa | 713 | |
765ec70c SP |
714 | 2009-01-14 Sebastian Pop <sebastian.pop@amd.com> |
715 | ||
716 | PR middle-end/38431 | |
717 | * graphite.c (get_vdef_before_scop, scop_adjust_vphi): New. | |
718 | (scop_adjust_phis_for_liveouts): Call scop_adjust_vphi. | |
719 | (gloog): Do not call cleanup_tree_cfg. | |
720 | (graphite_transform_loops): Call cleanup_tree_cfg after all | |
721 | scops have been code generated. | |
722 | ||
7de2b688 BS |
723 | 2009-01-14 Basile Starynkevitch <basile@starynkevitch.net> |
724 | * doc/gty.texi (Invoking the garbage collector): Added new node | |
725 | and section documenting ggc_collect. | |
726 | ||
10bd6c5c RG |
727 | 2009-01-14 Richard Guenther <rguenther@suse.de> |
728 | ||
729 | PR tree-optimization/38826 | |
730 | PR middle-end/38477 | |
731 | * tree-ssa-structalias.c (emit_alias_warning): Emit the pointer | |
732 | initialization notes only if we actually emitted a warning. | |
733 | (intra_create_variable_infos): Add constraints for a result decl | |
734 | that is passed by hidden reference. | |
735 | (build_pred_graph): Mark all related variables non-direct on | |
736 | address-taking. | |
737 | ||
9c7c70ee NC |
738 | 2009-01-14 Nick Clifton <nickc@redhat.com> |
739 | ||
740 | * ira-conflicts.c: Include addresses.h for the definition of | |
741 | base_reg_class. | |
435da628 UB |
742 | (ira_build_conflicts): Use base_reg_class instead of BASE_REG_CLASS. |
743 | * Makefile.in: Add a dependency of ira-conflicts.o on addresses.h. | |
9c7c70ee | 744 | |
cf0c2a60 VM |
745 | 2009-01-13 Vladimir Makarov <vmakarov@redhat.com> |
746 | ||
747 | PR target/38811 | |
748 | * Makefile.in (ira-lives.o): Add except.h. | |
749 | ||
750 | * ira-lives.c: Include except.h. | |
751 | (process_bb_node_lives): Process can_throw_internal. | |
752 | ||
d3302fd3 JJ |
753 | 2009-01-13 Jakub Jelinek <jakub@redhat.com> |
754 | ||
755 | PR rtl-optimization/38774 | |
756 | * combine.c (simplify_set): When undoing cc_use change, don't do | |
757 | PUT_CODE on the newly created comparison, but instead put back the | |
758 | old comparison. | |
759 | ||
7ab23fd0 JM |
760 | 2009-01-13 Joseph Myers <joseph@codesourcery.com> |
761 | ||
762 | * doc/invoke.texi (ARM Options): Update lists of -mcpu and -march | |
763 | values. Remove duplicate arm8 entry. | |
764 | ||
f9344488 SP |
765 | 2009-01-13 Sebastian Pop <sebastian.pop@amd.com> |
766 | ||
767 | PR tree-optimization/38786 | |
768 | * graphite.c (expand_scalar_variables_ssa_name): New, outlined from | |
769 | the SSA_NAME case of expand_scalar_variables_expr. | |
770 | Set the type of an expression to the type of its assign statement. | |
771 | (expand_scalar_variables_expr): Also gather the scalar computation | |
772 | used to index the memory access. Do not pass loop_p. | |
773 | Fix comment. Stop recursion on tcc_constant or tcc_declaration. | |
774 | (expand_scalar_variables_stmt): Pass to expand_scalar_variables_expr | |
bef3c57b UB |
775 | the gimple_stmt_iterator where it inserts new code. |
776 | Do not pass loop_p. | |
f9344488 SP |
777 | (copy_bb_and_scalar_dependences): Do not pass loop_p. |
778 | (translate_clast): Update call to copy_bb_and_scalar_dependences. | |
779 | ||
2d8bb84d SP |
780 | 2009-01-13 Sebastian Pop <sebastian.pop@amd.com> |
781 | ||
782 | * graphite.h (debug_value): Removed. | |
783 | * graphite.c (debug_value): Removed. | |
784 | ||
ff128632 RE |
785 | 2009-01-13 Richard Earnshaw <rearnsha@arm.com> |
786 | ||
435da628 UB |
787 | * config/arm/arm.c (output_move_double): Don't synthesize thumb-2 |
788 | ldrd/strd with two 32-bit instructions. | |
ff128632 | 789 | |
d5a0a47b RE |
790 | 2009-01-13 Richard Earnshaw <rearnsha@arm.com> |
791 | ||
435da628 UB |
792 | * config/arm/arm.c (struct processors): Pass for speed down into |
793 | cost helper functions. | |
d5a0a47b RE |
794 | (const_ok_for_op): Handle COMPARE and inequality nodes. |
795 | (arm_rtx_costs_1): Rewrite. | |
796 | (arm_size_rtx_costs): Update prototype. | |
797 | (arm_rtx_costs): Pass speed down to helper functions. | |
798 | (arm_slowmul_rtx_costs): Rework cost calculations. | |
799 | (arm_fastmul_rtx_costs, arm_xscale_rtx_costs): Likewise. | |
800 | (arm_9e_rtx_costs): Likewise. | |
801 | ||
26d5bf5b UB |
802 | 2009-01-13 Uros Bizjak <ubizjak@gmail.com> |
803 | ||
804 | * config/alpha/alpha.c (alpha_legitimate_address_p): Explicit | |
435da628 | 805 | relocations of local symbols wider than UNITS_PER_WORD are not valid. |
26d5bf5b UB |
806 | (alpha_legitimize_address): Do not split local symbols wider than |
807 | UNITS_PER_WORD into HIGH/LO_SUM parts. | |
808 | ||
5d14e3d5 DS |
809 | 2009-01-13 Danny Smith <dannysmith@users.sourceforge.net> |
810 | ||
811 | PR bootstrap/38580 | |
812 | * gcc.c (process_command): Replace call to execvp with calls | |
813 | to pex_one and exit. | |
814 | ||
33faafca AS |
815 | 2009-01-03 Anatoly Sokolov <aesok@post.ru> |
816 | ||
817 | PR target/29141 | |
818 | * config/avr/t-avr (LIB1ASMFUNCS): Add _tablejump_elpm. | |
819 | * config/avr/libgcc.S (__do_global_ctors, __do_global_dtors): Add | |
820 | variant for devices with 3-byte PC. | |
821 | (__tablejump_elpm__) : New. | |
822 | ||
634b5df5 JJ |
823 | 2009-01-12 Jakub Jelinek <jakub@redhat.com> |
824 | ||
825 | PR c/32041 | |
826 | * c-parser.c (c_parser_postfix_expression): Allow `->' in | |
827 | offsetof member-designator, handle it as `[0].'. | |
828 | ||
2842bb86 JDA |
829 | 2009-01-12 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
830 | ||
831 | * pa.c (pa_asm_output_mi_thunk): Use pc-relative branch to thunk | |
832 | function when not using named sections on targets with named sections | |
833 | if branch distance is less than 262132. | |
834 | ||
76ee70f6 RE |
835 | 2009-01-12 Richard Earnshaw <rearnsha@arm.com> |
836 | ||
837 | * combine.c (combine_instructions): Recompute | |
838 | optimize_this_for_speed_p for each BB in the main combine loop. | |
839 | ||
f56e675d TB |
840 | 2009-01-12 Tomas Bily <tbily@suse.cz> |
841 | ||
842 | PR middlend/38385 | |
26d5bf5b UB |
843 | * tree-loop-distribution.c (prop_phis): New function. |
844 | (generate_builtin): Call prop_phis. | |
845 | * testsuite/gcc.dg/tree-ssa/pr38385.c: New file. | |
f56e675d | 846 | |
c2152239 JJ |
847 | 2009-01-12 Jakub Jelinek <jakub@redhat.com> |
848 | ||
849 | PR tree-optimization/38807 | |
850 | * tree-ssa-reassoc.c (remove_visited_stmt_chain): Don't look at | |
851 | gimple_visited_p unless stmt is GIMPLE_ASSIGN. | |
852 | ||
0e510b3e AN |
853 | 2009-01-11 Adam Nemet <anemet@caviumnetworks.com> |
854 | ||
855 | * expmed.c (store_bit_field_1): Properly truncate the paradoxical | |
856 | subreg of op0 to the original op0. | |
857 | ||
10270471 LG |
858 | 2009-01-11 Laurent GUERBY <laurent@guerby.net> |
859 | ||
860 | * doc/sourcebuild.texi (Source Tree): Move up intl and fixinc. | |
861 | ||
53a7ff9a MS |
862 | 2009-01-11 Markus Schoepflin <markus.schoepflin@comsoft.de> |
863 | ||
864 | PR debug/7055 | |
865 | * gcc/mips-tfile.c (parse_def): Fix parsing of def strings | |
866 | starting with digits. | |
867 | ||
b3a796bc JJ |
868 | 2009-01-10 Jakub Jelinek <jakub@redhat.com> |
869 | ||
870 | PR target/38695 | |
871 | * config/arm/arm.c (arm_is_long_call_p): Don't call | |
872 | arm_function_in_section_p if decl isn't a FUNCTION_DECL. | |
873 | ||
b21b850e SB |
874 | 2009-01-09 Steven Bosscher <steven@gcc.gnu.org> |
875 | ||
876 | * regrename.c (regrename_optimize): Fix dumping. | |
877 | (find_oldest_value_reg): Preserve REG_POINTER. | |
878 | (copy_hardreg_forward_1): Likewise. | |
879 | ||
e0e10d3a DN |
880 | 2009-01-09 Diego Novillo <dnovillo@google.com> |
881 | ||
882 | * gimple.h (struct gimple_statement_base)<uid>: Document | |
883 | the restrictions on its use. | |
884 | (gimple_uid): Tidy. | |
885 | (gimple_set_uid): Tidy. | |
886 | ||
c9da2ae8 JJ |
887 | 2009-01-09 Jakub Jelinek <jakub@redhat.com> |
888 | ||
889 | * config/i386/i386.c (ix86_expand_movmem, ix86_expand_setmem): Add | |
890 | zero guard even if align_bytes != 0 and count is smaller than | |
891 | size_needed. | |
892 | ||
a174c19c VM |
893 | 2008-01-09 Vladimir Makarov <vmakarov@redhat.com> |
894 | ||
895 | PR rtl-optimization/38495 | |
26d5bf5b | 896 | * ira-emit.c (print_move_list, ira_debug_move_list): New functions. |
a174c19c VM |
897 | (add_range_and_copies_from_move_list): Print all added ranges. |
898 | Add ranges to memory optimized destination. | |
899 | ||
260fda3d JJ |
900 | 2009-01-09 Jakub Jelinek <jakub@redhat.com> |
901 | ||
6f6278ad JJ |
902 | PR target/38686 |
903 | PR target/38708 | |
904 | * config/i386/i386.c (override_options): Reject | |
905 | -mstringop-strategy=rep_8byte with -m32. | |
906 | (ix86_expand_movmem): For size_needed == 1 set epilogue_size_needed | |
907 | to 1. Do count comparison against epilogue_size_needed at compile | |
908 | time even when count_exp was constant forced into register. For | |
909 | size_needed don't jump to epilogue, instead just avoid aligning | |
910 | and invoke the body algorithm. If need_zero_guard, add zero guard | |
911 | even if count is non-zero, but smaller than size_needed + number of | |
912 | bytes that could be stored for alignment. | |
913 | (ix86_expand_setmem): For size_needed == 1 set epilogue_size_needed | |
914 | to 1. If need_zero_guard, add zero guard even if count is non-zero, | |
915 | but smaller than size_needed + number of bytes that could be stored | |
916 | for alignment. Compare size_needed with epilogue_size_needed instead | |
917 | of desired_align - align, don't adjust size_needed, pass | |
918 | epilogue_size_needed to the epilogue expanders. | |
919 | ||
260fda3d | 920 | PR c/35742 |
26d5bf5b | 921 | * c-pretty-print.c (pp_c_expression): Handle GOTO_EXPR like BIND_EXPR. |
260fda3d | 922 | |
67b846fa JDA |
923 | 2009-01-09 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
924 | ||
925 | * pa.c (last_address): Change to unsigned. | |
926 | (update_total_code_bytes): Change argument to unsigned. Don't | |
927 | check if insn addresses are set. | |
928 | (pa_output_function_epilogue): Set last_address to UINT_MAX if insn | |
929 | addresses are not set. | |
930 | (pa_asm_output_mi_thunk): Handle wrap when updating last_address. | |
931 | ||
91c82473 NC |
932 | 2009-01-09 Nick Clifton <nickc@redhat.com> |
933 | ||
934 | * config/sh/symbian.c: Replace uses of DECL_INLINE with | |
935 | DECL_DECLARED_INLINE_P. | |
936 | ||
4017e262 JJ |
937 | 2009-01-09 Jakub Jelinek <jakub@redhat.com> |
938 | ||
0a49e5c2 JJ |
939 | PR middle-end/38347 |
940 | * dojump.c (do_jump_by_parts_zero_rtx): Use mode instead of | |
941 | GET_MODE (op0) in operand_subword_force calls. | |
942 | ||
4017e262 JJ |
943 | PR middle-end/38771 |
944 | * fold-const.c (fold_unary): For COMPOUND_EXPR and COND_EXPR, | |
945 | fold_convert arg0 operands to TREE_TYPE (op0) first. | |
946 | ||
7cd06356 VM |
947 | 2009-01-08 Vladimir Makarov <vmakarov@redhat.com> |
948 | ||
949 | * params.def (ira-max-conflict-table-size): Decrease default value | |
950 | to 1000. | |
951 | ||
96867bbd JJ |
952 | 2009-01-08 Jakub Jelinek <jakub@redhat.com> |
953 | ||
954 | PR tree-optimization/37031 | |
955 | * lambda-code.c (lambda_collect_parameters): Call pointer_set_destroy | |
956 | on parameter_set. | |
957 | (build_access_matrix): Reserve correct size for AM_MATRIX vector, | |
958 | allocate it using gc instead of heap, use VEC_quick_push instead of | |
959 | VEC_safe_push. | |
960 | * graphite.c (build_access_matrix): Allocate AM_MATRIX vector using gc | |
961 | instead of heap, use VEC_quick_push instead of VEC_safe_push. | |
962 | * tree-data-ref.h (struct access_matrix): Change matrix to gc | |
963 | allocated vector from heap allocated. | |
964 | * lambda.h: Add DEF_VEC_ALLOC_P for gc allocated lambda_vector. | |
965 | * tree-loop-linear.c (linear_transform_loops): Allocate nest | |
966 | vector only after perfect_loop_nest_depth call. | |
967 | ||
68f61c3d SP |
968 | 2009-01-08 Sebastian Pop <sebastian.pop@amd.com> |
969 | Jan Sjodin <jan.sjodin@amd.com> | |
970 | ||
971 | PR tree-optimization/38559 | |
972 | * graphite.c (debug_value, copy_constraint, | |
973 | swap_constraint_variables, scale_constraint_variable, ): New. | |
974 | (get_lower_bound, get_upper_bound): Removed. | |
975 | (graphite_trans_bb_strip_mine): Clean up this code that works | |
976 | only for constant number of iterations. Fully copy upper and | |
977 | lower bound constraints, not only the constant part of them. | |
978 | * graphite.h (debug_value): Declared. | |
979 | ||
82567e33 IR |
980 | 2009-01-08 Ira Rosen <irar@il.ibm.com> |
981 | ||
982 | PR tree-optimization/37194 | |
983 | * tree-vect-transform.c (vect_estimate_min_profitable_iters): | |
984 | Don't add the cost of cost model guard in prologue to scalar | |
985 | outside cost in case of known number of iterations. | |
986 | ||
7da13f1d NF |
987 | 2009-01-07 Nathan Froyd <froydnj@codesourcery.com> |
988 | Alan Modra <amodra@bigpond.net.au> | |
989 | ||
990 | * config/rs6000/rs6000.c (rs6000_legitimize_address): Check for | |
991 | non-word-aligned REG+CONST addressing. | |
992 | ||
c0f64575 UB |
993 | 2009-01-07 Uros Bizjak <ubizjak@gmail.com> |
994 | ||
995 | PR target/38706 | |
996 | * config/alpha/alpha.c (alpha_end_function): For TARGET_ABI_OSF, call | |
997 | free_after_compilation when outputting a thunk. | |
998 | (alpha_output_mi_thunk_osf): Assert that we are processing a thunk. | |
999 | Do not call free_after_compilation here. | |
1000 | ||
301b6a4e UB |
1001 | 2009-01-07 Uros Bizjak <ubizjak@gmail.com> |
1002 | ||
1003 | * config/i386/i386.c (ix86_target_string): Use ARRAY_SIZE. | |
301b6a4e UB |
1004 | (ix86_valid_target_attribute_inner_p): Ditto. |
1005 | ||
6a114766 JS |
1006 | 2009-01-07 Jan Sjodin <jan.sjodin@amd.com> |
1007 | ||
1008 | PR tree-optimization/38492 | |
1009 | PR tree-optimization/38498 | |
1010 | * tree-check.c (operator_is_linear, scev_is_linear_expression): New. | |
1011 | * tree-chrec.h (scev_is_linear_expression): Declared. | |
1012 | * graphite.c (graphite_cannot_represent_loop_niter): New. | |
1013 | (scopdet_basic_block_info): Call graphite_cannot_represent_loop_niter. | |
1014 | (graphite_loop_normal_form): Use gcc_assert. | |
1015 | (scan_tree_for_params): Use CASE_CONVERT. | |
1016 | (phi_node_is_iv, bb_contains_non_iv_scalar_phi_nodes): New. | |
1017 | (build_scop_conditions_1): Call bb_contains_non_iv_scalar_phi_nodes. | |
1018 | Use gcc_assert. Discard scops that contain unhandled cases. | |
1019 | (build_scop_conditions): Return a boolean status for unhandled cases. | |
1020 | (strip_mine_profitable_p): Print the loop number, not its depth. | |
1021 | (is_interchange_valid): Pass the depth of the loop nest, don't | |
1022 | recompute it wrongly. | |
1023 | (graphite_trans_bb_block): Same. | |
1024 | (graphite_trans_bb_block): Print tentative of loop blocking. | |
1025 | (graphite_trans_scop_block): Do not print that the loop has been | |
1026 | blocked. | |
1027 | (graphite_transform_loops): Do not handle scops that contain condition | |
1028 | scalar phi nodes. | |
1029 | ||
65b82caa L |
1030 | 2009-01-07 H.J. Lu <hongjiu.lu@intel.com> |
1031 | ||
1032 | AVX Programming Reference (December, 2008) | |
1033 | * config/i386/avxintrin.h (_mm256_stream_si256): New. | |
1034 | (_mm256_stream_pd): Likewise. | |
1035 | (_mm256_stream_ps): Likewise. | |
1036 | ||
1037 | * config/i386/i386.c (ix86_builtins): Add IX86_BUILTIN_MOVNTDQ256, | |
1038 | IX86_BUILTIN_MOVNTPD256 and IX86_BUILTIN_MOVNTPS256. | |
1039 | (ix86_special_builtin_type): Add VOID_FTYPE_PV4DI_V4DI. | |
1040 | (bdesc_special_args): Add __builtin_ia32_movntdq256, | |
1041 | __builtin_ia32_movntpd256 and __builtin_ia32_movntps256. | |
1042 | (ix86_init_mmx_sse_builtins): Handle VOID_FTYPE_PV4DI_V4DI. | |
1043 | (ix86_expand_special_args_builtin): Likewise. | |
1044 | ||
1045 | * config/i386/sse.md (AVXMODEDI): New. | |
1046 | (avx_movnt<mode>): Likewise. | |
1047 | (avx_movnt<mode>): Likewise. | |
1048 | (<sse>_movnt<mode>): Remove AVX support. | |
1049 | (sse2_movntv2di): Likewise. | |
1050 | ||
cef158f9 RG |
1051 | 2009-01-07 Richard Guenther <rguenther@suse.de> |
1052 | ||
1053 | PR middle-end/38751 | |
1054 | * fold-const.c (extract_muldiv): Remove obsolete comment. | |
1055 | (fold_plusminus_mult_expr): Undo MINUS_EXPR | |
1056 | to PLUS_EXPR canonicalization for the canonicalization. | |
1057 | ||
246cb5be GP |
1058 | 2009-01-07 Gerald Pfeifer <gerald@pfeifer.com> |
1059 | ||
1060 | * doc/install.texi (alpha*-dec-osf*): Remove note on 32-bit | |
1061 | hosted cross-compilers generating less efficient code. | |
1062 | ||
84b9b872 RS |
1063 | 2009-01-06 Richard Sandiford <rdsandiford@googlemail.com> |
1064 | ||
1065 | * function.h (rtl_data): Add a dbr_scheduled_p field. | |
1066 | * reorg.c (dbr_schedule): Set it. | |
1067 | (gate_handle_delay_slots): Check it. | |
1068 | * config/mips/mips.c (mips_base_delayed_branch): Delete. | |
1069 | (mips_reorg): Check flag_delayed_branch instead of | |
1070 | mips_base_delayed_branch. | |
1071 | (mips_override_options): Don't set mips_base_delayed_branch | |
1072 | or flag_delayed_branch. | |
1073 | ||
ace984c8 RS |
1074 | 2009-01-06 Richard Sandiford <rdsandiford@googlemail.com> |
1075 | ||
1076 | PR rtl-optimization/38426. | |
1077 | * ira.c (ira): Set current_function_is_leaf earlier. | |
1078 | ||
7ad7809b JJ |
1079 | 2009-01-06 Jakub Jelinek <jakub@redhat.com> |
1080 | ||
1081 | PR rtl-optimization/38722 | |
1082 | * combine.c (try_combine): Don't modify PATTERN (i3) and notes | |
1083 | too early, only set a flag and modify after last possible | |
1084 | undo_all point. | |
1085 | ||
c52ec948 JJ |
1086 | 2009-01-06 Janis Johnson <janis187@us.ibm.com> |
1087 | ||
1088 | PR c/34252 | |
1089 | * ginclude/float.h: Rename DECnn_DEN to DECnn_SUBNORMAL_MIN. | |
1090 | * real.c (decimal_single_format): Correct values of emin and emax. | |
1091 | (decimal_double_format): Ditto. | |
1092 | (decimal_quad_format): Ditto. | |
1093 | * c-cppbuiltin.c (builtin_define_decimal_float_constants): Adjust | |
1094 | computation of DECnn_MIN and DECnn_MAX for corrected values of | |
1095 | emin and emax. Define __DECnn_SUBNORMAL_MIN__ instead of | |
1096 | __DECnn_MIN__, and adjust its computation for the corrected value | |
1097 | of emin. | |
1098 | ||
300240e1 JH |
1099 | 2009-01-06 Jan Hubicka <jh@suse.cz> |
1100 | ||
1101 | PR target/38744 | |
435da628 | 1102 | * config/i386/i386.c (ix86_expand_call): Use ARRAY_SIZE. |
300240e1 | 1103 | |
271c069e GP |
1104 | 2009-01-06 Gerald Pfeifer <gerald@pfeifer.com> |
1105 | ||
1106 | * doc/contrib.texi (Contributors): Slightly adjust the end note. | |
1107 | Add Robert Clark to the list of testers. | |
1108 | ||
64e4c301 JH |
1109 | 2009-01-06 Jan Hubicka <jh@suse.cz> |
1110 | Kai Tietz <kai.tietz@onevision.com> | |
1111 | ||
435da628 UB |
1112 | * config/i386/i386.md (*msabi_syvabi): Add SSE regs clobbers. |
1113 | * config/i386/i386.c (ix86_expand_call): Add clobbers. | |
64e4c301 | 1114 | |
7650b83e JH |
1115 | 2009-01-06 Jan Hubicka <jh@suse.cz> |
1116 | Kai Tietz <kai.tietz@onevision.com> | |
1117 | ||
435da628 UB |
1118 | * config/i386/i386.h (CONDITIONAL_CALL_USAGE): SSE regs are not used |
1119 | for w64 ABI. | |
1120 | * config/i386/i386.c (struct ix86_frame): Add padding0 and nsseregs. | |
7650b83e JH |
1121 | (ix86_nsaved_regs): Count only general purpose regs. |
1122 | (ix86_nsaved_sseregs): New. | |
1123 | (ix86_compute_frame_layout): Update nsseregs; set preferred alignment | |
1124 | to 16 for w64; compute padding and size of sse reg save area. | |
301b6a4e UB |
1125 | (ix86_emit_save_regs, ix86_emit_save_regs_using_mov): Save only |
1126 | general purpose regs. | |
7650b83e JH |
1127 | (ix86_emit_save_sse_regs_using_mov): New. |
1128 | (ix86_expand_prologue): Save SSE regs if needed. | |
1129 | (ix86_emit_restore_regs_using_mov): Use only general purpose regs. | |
1130 | (ix86_emit_restore_sse_regs_using_mov): New. | |
1131 | (ix86_expand_epilogue): Save SSE regs if needed. | |
1132 | ||
9aa5c1b2 JH |
1133 | 2009-01-06 Jan Hubicka <jh@suse.cz> |
1134 | Kai Tietz <kai.tietz@onevision.com> | |
1135 | ||
435da628 UB |
1136 | * config/i386/i386.h (ACCUMULATE_OUTGOING_ARGS): Enable for MSABI |
1137 | * config/i386/i386.c (init_cumulative_args): Disallow calls of MSABI | |
1138 | functions when accumulate outgoing args is off. | |
9aa5c1b2 | 1139 | |
f7556aae L |
1140 | 2009-01-06 H.J. Lu <hongjiu.lu@intel.com> |
1141 | ||
1142 | PR bootstrap/38742 | |
1143 | * ira-color.c (ira_reuse_stack_slot): Check ENABLE_IRA_CHECKING | |
1144 | before using pseudos_have_intersected_live_ranges_p. | |
1145 | ||
1146 | * ira-int.h (ira_assert): Always define. | |
1147 | ||
e47b7d04 L |
1148 | 2009-01-06 H.J. Lu <hongjiu.lu@intel.com> |
1149 | ||
1150 | AVX Programming Reference (December, 2008) | |
1151 | * config/i386/avxintrin.h (_mm_permute2_pd): Removed. | |
1152 | (_mm256_permute2_pd): Likewise. | |
1153 | (_mm_permute2_ps): Likewise. | |
1154 | (_mm256_permute2_ps): Likewise. | |
1155 | * config/i386/i386.md (UNSPEC_VPERMIL2): Likewise. | |
1156 | * config/i386/sse.md (avx_vpermil2<mode>3): Likewise. | |
1157 | ||
1158 | * config/i386/i386.c (ix86_builtins): Remove | |
1159 | IX86_BUILTIN_VPERMIL2PD, IX86_BUILTIN_VPERMIL2PS, | |
1160 | IX86_BUILTIN_VPERMIL2PD256 and IX86_BUILTIN_VPERMIL2PS256. | |
1161 | (ix86_builtin_type): Remove V8SF_FTYPE_V8SF_V8SF_V8SI_INT, | |
1162 | V4DF_FTYPE_V4DF_V4DF_V4DI_INT, V4SF_FTYPE_V4SF_V4SF_V4SI_INT | |
1163 | and V2DF_FTYPE_V2DF_V2DF_V2DI_INT. | |
1164 | (bdesc_args): Remove __builtin_ia32_vpermil2pd, | |
1165 | __builtin_ia32_vpermil2ps, __builtin_ia32_vpermil2pd256 and | |
1166 | __builtin_ia32_vpermil2ps256. | |
1167 | (ix86_init_mmx_sse_builtins): Updated. | |
1168 | (ix86_expand_args_builtin): Likewise. | |
1169 | ||
44b86471 JDA |
1170 | 2009-01-05 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
1171 | ||
e47b7d04 L |
1172 | * pa.c (output_call): Relocate non-jump insns in the delay slot of |
1173 | long absolute calls when generating PA 2.0 code. | |
44b86471 | 1174 | |
311aab06 VM |
1175 | 2009-01-05 Vladimir Makarov <vmakarov@redhat.com> |
1176 | ||
1177 | PR rtl-optimization/38583 | |
1178 | * params.h (IRA_MAX_CONFLICT_TABLE_SIZE): New macro. | |
1179 | ||
1180 | * params.def (ira-max-conflict-table-size): New. | |
1181 | ||
1182 | * doc/invoke.texi (ira-max-conflict-table-size): Decribe. | |
1183 | ||
1184 | * ira.h (ira_conflicts_p): New external definition. | |
1185 | ||
1186 | * ira-conflicts.c (build_conflict_bit_table): Do not build too big | |
1187 | table. Report this. Return result of building. | |
1188 | (ira_build_conflicts): Use ira_conflicts_p. Check result of | |
1189 | building conflict table. | |
1190 | ||
301b6a4e | 1191 | * ira-color.c (fast_allocation): Use num instead of ira_allocnos_num. |
311aab06 VM |
1192 | (ira_color): Use ira_conflicts_p. |
1193 | ||
1194 | * global.c: Include ira.h. | |
1195 | (pseudo_for_reload_consideration_p, build_insn_chain): Use | |
1196 | ira_conflicts_p. | |
1197 | ||
1198 | * Makefile.in (global.o): Add ira.h. | |
1199 | ||
1200 | * ira-build.c (mark_all_loops_for_removal, | |
1201 | propagate_some_info_from_allocno): New. | |
1202 | (remove_unnecessary_allocnos): Call | |
1203 | propagate_some_info_from_allocno. | |
1204 | (remove_low_level_allocnos): New. | |
1205 | (remove_unnecessary_regions): Add parameter. Call | |
1206 | mark_all_loops_for_removal and remove_low_level_allocnos. Pass | |
1207 | parameter to remove_unnecessary_regions. | |
1208 | (ira_build): Remove all regions but root if the conflict table was | |
1209 | not built. Update conflict hard regs for allocnos crossing calls. | |
1210 | ||
1211 | * ira.c (ira_conflicts_p): New global. | |
1212 | (ira): Define and use ira_conflicts_p. | |
1213 | ||
1214 | * reload1.c (compute_use_by_pseudos, reload, count_pseudo, | |
1215 | count_spilled_pseudo, find_reg, alter_reg, finish_spills, | |
301b6a4e | 1216 | emit_input_reload_insns, delete_output_reload): Use ira_conflicts_p. |
311aab06 | 1217 | |
5641785f BE |
1218 | 2009-01-06 Ben Elliston <bje@au.ibm.com> |
1219 | ||
1220 | * gengtype-lex.l (YY_NO_INPUT): Define. | |
1221 | ||
e4e5261f AP |
1222 | 2009-01-05 Andrew Pinski <andrew_pinski@playstation.sony.com> |
1223 | ||
1224 | PR c/34911 | |
5641785f BE |
1225 | * c-common.c (handle_vector_size_attribute): Also reject |
1226 | BOOLEAN_TYPE types. | |
e4e5261f | 1227 | |
7b10257f SP |
1228 | 2009-01-05 Sebastian Pop <sebastian.pop@amd.com> |
1229 | ||
1230 | PR tree-optimization/38492 | |
1231 | * graphite.c (rename_map_elt, debug_rename_elt, | |
301b6a4e UB |
1232 | debug_rename_map_1, debug_rename_map, new_rename_map_elt, |
1233 | rename_map_elt_info, eq_rename_map_elts, | |
1234 | get_new_name_from_old_name, bb_in_sese_p): Moved around. | |
7b10257f SP |
1235 | (sese_find_uses_to_rename_use): Renamed sese_build_livein_liveouts_use. |
1236 | (sese_find_uses_to_rename_bb): Renamed sese_build_livein_liveouts_bb. | |
1237 | (sese_build_livein_liveouts): New. | |
1238 | (new_sese, free_sese): New. | |
1239 | (new_scop): Call new_sese. | |
1240 | (free_scop): Call free_sese. | |
1241 | (rename_variables_from_edge, rename_phis_end_scop): Removed. | |
1242 | (register_old_new_names): Renamed register_old_and_new_names. | |
1243 | (register_scop_liveout_renames, add_loop_exit_phis, | |
1244 | insert_loop_close_phis, struct igp, | |
1245 | default_liveout_before_guard, add_guard_exit_phis, | |
1246 | insert_guard_phis, copy_renames): New. | |
1247 | (translate_clast): Call insert_loop_close_phis and insert_guard_phis. | |
1248 | (sese_add_exit_phis_edge): Renamed scop_add_exit_phis_edge. | |
1249 | (rewrite_into_sese_closed_ssa): Renamed scop_insert_phis_for_liveouts. | |
1250 | (scop_adjust_phis_for_liveouts): New. | |
1251 | (gloog): Call scop_adjust_phis_for_liveouts. | |
1252 | ||
1253 | * graphite.h (struct sese): Documented. Added fields liveout, | |
301b6a4e | 1254 | num_ver and livein. |
7b10257f SP |
1255 | (SESE_LIVEOUT, SESE_LIVEIN, SESE_LIVEIN_VER, SESE_NUM_VER): New. |
1256 | (new_sese, free_sese, sese_build_livein_liveouts): Declared. | |
1257 | (struct scop): Added field liveout_renames. | |
1258 | (SCOP_LIVEOUT_RENAMES): New. | |
1259 | ||
9761fcc7 HJ |
1260 | 2009-01-05 Harsha Jagasia <harsha.jagasia@amd.com> |
1261 | ||
1262 | PR tree-optimization/38510 | |
1263 | * graphite.c (recompute_all_dominators): Call mark_irreducible_loops. | |
1264 | (translate_clast): Call recompute_all_dominators before | |
1265 | graphite_verify. | |
1266 | (gloog): Call recompute_all_dominators before graphite_verify. | |
1267 | ||
1268 | 2009-01-05 Harsha Jagasia <harsha.jagasia@amd.com> | |
1269 | Jan Sjodin <jan.sjodin@amd.com> | |
1270 | ||
1271 | PR tree-optimization/38500 | |
1272 | * graphite.c (create_sese_edges): Call fix_loop_structure after | |
1273 | splitting blocks. | |
1274 | ||
48a01864 JS |
1275 | 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com> |
1276 | ||
1277 | * config.gcc: Add m32r*-*-rtems*. | |
1278 | * config/m32r/rtems.h: New file. | |
1279 | ||
fc0cd180 BE |
1280 | 2009-01-05 Ben Elliston <bje@au.ibm.com> |
1281 | ||
1282 | * Makefile.in (.po.gmo): Use mkinstalldirs, not test -d || mkdir. | |
1283 | (.po.pox): Likewise. | |
1284 | (po/gcc.pot): Likewise. | |
1285 | ||
3106d8e5 DM |
1286 | 2009-01-04 David S. Miller <davem@davemloft.net> |
1287 | ||
1288 | * config/sparc/sparc.h (SECONDARY_MEMORY_NEEDED_RTX): Delete. | |
1289 | (STARTING_FRAME_OFFSET): Always set to zero. | |
1290 | ||
0009b473 RS |
1291 | 2009-01-04 Richard Sandiford <rdsandiford@googlemail.com> |
1292 | ||
1293 | * tree.def (LSHIFT_EXPR, RSHIFT_EXPR): Add commentary. | |
1294 | * tree-cfg.c (verify_gimple_assign_binary): Allow shifts of | |
1295 | fixed-point types, and vectors of the same. | |
1296 | ||
4f24c6d6 RS |
1297 | 2009-01-04 Richard Sandiford <rdsandiford@googlemail.com> |
1298 | ||
1299 | * config/mips/sync.md (*mb_barrier): Rename to... | |
1300 | (*memory_barrier): ...this. | |
1301 | ||
1df48f5c JW |
1302 | 2009-01-04 Jonathan Wakely <jwakely.gcc@gmail.com> |
1303 | ||
1304 | * doc/extend.texi (Function Attributes): Move @cindex after @item | |
eefe5da0 | 1305 | for 'artificial' and 'flatten'. Fix grammar for 'externally_visible' |
1df48f5c JW |
1306 | and put in alphabetical order. Fix 'target' name and put in order. |
1307 | * doc/invoke.texi (-Wstrict-null-sentinel, -fipa-matrix-reorg): Fix | |
1308 | typos. | |
1309 | ||
1a8c13b3 UB |
1310 | 2009-01-04 Uros Bizjak <ubizjak@gmail.com> |
1311 | ||
1312 | * config/s390/s390.md (UNSPEC_MB): Rename from UNSPECV_MB. | |
1313 | (memory_barrier): Expand as unspec instead of unspec_volatile. | |
1314 | Remove mem:BLK from insn operands. Use Pmode scratch register. | |
1315 | (*memory_barrier): Define as unspec instead of unspec_volatile. | |
1316 | Use (match_dup 0) as input operand. | |
1317 | ||
1318 | * config/sparc/sparc.md (UNSPEC_MEMBAR): Rename from UNSPECV_MEMBAR. | |
1319 | * config/sparc/sync.md (memory_barrier): Expand as unspec instead of | |
1320 | unspec_volatile. Remove mem:BLK from insn operands. Use Pmode | |
1321 | scratch register. Remove operand 1. | |
1322 | (*stbar): Define as unspec instead of unspec_volatile. | |
1323 | Use (match_dup 0) as input operand, remove (const_int 8). | |
1324 | (*membar): Define as unspec instead of unspec_volatile. | |
1325 | Use (match_dup 0) as input operand, remove input operand 2. | |
1326 | ||
1327 | * config/xtensa/xtensa.md (UNSPEC_MEMW): Rename from UNSPECV_MEMW. | |
1328 | (memory_barrier): Expand as unspec instead of unspec_volatile. | |
1329 | Remove mem:BLK from insn operands. Use Pmode scratch register. | |
1330 | (*memory_barrier): Define as unspec instead of unspec_volatile. | |
1331 | Use (match_dup 0) as input operand. | |
1332 | ||
1333 | * config/ia64/sync.md (memory_barrier): Redefine as expander pattern. | |
1334 | Remove mem:BLK from insn operands. Use Pmode scratch register. | |
1335 | Set volatile flag on operand 0. | |
1336 | (*memory_barrier): New insn pattern. | |
1337 | ||
1338 | * config/rs6000/sync.md (memory_barrier): Remove mem:BLK from | |
1339 | insn operands. | |
1340 | (*memory_barrier): Use (match_dup 0) as input operand. | |
1341 | ||
1342 | * config/mips/sync.md (memory_barrier): Redefine as expander pattern. | |
1343 | Remove mem:BLK from insn operands. Use Pmode scratch register. | |
1344 | Set volatile flag on operand 0. | |
301b6a4e | 1345 | (*mb_internal): New insn pattern. |
1a8c13b3 UB |
1346 | |
1347 | * config/alpha/sync.md (*memory_barrier): Rename from *mb_internal. | |
1348 | ||
fb0703f7 SB |
1349 | 2009-01-04 Steven Bosscher <steven@gcc.gnu.org> |
1350 | ||
1351 | PR middle-end/38586 | |
1352 | * function.c (struct temp_slot): Move to the section of the file | |
1353 | that deals with temp slots. Remove field 'address'. | |
1354 | (temp_slot_address_table): New hash table of address -> temp slot. | |
1355 | (struct temp_slot_address_entry): New struct, items for the table. | |
1356 | (temp_slot_address_compute_hash, temp_slot_address_hash, | |
1357 | temp_slot_address_eq, insert_temp_slot_address): Support functions | |
1358 | for the new table. | |
1359 | (find_temp_slot_from_address): Rewrite to use the new hash table. | |
1360 | (remove_unused_temp_slot_addresses): Remove addresses of temp | |
1361 | slots that have been made available. | |
1362 | (remove_unused_temp_slot_addresses_1): Call-back for htab_traverse, | |
1363 | worker function for remove_unused_temp_slot_addresses. | |
1364 | (assign_stack_temp_for_type): Don't clear the temp slot address list. | |
1365 | Add the temp slot address to the address -> temp slot map. | |
1366 | (update_temp_slot_address): Update via insert_temp_slot_address. | |
1367 | (free_temp_slots): Call remove_unused_temp_slot_addresses. | |
1368 | (pop_temp_slots): Likewise. | |
1369 | (init_temp_slots): Allocate the address -> temp slot map, or empty | |
1370 | the map if it is already allocated. | |
1371 | (prepare_function_start): Initialize temp slot processing. | |
1372 | ||
b5a430f3 SB |
1373 | 2009-01-04 Steven Bosscher <steven@gcc.gnu.org> |
1374 | ||
1375 | PR middle-end/38584 | |
1376 | * cfgexpand.c (estimate_stack_frame_size): Simplify the estimate: | |
1377 | Calculate the size of all stack vars assuming no packing of stack | |
1378 | vars will happen, replacing a quadratic algorithm with a linear one. | |
1379 | ||
5d560619 JJ |
1380 | 2009-01-03 Jakub Jelinek <jakub@redhat.com> |
1381 | ||
1382 | PR target/38707 | |
1383 | * expmed.c (store_bit_field_1): Don't modify op0 if movstrict insn | |
1384 | can't be used. | |
1385 | ||
953a7caa DN |
1386 | 2009-01-03 Diego Novillo <dnovillo@google.com> |
1387 | ||
1388 | * doc/contrib.texi: Update contributions. | |
1389 | ||
5f26a230 JJ |
1390 | 2009-01-03 Jakub Jelinek <jakub@redhat.com> |
1391 | ||
493aa551 JJ |
1392 | PR c++/38705 |
1393 | * builtins.c (fold_builtin_memory_op): Give up if either operand | |
1394 | is volatile. Set srctype or desttype to non-qualified version | |
1395 | of the other type. | |
1396 | ||
5f26a230 JJ |
1397 | PR c/38700 |
1398 | * builtins.c (fold_builtin_expect): Only check DECL_WEAK for VAR_DECLs | |
1399 | and FUNCTION_DECLs. | |
1400 | ||
fafe34f9 KZ |
1401 | 2009-01-02 Kenneth Zadeck <zadeck@naturalbridge.com> |
1402 | ||
1403 | PR rtl-optimization/35805 | |
1404 | * df-problems.c (df_lr_finalize): Add recursive call to resolve lr | |
1405 | problem if fast dce is able to remove any instructions. | |
1406 | * dce.c (dce_process_block): Fix dump message. | |
1407 | ||
0b355794 MM |
1408 | 2009-01-02 Mark Mitchell <mark@codesourcery.com> |
1409 | ||
1410 | PR 33649 | |
1411 | * tree-ssa-pre.c (compute_antic): Correct loop bounds. | |
1412 | ||
0cf0d02b JJ |
1413 | 2009-01-02 Jakub Jelinek <jakub@redhat.com> |
1414 | ||
1415 | PR middle-end/38690 | |
1416 | * tree-flow.h (op_code_prio, op_prio): New prototypes. | |
1417 | * tree-pretty-print.c (op_code_prio): New function. | |
1418 | (op_prio): No longer static. Use op_code_prio. | |
1419 | * gimple-pretty-print.c (dump_unary_rhs, dump_binary_rhs): | |
1420 | Use op_prio and op_code_prio to determine if () should be | |
1421 | printed around operand(s) or not. | |
1422 | ||
1423 | * gimple-pretty-print.c (dump_unary_rhs, dump_binary_rhs, | |
1424 | dump_gimple_call, dump_gimple_switch, dump_gimple_cond, | |
1425 | dump_gimple_label, dump_gimple_try, dump_symbols, dump_gimple_phi, | |
1426 | dump_gimple_mem_ops, dump_bb_header, dump_bb_end, pp_cfg_jump): Use | |
1427 | pp_character instead of pp_string for single letter printing. | |
1428 | ||
e3606f3b RS |
1429 | 2009-01-02 Richard Sandiford <rdsandiford@googlemail.com> |
1430 | ||
1431 | * doc/extend.texi: Fix '#pragma GCC option' typo. | |
1432 | ||
00f39bd5 RG |
1433 | 2009-01-02 Richard Guenther <rguenther@suse.de> |
1434 | ||
a5f061dc RG |
1435 | * doc/install.texi (--enable-checking): Mention different |
1436 | default for stage1. | |
1437 | (--enable-stage1-checking): Document. | |
00f39bd5 | 1438 | |
26de0bcb AP |
1439 | 2009-01-01 Andrew Pinski <pinskia@gmail.com> |
1440 | ||
1441 | PR middle-end/30142 | |
1442 | * tree-cfg.c (verify_expr): Add INDIRECT_REF case. Change MODIFY_EXPR | |
1443 | case to be an error. | |
1444 | ||
7a7d8fab BE |
1445 | 2009-01-02 Ben Elliston <bje@au.ibm.com> |
1446 | ||
1447 | * config/fp-bit.h (pack_d): Constify argument. | |
1448 | * config/fp-bit.c (makenan): Constify return type. Remove casts. | |
1449 | (isnan): Constify argument. | |
1450 | (isinf): Likewise. | |
1451 | (iszero): Likewise. | |
1452 | (pack_d): Likewise. | |
1453 | (_fpadd_parts): Constify return type. | |
1454 | (_fpmul_parts): Likewise. | |
1455 | (_fpdiv_parts): Likewise. | |
1456 | ||
b295aee2 JJ |
1457 | 2009-01-01 Jakub Jelinek <jakub@redhat.com> |
1458 | ||
1459 | PR c/36489 | |
1460 | * c-typeck.c (add_pending_init): Add IMPLICIT argument. Only | |
1461 | warn about overwriting initializer with side-effects or | |
1462 | -Woverride-init if !IMPLICIT. | |
1463 | (output_init_element): Likewise. Pass IMPLICIT down to | |
1464 | add_pending_init. | |
1465 | (process_init_element): Add IMPLICIT argument. Pass it down | |
1466 | to output_init_element. | |
1467 | (push_init_element, pop_init_level, set_designator): Adjust | |
1468 | process_init_element callers. | |
1469 | (set_nonincremental_init, set_nonincremental_init_from_string): | |
1470 | Adjust add_pending_init callers. | |
1471 | (output_pending_init_elements): Adjust output_init_element callers. | |
1472 | * c-tree.h (process_init_element): Adjust prototype. | |
1473 | * c-parser.c (c_parser_initelt, c_parser_initval): Adjust | |
1474 | process_init_element callers. |