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