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