]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/ChangeLog
re PR c++/35147 (ICE trying to expand an argument pack with zero arguments)
[thirdparty/gcc.git] / gcc / ChangeLog
CommitLineData
feab5a67
JM
12009-02-06 Joseph Myers <joseph@codesourcery.com>
2
3 PR c/35434
4 * c-common.c (handle_alias_attribute): Disallow attribute for
5 anything not a FUNCTION_DECL or VAR_DECL.
6
90ef2296
JJ
72009-02-06 Janis Johnson <janis187@us.ibm.com>
8
9 PR c/39035
10 * real.c (do_compare): Special-case compare of zero against
11 decimal float value.
12
1de2c900
JM
132009-02-06 Joseph Myers <joseph@codesourcery.com>
14
15 PR c/36432
16 * c-decl.c (grokdeclarator): Don't treat [] declarators in fields
17 as indicating flexible array members unless the field itself is
18 being declarared as the incomplete array.
19
e901811a
JH
202009-02-06 Jan Hubicka <jh@suse.cz>
21
22 PR tree-optimization/38844
23 * ipa-inline.c (try_inline): Stop inlining recursion when edge
24 is already inlined.
25
3cfa762b
RG
262009-02-06 Richard Guenther <rguenther@suse.de>
27
28 PR middle-end/38977
29 * tree-cfg.c (need_fake_edge_p): Force a fake edge for
30 fork because we may expand it as __gcov_fork.
31
8506528c
NC
322009-02-06 Nick Clifton <nickc@redhat.com>
33
34 * config/m32c/m32c.h (PCC_BITFIELD_TYPE_MATTERS): Define to
35 zero.
36
85169114
PB
372009-02-06 Paolo Bonzini <bonzini@gnu.org>
38
39 PR tree-optimization/35659
40 * tree-ssa-sccvn.c (vn_constant_eq, vn_reference_eq, vn_nary_op_eq
41 vn_phi_eq): Shortcut if hashcode does not match.
42 (vn_reference_op_compute_hash): Do not call iterative_hash_expr for
43 NULL operands.
44 * tree-ssa-pre.c (pre_expr_hash): Look at hashcode if available,
45 and avoid iterative_hash_expr.
46 (FOR_EACH_VALUE_ID_IN_SET): New.
47 (value_id_compare): Remove.
48 (sorted_array_from_bitmap_set): Use FOR_EACH_VALUE_ID_IN_SET to
49 sort expressions by value id.
50
6d39673d
KK
512009-02-05 Kaz Kojima <kkojima@gcc.gnu.org>
52
53 PR target/38991
54 * config/sh/predicates.md (general_movsrc_operand): Don't check
55 the subreg of system registers here.
56
e6e1c050
JJ
572009-02-05 Jakub Jelinek <jakub@redhat.com>
58
59 PR c++/39106
60 * cgraphunit.c (cgraph_function_versioning): Clear also DECL_VIRTUAL_P
61 on the copied decl.
62
65a74b5d
PB
632009-02-05 Paolo Bonzini <bonzini@gnu.org>
64
65 PR rtl-optimization/39110
66 * rtlanal.c (rtx_addr_can_trap_p_1): Shortcut unaligned
67 addresses, not aligned ones.
68
08e14b2a
DB
692009-02-05 Daniel Berlin <dberlin@dberlin.org>
70 Richard Guenther <rguenther@suse.de>
71
72 PR tree-optimization/39100
73 * tree-ssa-structalias.c (do_ds_constraint): Actually do what the
74 comment says and add edges.
75
5006381c
JM
762009-02-05 Joseph Myers <joseph@codesourcery.com>
77
78 PR c/35435
79 * c-common.c (handle_tls_model_attribute): Ignore attribute for
80 non-VAR_DECLs without checking DECL_THREAD_LOCAL_P.
81
b0789219
TG
822009-02-04 Tobias Grosser <grosser@fim.uni-passau.de>
83
84 * graphite.c (bb_in_sese_p, sese_build_livein_liveouts_use,
85 sese_build_livein_liveouts_bb, sese_build_livein_liveouts,
86 register_bb_in_sese, new_sese, free_sese): Moved.
87 (dot_scop_1, build_scop_loop_nests, build_loop_iteration_domains,
88 outermost_loop_in_scop, build_scop_iteration_domain,
89 expand_scalar_variables_ssa_name, get_vdef_before_scop,
90 limit_scops): Use bb_in_sese_p instead of bb_in_scop_p.
91 Use loop_in_sese_p instead of loop_in_scop_p.
92 (new_graphite_bb, gloog): Do not initialize SCOP_BBS_B.
93 (new_scop, free_scop): Remove SCOP_LOOP2CLOOG_LOOP and SCOP_BBS_B.
94 (scopdet_basic_block_info): Fix bug in scop detection.
95 (new_loop_to_cloog_loop_str, hash_loop_to_cloog_loop,
96 eq_loop_to_cloog_loop): Remove.
97 (nb_loops_around_loop_in_scop, nb_loop
98 ref_nb_loops): Moved here...
99 * graphite.h (ref_nb_loops): ... from here.
100 (struct scop): Remove bbs_b bitmap and loop2cloog_loop.
101 (loop_domain_dim, loop_iteration_vector_dim): Remove.
102 (SCOP_BBS_B, bb_in_scop_p, loop_in_scop_p): Removed.
103 * testsuite/gcc.dg/graphite/scop-19.c: New
104
48e8382e
PB
1052009-02-04 Paolo Bonzini <bonzini@gnu.org>
106 Hans-Peter Nilsson <hp@axis.com>
107
108 PR rtl-optimization/37889
109 * rtlanal.c (rtx_addr_can_trap_p_1): Add offset and size arguments.
110 Move offset handling from PLUS to before the switch. Use new
111 arguments when considering SYMBOL_REFs too.
112 (rtx_addr_can_trap_p): Pass dummy offset and size.
113 (enum may_trap_p_flags): Remove.
114 (may_trap_p_1): Pass size from MEM_SIZE.
115
116 PR rtl-optimization/38921
117 * loop-invariant.c (find_invariant_insn): Use may_trap_or_fault_p.
118 * rtl.h (may_trap_after_code_motion_p): Delete prototype.
119 * rtlanal.c (may_trap_after_code_motion_p): Delete.
120 (may_trap_p, may_trap_or_fault_p): Pass 0/1 as flags.
121
69349ea5
L
1222009-02-04 H.J. Lu <hongjiu.lu@intel.com>
123
124 AVX Programming Reference (January, 2009)
125 * config/i386/sse.md (*vpclmulqdq): New.
126
b545e411
JJ
1272009-02-04 Jakub Jelinek <jakub@redhat.com>
128
129 PR tree-optimization/38977
130 PR gcov-profile/38292
bf9b2cc9 131 * calls.c (special_function_p): Disregard __builtin_ prefix.
b545e411 132
5b43bf05
HS
1332009-02-04 Hariharan Sandanagobalane <hariharan@picochip.com>
134
135 * config/picochip/picochip.c (GO_IF_LEGITIMATE_ADDRESS): Disallow
136 non-indexable addresses even before reload.
137
062c4bb3
JM
1382009-02-03 Joseph Myers <joseph@codesourcery.com>
139
140 PR c/29129
141 * c-decl.c (grokdeclarator): Mark [*] arrays in field declarators
142 as having variable size. Do not give an error for unnamed
143 parameters with [*] declarators. Give a warning for type names
144 with [*] declarators and mark them as variable size.
145 * c-parser.c (c_parser_sizeof_expression): Do not give an error
146 for sizeof applied to [*] type names.
147
6175f578
AP
1482009-02-03 Andrew Pinski <andrew_pinski@playstation.sony.com>
149
150 PR C++/36607
151 * convert.c (convert_to_integer): Treat OFFSET_TYPE like INTEGER_TYPE.
152
d4f4bc84
JJ
1532009-02-03 Jakub Jelinek <jakub@redhat.com>
154
155 * gcc.c (process_command): Update copyright notice dates.
156 * gcov.c (print_version): Likewise.
157 * gcov-dump.c (print_version): Likewise.
158 * mips-tfile.c (main): Likewise.
159 * mips-tdump.c (main): Likewise.
160
f6294de7
JM
1612009-02-03 Joseph Myers <joseph@codesourcery.com>
162
163 PR c/35433
164 * c-typeck.c (composite_type): Set TYPE_SIZE and TYPE_SIZE_UNIT
165 for composite type involving a zero-length array type.
166
754ccf7c
JJ
1672009-02-03 Jakub Jelinek <jakub@redhat.com>
168
70f16287
JJ
169 PR target/35318
170 * function.c (match_asm_constraints_1): Skip over
171 initial optional % in the constraint.
172
754ccf7c
JJ
173 PR inline-asm/39059
174 * c-parser.c (c_parser_postfix_expression): If fixed point is not
175 supported, don't accept FIXED_CSTs.
176 * c-decl.c (finish_declspecs): Error if fixed point is not supported
177 and _Sat is used without _Fract/_Accum. Set specs->type to
178 integer_type_node for cts_fract/cts_accum if fixed point is not
179 supported.
180
965fdadf
CM
1812009-02-02 Catherine Moore <clm@codesourcery.com>
182
bf9b2cc9 183 * sde.h (SUBTARGET_ARM_SPEC): Don;t assemble -fpic code as -mabicalls.
965fdadf 184
2e8a796f
RS
1852009-02-02 Richard Sandiford <rdsandiford@googlemail.com>
186
187 * config/mips/mips.h (FILE_HAS_64BIT_SYMBOLS): New macro.
188 (ABI_HAS_64BIT_SYMBOLS): Use it.
189 (DWARF2_ADDR_SIZE): Use it instead of ABI_HAS_64BIT_SYMBOLS.
190
e0079468
PB
1912009-02-02 Paul Brook <paul@codesourcery.com>
192
193 * config/arm/arm.md (arm_addsi3): Add r/r/k alternative.
194
eca72963
JJ
1952009-02-02 Jakub Jelinek <jakub@redhat.com>
196
197 PR inline-asm/39058
198 * recog.h (asm_operand_ok): Add constraints argument.
199 * recog.c (asm_operand_ok): Likewise. If it is set, for digits
200 recurse on matching constraint.
201 (check_asm_operands): Pass constraints as 3rd argument to
202 asm_operand_ok. Don't look up matching constraint here.
203 * stmt.c (expand_asm_operands): Pass NULL as 3rd argument
204 to asm_operand_ok.
205
b5bde9ff
BE
2062009-02-02 Ben Elliston <bje@au.ibm.com>
207
208 * doc/tm.texi (Storage Layout): Fix TARGET_ALIGN_ANON_BITFIELD and
209 TARGET_NARROW_VOLATILE_BITFIELD macro names.
210
30f3e427
JDA
2112009-01-31 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
212
be7659ba
JDA
213 * doc/install.texi (hppa*-hp-hpux*): Update binutils and linker
214 information. Remove some obsolete information. Reorganize.
215
30f3e427
JDA
216 * config/pa/fptr.c: Revert license to GPL 2.
217 * config/pa/milli64.S: Likewise.
218
3cbfaf98
DK
2192009-01-31 Dave Korn <dave.korn.cygwin@gmail.com>
220
221 PR target/38904
222 * mkmap-flat.awk (END): Use pe_dll command-line arg to pass
223 LIBRARY name in, instead of hard-coding it.
224 * config.gcc (i[34567]86-*-pe | i[34567]86-*-cygwin*): Add an
225 extra target make frag to tmake_files according to EH model.
226 (i[34567]86-*-mingw* | x86_64-*-mingw*): Likewise.
227 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: Add new target
228 frags that define makefile variable EH_MODEL appropriately.
229 * config/i386/cygming.h (DWARF2_UNWIND_INFO): Add comment.
230 * config/i386/cygwin.h (LIBGCC_EH_EXTN): Define to nothing or
231 to "-sjlj" according to type of EH configured.
232 (LIBGCC_SONAME): Concatenate it to shared library base name.
233 * config/i386/mingw32.h (LIBGCC_EH_EXTN): Define to "_dw2" or
234 to "_sjlj" according to type of EH configured.
235 (LIBGCC_SONAME): Concatenate it to shared library base name.
236 * config/i386/t-cygming (SHLIB_SONAME): Use EH_MODEL.
237 (SHLIB_LINK): Add missing semicolon to if-else construct.
238 (SHLIB_MKMAP_OPTS): Pass library name to mkmap-flat.awk as
239 string value of "pe_dll" command-line option.
240 * config/i386/t-cygwin (SHLIB_EH_EXTENSION): New helper.
241 (SHLIB_SONAME): Use it when overriding t-cygming default.
242 (SHLIB_IMPLIB): Override t-cygming default.
243 (SHLIB_MKMAP_OPTS): Pass library name to mkmap-flat.awk as
244 string value of "pe_dll" command-line option.
245
8d0b6068
DK
2462009-01-31 Dave Korn <dave.korn.cygwin@gmail.com>
247
248 PR target/38952
249 * config/i386/i386.c (ix86_builtin_setjmp_frame_value): New.
bf9b2cc9 250 (TARGET_BUILTIN_SETJMP_FRAME_VALUE): Override default to point at it.
8d0b6068 251
14c28276
RG
2522009-01-31 Richard Guenther <rguenther@suse.de>
253
254 PR tree-optimization/38937
255 * tree-ssa-structalias.c (do_sd_constraint): Do not shortcut
256 computing the transitive closure.
257
5f4d82c2
RG
2582009-01-30 Richard Guenther <rguenther@suse.de>
259
260 PR tree-optimization/39041
261 * tree-ssa-forwprop.c (forward_propagate_addr_expr_1):
262 Propagate variable indices only if the types match for this stmt.
263
d0728ae0
JJ
2642009-01-30 Jakub Jelinek <jakub@redhat.com>
265
266 PR target/39013
267 * c-decl.c (pop_scope): Set DECL_EXTERNAL for functions declared
268 inline but never defined.
269
9fec758d
WG
2702009-01-30 Wolfgang Gellerich <gellerich@de,ibm.com>
271
272 * config/s390/s390.md (*insv<mode>_reg_extimm): Removed.
273 (*insv_h_di_reg_extimm): New insn.
274 (*insv_l<mode>_reg_extimm): New insn.
275
2762009-01-30 Hariharan Sandanagobalane <hariharan@picochip.com>
9e8be1e4
HS
277
278 * config/picochip/picochip.c (flag_conserve_stack): set
279 PARAM_LARGE_STACK_FRAME and PARAM_STACK_FRAME_GROWTH to zero under
280 fconserve-stack. Reduce call-overhead used by inliner.
281
9fec758d 2822009-01-30 Hariharan Sandanagobalane <hariharan@picochip.com>
df9198ab
HS
283
284 PR/38157
285 * common.opt (flag_conserve_stack): Initialised to zero.
286
7f1c539c
KT
2872009-01-30 Kai Tietz <kai.tietz@onevision.com>
288
289 PR/39002
290 * config/i386/i386.c (ix86_can_use_return_insn_p): Check for nsseregs.
291 (ix86_expand_epilogue): Take nsseregs in account to use proper restore
292 method.
293
3631be48
L
2942009-01-29 H.J. Lu <hongjiu.lu@intel.com>
295
296 * ira-color.c (allocno_reload_assign): Update comments.
297 * regmove.c (regmove_optimize): Likewise.
298
299 * ra.h: Removed.
300
416ac4d4
RM
3012009-01-29 Robert Millan <rmh@aybabtu.com>
302
303 * gcc/config.gcc: Recognize GNU/kOpenSolaris (*-*-kopensolaris*-gnu).
304 * gcc/config/i386/kopensolaris-gnu.h: New file. Undefine
305 `MD_UNWIND_SUPPORT'.
306 * gcc/config/kopensolaris-gnu.h: New file (based on kfreebsd-gnu.h).
307
d5e54bc1
KH
3082009-01-29 Kazu Hirata <kazu@codesourcery.com>
309
310 PR tree-optimization/39007
311 * tree-loop-distribution.c (generate_builtin): Use
312 recompute_dominator to compute the immediate dominator of the
313 basic block just after the loop.
314
e9e077fa
RO
3152008-01-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
316
317 * config/i386/sol2-10.h [!HAVE_AS_IX86_DIFF_SECT_DELTA]
318 (ASM_OUTPUT_DWARF_PCREL): Define.
319
2af2dbdc
VM
3202008-01-29 Vladimir Makarov <vmakarov@redhat.com>
321
322 * doc/tm.texi (TARGET_IRA_COVER_CLASSES): Modify description.
323 * doc/passes.texi: Remove entries about regclass, local-alloc, and
324 global. Modify entries about regmove and IRA.
325
326 * ra-conflict.c: Remove the file.
327
328 * reload.c (push_reload, find_dummy_reload): Remove flag_ira.
329
330 * tree-pass.h (pass_local_alloc, pass_global_alloc): Remove.
331 (pass_regclass_init): Rename to pass_reginfo_init.
332
333 * cfgloopanal.c (estimate_reg_pressure_cost): Remove flag_ira.
334
335 * toplev.h (flag_ira): Remove.
336
337 * caller-save.c (setup_save_areas): Remove flag_ira.
338
bf9b2cc9 339 * ira-color.c (ira_reuse_stack_slot, ira_mark_new_stack_slot): Ditto.
2af2dbdc
VM
340
341 * global.c: Remove the file.
342
343 * opts.c: (decode_options): Remove flag_ira.
344
345 * hard-reg-set.h (losing_caller_save_reg_set): Remove.
346
347 * regmove.c: Modify file description.
348 (find_use_as_address, try_auto_increment): Define them only if
349 AUTO_INC_DEC is defined.
350 (replacement_quality, replace_in_call_usage, fixup_match_1,
351 stable_and_no_regs_but_for_p): Remove.
352 (reg_set_in_bb): Make it static.
353 (regmove_optimize): Remove flag_ira and code which worked for
354 !flag_ira.
355
356 * local-alloc.c: Remove the file.
357
358 * common.opt (fira): Remove.
359
360 * ira.c: Include except.h.
361 (eliminable_regset): Move from global.c.
362 (mark_elimination): Ditto. Remove flag_ira.
363 (reg_renumber, struct equivalence, reg_equiv, equiv_mem,
364 equiv_mem_modified, validate_equiv_mem_from_store,
365 validate_equiv_mem, equiv_init_varies_p, equiv_init_movable_p,
366 contains_replace_regs, memref_referenced_p, memref_used_between_p,
367 no_equiv, recorded_label_ref): Move from local-alloc.c.
368 (update_equiv_regs): Ditto. Make it static.
369 (print_insn_chain, print_insn_chains): Move it from global.c.
bf9b2cc9 370 (pseudo_for_reload_consideration_p): Ditto. Remove flag_ira.
2af2dbdc
VM
371 (build_insn_chain): Ditto. Make it static.
372 (ra_init_live_subregs): Move from ra-conflict.c. Make it static.
373 Rename to init_live_subregs.
374 (gate_ira): Remove flag_ira.
375
376 * regclass.c: Rename reginfo.c. Change file description.
377 (FORBIDDEN_INC_DEC_CLASSES): Remove.
378 (reg_class_superclasses, forbidden_inc_dec_class, in_inc_dec):
379 Remove.
380 (init_reg_sets_1): Remove code for evaluation of
381 reg_class_superclasses and losing_caller_save_reg_set.
382 (init_regs): Remove init_reg_autoinc.
383 (struct costs, costs, init_cost, ok_for_index_p_nonstrict,
384 ok_for_base_p_nonstrict): Remove.
bf9b2cc9 385 (regclass_init): Rename to reginfo_init. Don't initialize init_cost.
2af2dbdc
VM
386 (pass_regclass_init): Rename to pass_reginfo_init. Modify
387 corresponding entries.
388 (dump_regclass, record_operand_costs, scan_one_insn,
389 init_reg_autoinc, regclass, record_reg_classes, copy_cost,
390 record_address_regs, auto_inc_dec_reg_p): Remove.
391 (gt-regclass.h): Rename to gt-reginfo.h.
392
393 * rtl.h (dump_global_regs, retry_global_alloc,
bf9b2cc9 394 build_insn_chain, dump_local_alloc, update_equiv_regs): Remove.
2af2dbdc
VM
395
396 * Makefile.in (RA_H): Remove.
397 (OBJS-common): Remove global.o, local-alloc.o, and ra-conflict.o.
398 Rename regclass.o to reginfo.o.
399 (regclass.o): Rename to reginfo.o. Rename gt-regclass.h to
400 gt-reginfo.h.
401 (global.o, local-alloc.o, ra-conflict.o): Remove entries.
402 (GTFILES): Rename regclass.c to reginfo.c.
403
404 * passes.c (init_optimization_passes): Remove pass_local_alloc and
bf9b2cc9 405 pass_global_alloc. Rename pass_regclass_init to pass_reginfo_init.
2af2dbdc
VM
406
407 * reload1.c (compute_use_by_pseudos, reload, count_pseudo,
408 count_spilled_pseudo, find_reg, alter_reg, delete_output_reload):
409 Remove flag_ira.
410 (finish_spills): Ditto. Remove code for !flga_ira.
411
c95b2534 4122009-01-29 Kenneth Zadeck <zadeck@naturalbridge.com>
00b251a0
KZ
413
414 PR middle-end/35854
415 * doc/invoke.texi (rtl debug options): Complete rewrite.
416 * auto-inc-dec.c (pass_inc_dec): Rename pass from "auto-inc-dec"
417 to auto_inc_dec".
418 * mode-switching.c (pass_mode_switching): Rename pass from
419 "mode-sw" to "mode_sw".
420 * except.c (pass_convert_to_eh_ranges): Rename pass from
421 "eh-ranges" to "eh_ranges".
422 * lower-subreg.c (pass_lower_subreg): Renamed pass from "subreg"
423 to "subreg1".
424
425
72a54528
AM
4262009-01-29 Andrey Belevantsev <abel@ispras.ru>
427 Alexander Monakov <amonakov@ispras.ru>
428
429 PR middle-end/38857
430 * sel-sched.c (count_occurrences_1): Check that *cur_rtx is a hard
431 register.
432 (move_exprs_to_boundary): Change return type and pass through
433 should_move from move_op. Relax assert. Update usage ...
434 (schedule_expr_on_boundary): ... here. Use should_move instead of
435 cant_move.
436 (move_op_orig_expr_found): Indicate that insn was disconnected from
437 stream.
438 (code_motion_process_successors): Do not call after_merge_succs
439 callback if original expression was not found when traversing any of
440 the branches.
441 (code_motion_path_driver): Change return type. Update prototype.
442 (move_op): Update comment. Add a new parameter (should_move). Update
443 prototype. Set *should_move based on indication provided by
444 move_op_orig_expr_found.
445
001b9eb6
PH
4462009-01-28 Pat Haugen <pthaugen@us.ibm.com>
447
448 * doc/invoke.texi (avoid-indexed-addresses): Document new option.
449 * config/rs6000/rs6000-protos.h (avoiding_indexed_address_p): Declare.
450 * config/rs6000/rs6000.opt (avoid-indexed-addresses): New option.
451 * config/rs6000/rs6000.c (rs6000_override_options): Default
452 avoid-indexed-addresses on for Power6, off for everything else.
453 (avoiding_indexed_address_p): New function.
454 (rs6000_legitimize_address): Use it.
455 (rs6000_legitimate_address): Likewise.
456 * config/rs6000/rs6000.md (movXX_updateX): Likewise
457
59dc4898
KH
4582009-01-28 Kazu Hirata <kazu@codesourcery.com>
459
460 PR tree-optimization/38997
461 * tree-loop-distribution.c (generate_memset_zero): Use
462 POINTER_PLUS_EXPR for a pointer addition.
463
07da44ab
AK
4642009-01-28 Andreas Krebbel <krebbel1@de.ibm.com>
465
466 * config/s390/s390.md (bswap<mode>2): New pattern added.
467
cdc15d23
WG
4682009-01-28 Wolfgang Gellerich <gellerich@de.ibm.com>
469
470 * config/s390/s390.md (*tls_load_31): Added type attribute.
471
d46f24b6
WG
4722009-01-28 Wolfgang Gellerich <gellerich@de.ibm.com>
473
474 * config/s390/s390.md: Fix a few comments.
475
729e750f
WG
4762009-01-28 Wolfgang Gellerich <gellerich@de.ibm.com>
477
478 * config/s390/s390.md (*tmsi_reg): Fixed z10prop attribute.
479 (*tm<mode>_full): Fixed z10prop attribute.
480 (*tst<mode>_extimm): Fixed z10prop attribute.
481 (*tst<mode>_cconly_extimm): Fixed z10prop attribute.
482 (*tstqiCCT_cconly): Fixed z10prop attribute.
483 (*cmpsi_ccu_zerohi_rlsi): Fixed z10prop attribute.
484 (*movsi_larl): Fixed z10prop attribute.
485 (*movsi_zarch): Fixed z10prop attribute.
486 (*movsi_eas): Fixed z10prop attribute.
487 (*movhi): Fixed z10prop attribute.
488 (*movqi): Fixed z10prop attribute.
489 (*movstrictqi): Fixed z10prop attribute.
490 (*mov<mode>): Fixed z10prop attribute.
491 (*movcc): Fixed z10prop attribute.
492 (*sethighpartdi_64): Fixed z10prop attribute.
493 (*zero_extendhi<mode>2_z10): Fixed z10prop attribute.
494 (*negdi2_sign_cc): Fixed z10prop attribute.
495 (*negdi2_sign): Fixed z10prop attribute.
496 (*absdi2_sign_cc): Fixed z10prop attribute.
497 (*absdi2_sign): Fixed z10prop attribute.
498 (*negabsdi2_sign_cc): Fixed z10prop attribute.
499 (*negabsdi2_sign): Fixed z10prop attribute.
500 (*cmp_and_trap_signed_int<mode>): Fixed z10prop attribute.
501 (*cmp_and_trap_unsigned_int<mode>): Fixed z10prop attribute.
502 (doloop_si64): Fixed z10prop attribute.
503 (doloop_si31): Fixed z10prop attribute.
504 (doloop_long): Fixed z10prop attribute.
505 (indirect_jump): Fixed z10prop attribute.
506 (nop): Fixed z10prop attribute.
507 (main_base_64): Fixed z10prop attribute.
508 (reload_base_64): Fixed z10prop attribute.
509
c7789bfb
JJ
5102009-01-28 Jakub Jelinek <jakub@redhat.com>
511
512 PR rtl-optimization/38740
513 * reorg.c (gate_handle_delay_slots): Avoid dbr scheduling
514 if !optimize.
515 * config/mips/mips.c (mips_reorg): Likewise.
516
de081cfd
RG
5172009-01-28 Richard Guenther <rguenther@suse.de>
518
519 PR tree-optimization/38926
520 * tree-ssa-pre.c (add_to_value): Assert we add only expressions
521 with the correct value id to a value.
522 (do_regular_insertion): Use the value number of edoubleprime
523 for the value number of the expr.
524
525 Revert
526 2008-08-21 Richard Guenther <rguenther@suse.de>
bf9b2cc9 527
d748c406
UB
528 * tree-ssa-pre.c (insert_into_preds_of_block): Before inserting
529 a PHI ask VN if it is already available.
530 * tree-ssa-sccvn.h (vn_phi_lookup): Declare.
531 * tree-ssa-sccvn.c (vn_phi_lookup): Export.
de081cfd 532
a9d386a1
JJ
5332009-01-28 Jakub Jelinek <jakub@redhat.com>
534
535 PR middle-end/38934
536 * tree-vrp.c (extract_range_from_assert): For LE_EXPR and LT_EXPR
537 set to varying whenever max has TREE_OVERFLOW set, similarly
538 for GE_EXPR and GT_EXPR and TREE_OVERFLOW min.
539
97a170cd
RG
5402009-01-28 Richard Guenther <rguenther@suse.de>
541
542 PR middle-end/38908
543 * tree-ssa.c (warn_uninitialized_var): Do not warn for seemingly
544 uninitialized aggregate uses in call arguments.
545
89ebafc6
PB
5462009-01-28 Paolo Bonzini <bonzini@gnu.org>
547
548 PR tree-optimization/38984
549 * tree-ssa-structalias.c (get_constraints_for_1): Do not use
550 the nothing_id variable if -fno-delete-null-pointer-checks.
551
bef3c57b
UB
5522009-01-28 Uros Bizjak <ubizjak@gmail.com>
553
554 PR target/38988
555 * config/i386/i386.md (set_rip_rex64): Wrap operand 1 in label_ref.
556 (set_got_offset_rex64): Ditto.
557
0c6390fa
L
5582009-01-27 H.J. Lu <hongjiu.lu@intel.com>
559
560 PR target/38941
561 * doc/extend.texi: Improve local variable with asm reg.
562
bee6fa6d
AN
5632009-01-27 Adam Nemet <anemet@caviumnetworks.com>
564
565 * c.opt (Wpacked-bitfield-compat): Change init value to -1.
566 * c-opts.c (c_common_post_options): If -W*packed-bitfield-compat
567 was not supplied then set warn_packed_bitfield_compat to the
568 default value of 1.
569 * stor-layout.c (place_field): Check warn_packed_bitfield_compat
570 against 1.
571
b5c3dfbb
RG
5722009-01-27 Richard Guenther <rguenther@suse.de>
573
574 PR tree-optimization/38503
575 * cfgexpand.c (expand_gimple_basic_block): Ignore
576 GIMPLE_CHANGE_DYNAMIC_TYPE during expansion.
577 * tree-ssa-structalias.c (set_uids_in_ptset): Do not prune
578 variables that cannot have TBAA applied.
579 (compute_points_to_sets): Do not remove GIMPLE_CHANGE_DYNAMIC_TYPE
580 statements.
581
d748c406 5822009-01-27 Uros Bizjak <ubizjak@gmail.com>
576de5cb
UB
583
584 PR middle-end/38969
585 * calls.c (initialize_argument_information): Do not wrap complex
586 arguments in SAVE_EXPR.
587
9112bb38
AT
5882009-01-26 Andreas Tobler <a.tobler@schweiz.org>
589
590 * config/t-vxworks (LIBGCC2_INCLUDES): Fix typo.
5efb79fc 591 (INSTALL_LIBGCC): Revert typo commit.
9112bb38 592
4757704f
RG
5932009-01-26 Richard Guenther <rguenther@suse.de>
594
595 PR tree-optimization/38745
596 * tree-ssa-alias.c (update_alias_info_1): Exclude RESULT_DECL
597 from special handling.
598
e3e6cff4
RG
5992009-01-26 Richard Guenther <rguenther@suse.de>
600
601 PR tree-optimization/38745
602 * tree-ssa.c (execute_update_addresses_taken): Do not include
603 variables that cannot possibly be a register in not_reg_needs.
604 Do not clear TREE_ADDRESSABLE on vars that may not become
605 registers.
606 * tree-ssa.c (update_alias_info_1): Include those in the set
607 of addressable vars.
608
dc874b53
RG
6092009-01-26 Richard Guenther <rguenther@suse.de>
610
611 PR middle-end/38851
612 * Makefile.in (tree-ssa-dse.o): Add langhooks.h.
613 * tree-ssa-dse.c: Include langhooks.h
614 (execute_simple_dse): Remove stores with zero size.
615
849421a3
JJ
6162009-01-24 Jakub Jelinek <jakub@redhat.com>
617
618 PR c/38957
619 * c-typeck.c (c_finish_return): Handle POINTER_PLUS_EXPR the same way
620 as PLUS_EXPR.
621
82f70421
JB
6222009-01-24 Julian Brown <julian@codesourcery.com>
623
624 * config/arm/t-linux-eabi (LIB2FUNCS_STATIC_EXTRA): Add
625 config/arm/linux-atomic.c.
626 * config/arm/linux-atomic.c: New.
627
863412d6
EB
6282009-01-24 Eric Botcazou <ebotcazou@adacore.com>
629
630 * config/sparc/linux.h (DBX_REGISTER_NUMBER): Delete.
631 * config/sparc/linux64.h (DBX_REGISTER_NUMBER): Likewise.
632 * config/sparc/sysv4.h (DBX_REGISTER_NUMBER): Likewise.
633
8c684300
L
6342009-01-24 H.J. Lu <hongjiu.lu@intel.com>
635
636 PR c/38938
93f1527a 637 * c-opts.c (c_common_handle_option): Update warn_pointer_sign
8c684300
L
638 properly.
639
b840fb02
SP
6402009-01-24 Sebastian Pop <sebastian.pop@amd.com>
641
642 PR tree-optimization/38953
643 * graphite.c (graphite_verify): Add a call to verify_loop_closed_ssa.
644 (scop_adjust_phis_for_liveouts): Initialize false_i to zero.
645 (gloog): Split the exit of the scop when the scop exit is a loop exit.
646 (graphite_transform_loops): Only call cleanup_tree_cfg if gloog
647 changed the CFG.
648
ecee559f
PB
6492009-01-24 Paul Brook <paul@codesourcery.com>
650
651 * config/arm/neon.md (neon_type): Move to arm.md.
652 (neon_mov<VSTRUCT>): Add neon_type attribute.
653 * config/arm/arm.md (neon_type): Move to here.
654 (conds): Add "unconditioal" and use as default for NEON insns.
655
61ad0914
BE
6562009-01-24 Ben Elliston <bje@au.ibm.com>
657
658 * bitmap.h (BITMAP_FREE): Eliminate `implicit conversion from
659 void *' warning from -Wc++-compat.
660 * Makefile.in (dominance.o-warn): Remove.
661
9bacafeb
PB
6622008-01-23 Paolo Bonzini <bonzini@gnu.org>
663
664 PR tree-optimization/38932
665 * fold-const.c (fold_unary_ignore_overflow): New.
666 * tree.h (fold_unary_ignore_overflow): Declare.
667 * tree-ssa-ccp.c (ccp_fold): Use fold_unary_ignore_overflow.
668 * tree-ssa-sccvn.c (visit_reference_op_load,
669 simplify_unary_expression): Likewise.
670
2cd36c22
AN
6712009-01-22 Adam Nemet <anemet@caviumnetworks.com>
672
673 * c-decl.c (finish_struct): Move code to set DECL_PACKED after
674 DECL_BIT_FIELD is alreay known. Also inherit packed for bitfields
675 regardless of their type.
676 * c-common.c (handle_packed_attribute): Don't ignore packed on
677 bitfields.
678 * c.opt (Wpacked-bitfield-compat): New warning option.
679 * stor-layout.c (place_field): Warn if offset of a field changed.
680 * doc/extend.texi (packed): Mention the ABI change.
681 * doc/invoke.texi (-Wpacked-bitfield-compat): Document.
682 (Warning Options): Add it to the list.
683
e4e624ab
L
6842009-01-22 H.J. Lu <hongjiu.lu@intel.com>
685
686 * c-opts.c (c_common_post_options): Fix a typo in comments.
687
d0ea0759
SE
6882009-01-22 Steve Ellcey <sje@cup.hp.com>
689
690 PR middle-end/38615
691 * gimplify.c (gimplify_init_constructor): Fix promotion of const
692 variables to static.
693 * doc/invoke.texi (-fmerge-all-constants): Update description.
694
87673f84
UB
6952009-01-22 Uros Bizjak <ubizjak@gmail.com>
696
697 PR target/38931
698 * config/i386/i386.md (*movsi_1): Use type "mmx" for alternative 2.
699 (*movdi_1_rex64): Use type "mmx" for alternative 5.
700
96339268
RE
7012009-01-22 Richard Earnshaw <rearnsha@arm.com>
702
703 * arm.h (DATA_ALIGNMENT): Align structures, unions and arrays to
704 a word boundary.
705 (LOCAL_ALIGNMENT): Similarly.
706
442dc742 7072009-01-22 Mark Shinwell <shinwell@codesourcery.com>
87673f84 708 Joseph Myers <joseph@codesourcery.com>
442dc742
MS
709
710 * config/arm/arm.c (all_architectures): Add iWMMXt2 entry.
711 * config/arm/arm-cores.def: New ARM_CORE entry for iWMMXt2.
712 * config/arm/arm-tune.md: Regenerate.
713 * doc/invoke.texi (ARM Options): Document -mcpu=iwmmxt2 and
714 -march=iwmmxt2.
715
9b34732e
MS
7162009-01-22 Mark Shinwell <shinwell@codesourcery.com>
717
718 * config/arm/bpabi.h (SUBTARGET_EXTRA_ASM_SPEC): Bump EABI
719 version number to five.
720
03c2a308
DS
7212009-01-22 Dodji Seketeli <dodji@redhat.com>
722
723 PR c++/38930
724 * c-decl.c: (clone_underlying_type): Revert PR c++/26693 changes.
725 * c-common.c (set_underlying_type): Likewise.
726 (is_typedef_decl ): Likewise
727 * tree.h: Likewise
728 (set_underlying_type): Likewise.
729 (is_typedef_type): Likewise.
730
1240d76e
VM
7312009-01-21 Vladimir Makarov <vmakarov@redhat.com>
732
733 PR middle-end/38587
734 * ira-color.c (coalesce_spill_slots): Don't coalesce allocnos
735 crossing setjmps.
736
b8a1087d
DK
7372009-01-21 Dave Korn <dave.korn.cygwin@gmail.com>
738
739 PR bootstrap/37660
740 * config/i386/cygwin.h (SHARED_LIBGCC_SPEC): New helper macro.
741 (LIBGCC_SPEC): Don't define.
742 (REAL_LIBGCC_SPEC): Define instead, using SHARED_LIBGCC_SPEC.
743
435da628
UB
7442009-01-21 Uros Bizjak <ubizjak@gmail.com>
745
746 PR rtl-optimization/38879
747 * alias.c (base_alias_check): Unaligned access via AND address can
748 alias all surrounding object types except those with sizes equal
749 or wider than the size of unaligned access.
750
d597b3ce
DS
7512009-01-21 Dodji Seketeli <dodji@redhat.com>
752
753 PR c++/26693
435da628 754 * c-decl.c: (clone_underlying_type): Move this ...
d597b3ce 755 * c-common.c (set_underlying_type): ... here.
435da628 756 Also, make sure the function properly sets TYPE_STUB_DECL() on
d597b3ce
DS
757 the newly created typedef variant type.
758 (is_typedef_decl ): New entry point.
759 * tree.h: Added a new member member_types_needing_access_check to
760 struct tree_decl_non_common.
761 (set_underlying_type): New entry point.
762 (is_typedef_type): Likewise.
763
71a6fe66
BM
7642009-01-21 Bingfeng Mei <bmei@broadcom.com>
765
766 * alias.c (walk_mems_1, walk_mems_2, insn_alias_sets_conflict_p):
767 Check whether two instructions have memory references that
768 belong to conflicting alias sets. walk_mems_1 and walk_mems_2
769 are helper functions for traversing.
770 * alias.h (insn_alias_sets_confilict_p): New prototypes.
771 * ddg.c (add_inter_loop_mem_dep): Call insn_alias_sets_conflict_p
772 not to draw dependency edge for instructions with non-conflicting
773 alias sets.
774
5a248274
JM
7752009-01-20 Joseph Myers <joseph@codesourcery.com>
776
777 PR other/38758
778 * longlong.h: Update copyright years. Use soft-fp license
779 notice. Sync __clz_tab declaration with glibc.
780
4b84f3de
SE
7812009-01-20 Steve Ellcey <sje@cup.hp.com>
782
783 PR target/30687
784 * doc/extend.texi (syscall_linkage): New.
785 (version_id): Modify.
786
37348bf1 7872009-01-20 Andrew Pinski <andrew_pinski@playstation.sony.com>
435da628 788 Richard Guenther <rguenther@suse.de>
37348bf1
AP
789
790 PR tree-optimization/38747
791 PR tree-optimization/38748
792 * tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Disable the VCE
793 conversion if the base address is an indirect reference and the
794 aliasing sets could cause issues.
795
d0a58904
SP
7962009-01-20 Sebastian Pop <sebastian.pop@amd.com>
797
798 * common.opt (fgraphite, fgraphite-identity): Add comment for
799 explaining why these options are not documented.
800
71e7afb2
SP
8012009-01-20 Sebastian Pop <sebastian.pop@amd.com>
802
803 * graphite.c (stmt_simple_for_scop_p): Also handle cases when
804 gimple_call_lhs is NULL.
805
09efeca1
PB
8062008-01-20 Paolo Bonzini <bonzini@gnu.org>
807
808 PR target/38868
809 * emit-rtl.c (adjust_address_1): Make sure memref is never
810 overwritten.
811
cbb8dee3
BE
8122009-01-20 Ben Elliston <bje@au.ibm.com>
813
814 * libgcov.c (__gcov_execl, __gcov_execlp, __gcov_execle): Remove
435da628 815 const qualifier from arg parameter. Remove unnecessary cast to char *.
cbb8dee3
BE
816 * gcov-io.h (__gcov_execl, __gcov_execlp, __gcov_execle): Remove
817 const qualifier from arg 2.
818
72c66596
IS
8192009-01-19 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
820
435da628 821 * config/darwin.h: Add static-libgfortran to LINK_SPEC.
72c66596 822
f68211cd
VM
8232009-01-19 Vladimir Makarov <vmakarov@redhat.com>
824
825 PR c/38869
826 * rtl.h (reinit_regs): New prototype.
827 * regclass.c: Include ira.h.
828 (reinit_regs): New.
829 * Makefile.in (regclass.o): Add ira.h.
830 * config/i386/i386.c (ix86_maybe_switch_abi): Use reinit_regs.
831
6e4f1168
L
8322009-01-18 H.J. Lu <hongjiu.lu@intel.com>
833
834 PR target/38736
835 * c-common.c (handle_aligned_attribute): Use
836 ATTRIBUTE_ALIGNED_VALUE instead of BIGGEST_ALIGNMENT for
837 default alignment value.
838
839 * c-cppbuiltin.c (c_cpp_builtins): Define __BIGGEST_ALIGNMENT__.
840
841 * defaults.h (ATTRIBUTE_ALIGNED_VALUE): New.
842 * config/i386/i386.h (ATTRIBUTE_ALIGNED_VALUE): Likewise.
843
844 * doc/extend.texi: Update __attribute__ ((aligned)). Document
845 __BIGGEST_ALIGNMENT__.
846
847 * doc/tm.texi: Document ATTRIBUTE_ALIGNED_VALUE.
848
890065bf
RG
8492009-01-18 Richard Guenther <rguenther@suse.de>
850
851 PR tree-optimization/38819
852 * tree-flow.h (operation_could_trap_helper_p): Declare.
853 * tree-eh.c (operation_could_trap_helper_p): Export.
854 * tree-ssa-sccvn.h (vn_nary_may_trap): Declare.
855 * tree-ssa-sccvn.c (vn_nary_may_trap): New function.
856 * tree-ssa-pre.c (insert_into_preds_of_block): Check if we
857 are about to insert a possibly trapping instruction and fail
858 in this case.
859
a729d731
AS
8602009-01-18 Andreas Schwab <schwab@suse.de>
861
862 * doc/install.texi (Configuration): Remove obsolete paragraph
863 about use of --with-gnu-ld with --with-gnu-as.
864
a640c13b
KH
8652009-01-18 Kazu Hirata <kazu@codesourcery.com>
866
867 * doc/extend.texi, doc/gimple.texi, doc/invoke.texi,
868 doc/md.texi, doc/sourcebuild.texi, doc/tm.texi: Fix typos.
869 Follow spelling conventions.
870
dba2cc0c
BE
8712009-01-18 Ben Elliston <bje@au.ibm.com>
872
873 * bitmap.c (bitmap_obstack_alloc_stat): Adjust cast to eliminate
874 C++ warning about implicit conversion from void * to struct
875 bitmap_head_def *.
876 (bitmap_obstack_free): Likewise for bitmap_element *.
bc127c63 877 * Makefile.in (bitmap.o-warn): Remove.
dba2cc0c 878
2207a498
DK
8792009-01-17 Dave Korn <dave.korn.cygwin@gmail.com>
880
881 * Makefile.in (BACKENDLIBS): Reorder to match dependencies.
882
8137e465
SP
8832009-01-17 Sebastian Pop <sebastian.pop@amd.com>
884 Tobias Grosser <tobi.grosser@amd.com>
885
886 * graphite.c (graphite_trans_scop_block): Do not block single
887 nested loops.
888
5be1c58c
AO
8892009-01-16 Alexandre Oliva <aoliva@redhat.com>
890
891 * ebitmap.h (ebitmap_iter_init): Initialize all fields.
892 * ipa-struct-reorg.c (gen_struct_type): Replace known-true
893 test with assertion.
894
786ce82d
RG
8952009-01-16 Richard Guenther <rguenther@suse.de>
896
897 PR tree-optimization/38835
898 PR middle-end/36227
899 * fold-const.c (fold_binary): Remove PTR + INT -> (INT)(PTR p+ INT)
900 and INT + PTR -> (INT)(PTR p+ INT) folding.
901 * tree-ssa-address.c (create_mem_ref): Properly use POINTER_PLUS_EXPR.
902
c1cb09ad
AN
9032009-01-16 Adam Nemet <anemet@caviumnetworks.com>
904
905 PR target/38554
906 * expmed.c (expand_shift): With SHIFT_COUNT_TRUNCATED, don't lift
907 the subreg from a lowpart subreg if it is also casting the value.
908
bcab4e19
SP
9092009-01-16 Sebastian Pop <sebastian.pop@amd.com>
910 Tobias Grosser <tobi.grosser@amd.com>
911
912 * graphite.c (compare_prefix_loops): New.
913 (build_scop_canonical_schedules): Rewritten.
914 (graphite_transform_loops): Move build_scop_canonical_schedules
915 after build_scop_iteration_domain.
916
0b040072
SP
9172009-01-16 Sebastian Pop <sebastian.pop@amd.com>
918 Tobias Grosser <tobi.grosser@amd.com>
919
920 * graphite.c (add_conditions_to_domain): Add the loops to
921 the dimension of the iteration domain. Do copy the domain
922 only when it exists.
923 (build_scop_conditions_1): Do not call add_conditions_to_domain.
924 (add_conditions_to_constraints): New.
925 (can_generate_code_stmt, can_generate_code): Removed.
926 (gloog): Do not call can_generate_code.
927 (graphite_transform_loops): Call add_conditions_to_constraints
928 after building the iteration domain.
929
56c6a499
JJ
9302009-01-16 Jakub Jelinek <jakub@redhat.com>
931
932 PR tree-optimization/38789
933 * tree-ssa-threadedge.c
934 (record_temporary_equivalences_from_stmts_at_dest): Ignore calls to
935 __builtin_constant_p.
936
c95b2534 9372009-01-16 Kenneth Zadeck <zadeck@naturalbridge.com>
cd3f1729
KZ
938
939 * dce.c (delete_unmarked_insns): Reversed the order that insns are
940 examined before deleting them.
941
c433cb14
RE
9422009-01-16 Richard Earnshaw <rearnsha@arm.com>
943
944 * function.c (aggregate_value_p): Correctly extract the function
945 type from CALL_EXPR_FN lookup.
946
c95b2534 9472009-01-16 Hariharan Sandanagobalane <hariharan@picochip.com>
27d62fa4
HS
948
949 * config/picochip/picochip.c (picochip_override_options): Revert
950 CFI asm flag disable commited previously.
951
c77bb78f
SP
9522009-01-15 Sebastian Pop <sebastian.pop@amd.com>
953 Tobias Grosser <tobi.grosser@amd.com>
954 Jan Sjodin <jan.sjodin@amd.com>
955
956 * graphite.c (scan_tree_for_params): On substractions negate
957 all the coefficients of the term.
958 (clast_to_gcc_expression_red): New. Handle reduction expressions
959 of more than two operands.
960 (clast_to_gcc_expression): Call clast_to_gcc_expression_red.
961 (get_vdef_before_scop): Handle also the case of default definitions.
962
574af2d6
RS
9632009-01-15 Richard Sandiford <rdsandiford@googlemail.com>
964
965 * caller-save.c (add_used_regs_1, add_used_regs): New functions.
966 (insert_one_insn): Use them instead of REG_DEAD and REG_INC notes.
967 Also use them when walking CALL_INSN_FUNCTION_USAGE.
968
e939805b
L
9692009-01-15 H.J. Lu <hongjiu.lu@intel.com>
970 Joey Ye <joey.ye@intel.com>
971
972 PR middle-end/37843
973 * cfgexpand.c (expand_stack_alignment): Don't update stack
974 boundary nor check incoming stack boundary here.
975 (gimple_expand_cfg): Update stack boundary and check incoming
976 stack boundary here.
977
c95b2534 9782009-01-15 Kenneth Zadeck <zadeck@naturalbridge.com>
750900db 979
435da628 980 * dce.c (find_call_stack_args, delete_unmarked_insns): Fixed comments.
750900db 981
0196c95e
JJ
9822009-01-14 Jakub Jelinek <jakub@redhat.com>
983
984 PR rtl-optimization/38245
985 * calls.c (expand_call): Add stack arguments to
986 CALL_INSN_FUNCTION_USAGE even for pure calls (when
987 ACCUMULATE_OUTGOING_ARGS) and even for args partially passed
988 in regs and partially in memory or BLKmode arguments.
989 (emit_library_call_value_1): Add stack arguments to
990 CALL_INSN_FUNCTION_USAGE even for pure calls (when
991 ACCUMULATE_OUTGOING_ARGS).
992 * dce.c: Include tm_p.h.
993 (find_call_stack_args): New function.
994 (deletable_insn_p): Call it for CALL_P insns. Add ARG_STORES
995 argument.
996 (mark_insn): Call find_call_stack_args for CALL_Ps.
997 (prescan_insns_for_dce): Walk insns backwards in bb rather than
998 forwards. Allocate and free arg_stores bitmap if needed, pass it
999 down to deletable_insn_p, don't mark stores set in arg_stores
1000 bitmap, clear the bitmap at the beginning of each bb.
1001 * Makefile.in (dce.o): Depend on $(TM_P_H).
1002
6df6bcfa
MM
10032009-01-14 Michael Meissner <gnu@the-meissners.org>
1004
1005 PR target/22599
435da628
UB
1006 * config/i386/i386.c (print_operand): Add tests for 'D', 'C', 'F', 'f'
1007 to make sure the insn is a conditional test (bug 22599). Reformat a
1008 few long lines.
6df6bcfa 1009
765ec70c
SP
10102009-01-14 Sebastian Pop <sebastian.pop@amd.com>
1011
1012 PR middle-end/38431
1013 * graphite.c (get_vdef_before_scop, scop_adjust_vphi): New.
1014 (scop_adjust_phis_for_liveouts): Call scop_adjust_vphi.
1015 (gloog): Do not call cleanup_tree_cfg.
1016 (graphite_transform_loops): Call cleanup_tree_cfg after all
1017 scops have been code generated.
1018
7de2b688
BS
10192009-01-14 Basile Starynkevitch <basile@starynkevitch.net>
1020 * doc/gty.texi (Invoking the garbage collector): Added new node
1021 and section documenting ggc_collect.
1022
10bd6c5c
RG
10232009-01-14 Richard Guenther <rguenther@suse.de>
1024
1025 PR tree-optimization/38826
1026 PR middle-end/38477
1027 * tree-ssa-structalias.c (emit_alias_warning): Emit the pointer
1028 initialization notes only if we actually emitted a warning.
1029 (intra_create_variable_infos): Add constraints for a result decl
1030 that is passed by hidden reference.
1031 (build_pred_graph): Mark all related variables non-direct on
1032 address-taking.
1033
9c7c70ee
NC
10342009-01-14 Nick Clifton <nickc@redhat.com>
1035
1036 * ira-conflicts.c: Include addresses.h for the definition of
1037 base_reg_class.
435da628
UB
1038 (ira_build_conflicts): Use base_reg_class instead of BASE_REG_CLASS.
1039 * Makefile.in: Add a dependency of ira-conflicts.o on addresses.h.
9c7c70ee 1040
cf0c2a60
VM
10412009-01-13 Vladimir Makarov <vmakarov@redhat.com>
1042
1043 PR target/38811
1044 * Makefile.in (ira-lives.o): Add except.h.
1045
1046 * ira-lives.c: Include except.h.
1047 (process_bb_node_lives): Process can_throw_internal.
1048
d3302fd3
JJ
10492009-01-13 Jakub Jelinek <jakub@redhat.com>
1050
1051 PR rtl-optimization/38774
1052 * combine.c (simplify_set): When undoing cc_use change, don't do
1053 PUT_CODE on the newly created comparison, but instead put back the
1054 old comparison.
1055
7ab23fd0
JM
10562009-01-13 Joseph Myers <joseph@codesourcery.com>
1057
1058 * doc/invoke.texi (ARM Options): Update lists of -mcpu and -march
1059 values. Remove duplicate arm8 entry.
1060
f9344488
SP
10612009-01-13 Sebastian Pop <sebastian.pop@amd.com>
1062
1063 PR tree-optimization/38786
1064 * graphite.c (expand_scalar_variables_ssa_name): New, outlined from
1065 the SSA_NAME case of expand_scalar_variables_expr.
1066 Set the type of an expression to the type of its assign statement.
1067 (expand_scalar_variables_expr): Also gather the scalar computation
1068 used to index the memory access. Do not pass loop_p.
1069 Fix comment. Stop recursion on tcc_constant or tcc_declaration.
1070 (expand_scalar_variables_stmt): Pass to expand_scalar_variables_expr
bef3c57b
UB
1071 the gimple_stmt_iterator where it inserts new code.
1072 Do not pass loop_p.
f9344488
SP
1073 (copy_bb_and_scalar_dependences): Do not pass loop_p.
1074 (translate_clast): Update call to copy_bb_and_scalar_dependences.
1075
2d8bb84d
SP
10762009-01-13 Sebastian Pop <sebastian.pop@amd.com>
1077
1078 * graphite.h (debug_value): Removed.
1079 * graphite.c (debug_value): Removed.
1080
ff128632
RE
10812009-01-13 Richard Earnshaw <rearnsha@arm.com>
1082
435da628
UB
1083 * config/arm/arm.c (output_move_double): Don't synthesize thumb-2
1084 ldrd/strd with two 32-bit instructions.
ff128632 1085
d5a0a47b
RE
10862009-01-13 Richard Earnshaw <rearnsha@arm.com>
1087
435da628
UB
1088 * config/arm/arm.c (struct processors): Pass for speed down into
1089 cost helper functions.
d5a0a47b
RE
1090 (const_ok_for_op): Handle COMPARE and inequality nodes.
1091 (arm_rtx_costs_1): Rewrite.
1092 (arm_size_rtx_costs): Update prototype.
1093 (arm_rtx_costs): Pass speed down to helper functions.
1094 (arm_slowmul_rtx_costs): Rework cost calculations.
1095 (arm_fastmul_rtx_costs, arm_xscale_rtx_costs): Likewise.
1096 (arm_9e_rtx_costs): Likewise.
1097
26d5bf5b
UB
10982009-01-13 Uros Bizjak <ubizjak@gmail.com>
1099
1100 * config/alpha/alpha.c (alpha_legitimate_address_p): Explicit
435da628 1101 relocations of local symbols wider than UNITS_PER_WORD are not valid.
26d5bf5b
UB
1102 (alpha_legitimize_address): Do not split local symbols wider than
1103 UNITS_PER_WORD into HIGH/LO_SUM parts.
1104
5d14e3d5
DS
11052009-01-13 Danny Smith <dannysmith@users.sourceforge.net>
1106
1107 PR bootstrap/38580
1108 * gcc.c (process_command): Replace call to execvp with calls
1109 to pex_one and exit.
1110
33faafca
AS
11112009-01-03 Anatoly Sokolov <aesok@post.ru>
1112
1113 PR target/29141
1114 * config/avr/t-avr (LIB1ASMFUNCS): Add _tablejump_elpm.
1115 * config/avr/libgcc.S (__do_global_ctors, __do_global_dtors): Add
1116 variant for devices with 3-byte PC.
1117 (__tablejump_elpm__) : New.
1118
634b5df5
JJ
11192009-01-12 Jakub Jelinek <jakub@redhat.com>
1120
1121 PR c/32041
1122 * c-parser.c (c_parser_postfix_expression): Allow `->' in
1123 offsetof member-designator, handle it as `[0].'.
1124
2842bb86
JDA
11252009-01-12 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1126
1127 * pa.c (pa_asm_output_mi_thunk): Use pc-relative branch to thunk
1128 function when not using named sections on targets with named sections
1129 if branch distance is less than 262132.
1130
76ee70f6
RE
11312009-01-12 Richard Earnshaw <rearnsha@arm.com>
1132
1133 * combine.c (combine_instructions): Recompute
1134 optimize_this_for_speed_p for each BB in the main combine loop.
1135
f56e675d
TB
11362009-01-12 Tomas Bily <tbily@suse.cz>
1137
1138 PR middlend/38385
26d5bf5b
UB
1139 * tree-loop-distribution.c (prop_phis): New function.
1140 (generate_builtin): Call prop_phis.
1141 * testsuite/gcc.dg/tree-ssa/pr38385.c: New file.
f56e675d 1142
c2152239
JJ
11432009-01-12 Jakub Jelinek <jakub@redhat.com>
1144
1145 PR tree-optimization/38807
1146 * tree-ssa-reassoc.c (remove_visited_stmt_chain): Don't look at
1147 gimple_visited_p unless stmt is GIMPLE_ASSIGN.
1148
0e510b3e
AN
11492009-01-11 Adam Nemet <anemet@caviumnetworks.com>
1150
1151 * expmed.c (store_bit_field_1): Properly truncate the paradoxical
1152 subreg of op0 to the original op0.
1153
c95b2534 11542009-01-11 Laurent GUERBY <laurent@guerby.net>
10270471
LG
1155
1156 * doc/sourcebuild.texi (Source Tree): Move up intl and fixinc.
1157
53a7ff9a
MS
11582009-01-11 Markus Schoepflin <markus.schoepflin@comsoft.de>
1159
1160 PR debug/7055
1161 * gcc/mips-tfile.c (parse_def): Fix parsing of def strings
1162 starting with digits.
1163
b3a796bc
JJ
11642009-01-10 Jakub Jelinek <jakub@redhat.com>
1165
1166 PR target/38695
1167 * config/arm/arm.c (arm_is_long_call_p): Don't call
1168 arm_function_in_section_p if decl isn't a FUNCTION_DECL.
1169
b21b850e
SB
11702009-01-09 Steven Bosscher <steven@gcc.gnu.org>
1171
1172 * regrename.c (regrename_optimize): Fix dumping.
1173 (find_oldest_value_reg): Preserve REG_POINTER.
1174 (copy_hardreg_forward_1): Likewise.
1175
e0e10d3a
DN
11762009-01-09 Diego Novillo <dnovillo@google.com>
1177
bf9b2cc9 1178 * gimple.h (struct gimple_statement_base) <uid>: Document
e0e10d3a
DN
1179 the restrictions on its use.
1180 (gimple_uid): Tidy.
1181 (gimple_set_uid): Tidy.
1182
c9da2ae8
JJ
11832009-01-09 Jakub Jelinek <jakub@redhat.com>
1184
1185 * config/i386/i386.c (ix86_expand_movmem, ix86_expand_setmem): Add
1186 zero guard even if align_bytes != 0 and count is smaller than
1187 size_needed.
1188
a174c19c
VM
11892008-01-09 Vladimir Makarov <vmakarov@redhat.com>
1190
1191 PR rtl-optimization/38495
26d5bf5b 1192 * ira-emit.c (print_move_list, ira_debug_move_list): New functions.
a174c19c
VM
1193 (add_range_and_copies_from_move_list): Print all added ranges.
1194 Add ranges to memory optimized destination.
1195
260fda3d
JJ
11962009-01-09 Jakub Jelinek <jakub@redhat.com>
1197
6f6278ad
JJ
1198 PR target/38686
1199 PR target/38708
1200 * config/i386/i386.c (override_options): Reject
1201 -mstringop-strategy=rep_8byte with -m32.
1202 (ix86_expand_movmem): For size_needed == 1 set epilogue_size_needed
1203 to 1. Do count comparison against epilogue_size_needed at compile
1204 time even when count_exp was constant forced into register. For
1205 size_needed don't jump to epilogue, instead just avoid aligning
1206 and invoke the body algorithm. If need_zero_guard, add zero guard
1207 even if count is non-zero, but smaller than size_needed + number of
1208 bytes that could be stored for alignment.
1209 (ix86_expand_setmem): For size_needed == 1 set epilogue_size_needed
1210 to 1. If need_zero_guard, add zero guard even if count is non-zero,
1211 but smaller than size_needed + number of bytes that could be stored
1212 for alignment. Compare size_needed with epilogue_size_needed instead
1213 of desired_align - align, don't adjust size_needed, pass
1214 epilogue_size_needed to the epilogue expanders.
1215
260fda3d 1216 PR c/35742
26d5bf5b 1217 * c-pretty-print.c (pp_c_expression): Handle GOTO_EXPR like BIND_EXPR.
260fda3d 1218
67b846fa
JDA
12192009-01-09 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1220
1221 * pa.c (last_address): Change to unsigned.
1222 (update_total_code_bytes): Change argument to unsigned. Don't
1223 check if insn addresses are set.
1224 (pa_output_function_epilogue): Set last_address to UINT_MAX if insn
1225 addresses are not set.
1226 (pa_asm_output_mi_thunk): Handle wrap when updating last_address.
1227
91c82473
NC
12282009-01-09 Nick Clifton <nickc@redhat.com>
1229
1230 * config/sh/symbian.c: Replace uses of DECL_INLINE with
1231 DECL_DECLARED_INLINE_P.
1232
4017e262
JJ
12332009-01-09 Jakub Jelinek <jakub@redhat.com>
1234
0a49e5c2
JJ
1235 PR middle-end/38347
1236 * dojump.c (do_jump_by_parts_zero_rtx): Use mode instead of
1237 GET_MODE (op0) in operand_subword_force calls.
1238
4017e262
JJ
1239 PR middle-end/38771
1240 * fold-const.c (fold_unary): For COMPOUND_EXPR and COND_EXPR,
1241 fold_convert arg0 operands to TREE_TYPE (op0) first.
1242
7cd06356
VM
12432009-01-08 Vladimir Makarov <vmakarov@redhat.com>
1244
1245 * params.def (ira-max-conflict-table-size): Decrease default value
1246 to 1000.
1247
96867bbd
JJ
12482009-01-08 Jakub Jelinek <jakub@redhat.com>
1249
1250 PR tree-optimization/37031
1251 * lambda-code.c (lambda_collect_parameters): Call pointer_set_destroy
1252 on parameter_set.
1253 (build_access_matrix): Reserve correct size for AM_MATRIX vector,
1254 allocate it using gc instead of heap, use VEC_quick_push instead of
1255 VEC_safe_push.
1256 * graphite.c (build_access_matrix): Allocate AM_MATRIX vector using gc
1257 instead of heap, use VEC_quick_push instead of VEC_safe_push.
1258 * tree-data-ref.h (struct access_matrix): Change matrix to gc
1259 allocated vector from heap allocated.
1260 * lambda.h: Add DEF_VEC_ALLOC_P for gc allocated lambda_vector.
1261 * tree-loop-linear.c (linear_transform_loops): Allocate nest
1262 vector only after perfect_loop_nest_depth call.
1263
68f61c3d
SP
12642009-01-08 Sebastian Pop <sebastian.pop@amd.com>
1265 Jan Sjodin <jan.sjodin@amd.com>
1266
1267 PR tree-optimization/38559
1268 * graphite.c (debug_value, copy_constraint,
1269 swap_constraint_variables, scale_constraint_variable, ): New.
1270 (get_lower_bound, get_upper_bound): Removed.
1271 (graphite_trans_bb_strip_mine): Clean up this code that works
1272 only for constant number of iterations. Fully copy upper and
1273 lower bound constraints, not only the constant part of them.
1274 * graphite.h (debug_value): Declared.
1275
82567e33
IR
12762009-01-08 Ira Rosen <irar@il.ibm.com>
1277
1278 PR tree-optimization/37194
1279 * tree-vect-transform.c (vect_estimate_min_profitable_iters):
1280 Don't add the cost of cost model guard in prologue to scalar
1281 outside cost in case of known number of iterations.
1282
7da13f1d
NF
12832009-01-07 Nathan Froyd <froydnj@codesourcery.com>
1284 Alan Modra <amodra@bigpond.net.au>
1285
1286 * config/rs6000/rs6000.c (rs6000_legitimize_address): Check for
1287 non-word-aligned REG+CONST addressing.
1288
c0f64575
UB
12892009-01-07 Uros Bizjak <ubizjak@gmail.com>
1290
1291 PR target/38706
1292 * config/alpha/alpha.c (alpha_end_function): For TARGET_ABI_OSF, call
1293 free_after_compilation when outputting a thunk.
1294 (alpha_output_mi_thunk_osf): Assert that we are processing a thunk.
1295 Do not call free_after_compilation here.
1296
301b6a4e
UB
12972009-01-07 Uros Bizjak <ubizjak@gmail.com>
1298
1299 * config/i386/i386.c (ix86_target_string): Use ARRAY_SIZE.
301b6a4e
UB
1300 (ix86_valid_target_attribute_inner_p): Ditto.
1301
6a114766
JS
13022009-01-07 Jan Sjodin <jan.sjodin@amd.com>
1303
1304 PR tree-optimization/38492
1305 PR tree-optimization/38498
1306 * tree-check.c (operator_is_linear, scev_is_linear_expression): New.
1307 * tree-chrec.h (scev_is_linear_expression): Declared.
1308 * graphite.c (graphite_cannot_represent_loop_niter): New.
1309 (scopdet_basic_block_info): Call graphite_cannot_represent_loop_niter.
1310 (graphite_loop_normal_form): Use gcc_assert.
1311 (scan_tree_for_params): Use CASE_CONVERT.
1312 (phi_node_is_iv, bb_contains_non_iv_scalar_phi_nodes): New.
1313 (build_scop_conditions_1): Call bb_contains_non_iv_scalar_phi_nodes.
1314 Use gcc_assert. Discard scops that contain unhandled cases.
1315 (build_scop_conditions): Return a boolean status for unhandled cases.
1316 (strip_mine_profitable_p): Print the loop number, not its depth.
1317 (is_interchange_valid): Pass the depth of the loop nest, don't
1318 recompute it wrongly.
1319 (graphite_trans_bb_block): Same.
1320 (graphite_trans_bb_block): Print tentative of loop blocking.
1321 (graphite_trans_scop_block): Do not print that the loop has been
1322 blocked.
1323 (graphite_transform_loops): Do not handle scops that contain condition
1324 scalar phi nodes.
1325
65b82caa
L
13262009-01-07 H.J. Lu <hongjiu.lu@intel.com>
1327
1328 AVX Programming Reference (December, 2008)
1329 * config/i386/avxintrin.h (_mm256_stream_si256): New.
1330 (_mm256_stream_pd): Likewise.
1331 (_mm256_stream_ps): Likewise.
1332
1333 * config/i386/i386.c (ix86_builtins): Add IX86_BUILTIN_MOVNTDQ256,
1334 IX86_BUILTIN_MOVNTPD256 and IX86_BUILTIN_MOVNTPS256.
1335 (ix86_special_builtin_type): Add VOID_FTYPE_PV4DI_V4DI.
1336 (bdesc_special_args): Add __builtin_ia32_movntdq256,
1337 __builtin_ia32_movntpd256 and __builtin_ia32_movntps256.
1338 (ix86_init_mmx_sse_builtins): Handle VOID_FTYPE_PV4DI_V4DI.
1339 (ix86_expand_special_args_builtin): Likewise.
1340
1341 * config/i386/sse.md (AVXMODEDI): New.
1342 (avx_movnt<mode>): Likewise.
1343 (avx_movnt<mode>): Likewise.
1344 (<sse>_movnt<mode>): Remove AVX support.
1345 (sse2_movntv2di): Likewise.
1346
cef158f9
RG
13472009-01-07 Richard Guenther <rguenther@suse.de>
1348
1349 PR middle-end/38751
1350 * fold-const.c (extract_muldiv): Remove obsolete comment.
1351 (fold_plusminus_mult_expr): Undo MINUS_EXPR
1352 to PLUS_EXPR canonicalization for the canonicalization.
1353
246cb5be
GP
13542009-01-07 Gerald Pfeifer <gerald@pfeifer.com>
1355
1356 * doc/install.texi (alpha*-dec-osf*): Remove note on 32-bit
1357 hosted cross-compilers generating less efficient code.
1358
84b9b872
RS
13592009-01-06 Richard Sandiford <rdsandiford@googlemail.com>
1360
1361 * function.h (rtl_data): Add a dbr_scheduled_p field.
1362 * reorg.c (dbr_schedule): Set it.
1363 (gate_handle_delay_slots): Check it.
1364 * config/mips/mips.c (mips_base_delayed_branch): Delete.
1365 (mips_reorg): Check flag_delayed_branch instead of
1366 mips_base_delayed_branch.
1367 (mips_override_options): Don't set mips_base_delayed_branch
1368 or flag_delayed_branch.
1369
ace984c8
RS
13702009-01-06 Richard Sandiford <rdsandiford@googlemail.com>
1371
1372 PR rtl-optimization/38426.
1373 * ira.c (ira): Set current_function_is_leaf earlier.
1374
7ad7809b
JJ
13752009-01-06 Jakub Jelinek <jakub@redhat.com>
1376
1377 PR rtl-optimization/38722
1378 * combine.c (try_combine): Don't modify PATTERN (i3) and notes
1379 too early, only set a flag and modify after last possible
1380 undo_all point.
1381
c52ec948
JJ
13822009-01-06 Janis Johnson <janis187@us.ibm.com>
1383
1384 PR c/34252
1385 * ginclude/float.h: Rename DECnn_DEN to DECnn_SUBNORMAL_MIN.
1386 * real.c (decimal_single_format): Correct values of emin and emax.
1387 (decimal_double_format): Ditto.
1388 (decimal_quad_format): Ditto.
1389 * c-cppbuiltin.c (builtin_define_decimal_float_constants): Adjust
1390 computation of DECnn_MIN and DECnn_MAX for corrected values of
1391 emin and emax. Define __DECnn_SUBNORMAL_MIN__ instead of
1392 __DECnn_MIN__, and adjust its computation for the corrected value
1393 of emin.
1394
300240e1
JH
13952009-01-06 Jan Hubicka <jh@suse.cz>
1396
1397 PR target/38744
435da628 1398 * config/i386/i386.c (ix86_expand_call): Use ARRAY_SIZE.
300240e1 1399
271c069e
GP
14002009-01-06 Gerald Pfeifer <gerald@pfeifer.com>
1401
1402 * doc/contrib.texi (Contributors): Slightly adjust the end note.
1403 Add Robert Clark to the list of testers.
1404
64e4c301 14052009-01-06 Jan Hubicka <jh@suse.cz>
c95b2534 1406 Kai Tietz <kai.tietz@onevision.com>
64e4c301 1407
435da628
UB
1408 * config/i386/i386.md (*msabi_syvabi): Add SSE regs clobbers.
1409 * config/i386/i386.c (ix86_expand_call): Add clobbers.
64e4c301 1410
7650b83e 14112009-01-06 Jan Hubicka <jh@suse.cz>
c95b2534 1412 Kai Tietz <kai.tietz@onevision.com>
7650b83e 1413
435da628
UB
1414 * config/i386/i386.h (CONDITIONAL_CALL_USAGE): SSE regs are not used
1415 for w64 ABI.
1416 * config/i386/i386.c (struct ix86_frame): Add padding0 and nsseregs.
7650b83e
JH
1417 (ix86_nsaved_regs): Count only general purpose regs.
1418 (ix86_nsaved_sseregs): New.
1419 (ix86_compute_frame_layout): Update nsseregs; set preferred alignment
1420 to 16 for w64; compute padding and size of sse reg save area.
301b6a4e
UB
1421 (ix86_emit_save_regs, ix86_emit_save_regs_using_mov): Save only
1422 general purpose regs.
7650b83e
JH
1423 (ix86_emit_save_sse_regs_using_mov): New.
1424 (ix86_expand_prologue): Save SSE regs if needed.
1425 (ix86_emit_restore_regs_using_mov): Use only general purpose regs.
1426 (ix86_emit_restore_sse_regs_using_mov): New.
1427 (ix86_expand_epilogue): Save SSE regs if needed.
1428
9aa5c1b2 14292009-01-06 Jan Hubicka <jh@suse.cz>
c95b2534 1430 Kai Tietz <kai.tietz@onevision.com>
9aa5c1b2 1431
435da628
UB
1432 * config/i386/i386.h (ACCUMULATE_OUTGOING_ARGS): Enable for MSABI
1433 * config/i386/i386.c (init_cumulative_args): Disallow calls of MSABI
1434 functions when accumulate outgoing args is off.
9aa5c1b2 1435
f7556aae
L
14362009-01-06 H.J. Lu <hongjiu.lu@intel.com>
1437
1438 PR bootstrap/38742
1439 * ira-color.c (ira_reuse_stack_slot): Check ENABLE_IRA_CHECKING
1440 before using pseudos_have_intersected_live_ranges_p.
1441
1442 * ira-int.h (ira_assert): Always define.
1443
e47b7d04
L
14442009-01-06 H.J. Lu <hongjiu.lu@intel.com>
1445
1446 AVX Programming Reference (December, 2008)
1447 * config/i386/avxintrin.h (_mm_permute2_pd): Removed.
1448 (_mm256_permute2_pd): Likewise.
1449 (_mm_permute2_ps): Likewise.
1450 (_mm256_permute2_ps): Likewise.
1451 * config/i386/i386.md (UNSPEC_VPERMIL2): Likewise.
1452 * config/i386/sse.md (avx_vpermil2<mode>3): Likewise.
1453
1454 * config/i386/i386.c (ix86_builtins): Remove
1455 IX86_BUILTIN_VPERMIL2PD, IX86_BUILTIN_VPERMIL2PS,
1456 IX86_BUILTIN_VPERMIL2PD256 and IX86_BUILTIN_VPERMIL2PS256.
1457 (ix86_builtin_type): Remove V8SF_FTYPE_V8SF_V8SF_V8SI_INT,
1458 V4DF_FTYPE_V4DF_V4DF_V4DI_INT, V4SF_FTYPE_V4SF_V4SF_V4SI_INT
1459 and V2DF_FTYPE_V2DF_V2DF_V2DI_INT.
1460 (bdesc_args): Remove __builtin_ia32_vpermil2pd,
1461 __builtin_ia32_vpermil2ps, __builtin_ia32_vpermil2pd256 and
1462 __builtin_ia32_vpermil2ps256.
1463 (ix86_init_mmx_sse_builtins): Updated.
1464 (ix86_expand_args_builtin): Likewise.
1465
44b86471
JDA
14662009-01-05 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1467
e47b7d04
L
1468 * pa.c (output_call): Relocate non-jump insns in the delay slot of
1469 long absolute calls when generating PA 2.0 code.
44b86471 1470
311aab06
VM
14712009-01-05 Vladimir Makarov <vmakarov@redhat.com>
1472
1473 PR rtl-optimization/38583
1474 * params.h (IRA_MAX_CONFLICT_TABLE_SIZE): New macro.
1475
1476 * params.def (ira-max-conflict-table-size): New.
1477
1478 * doc/invoke.texi (ira-max-conflict-table-size): Decribe.
1479
1480 * ira.h (ira_conflicts_p): New external definition.
1481
1482 * ira-conflicts.c (build_conflict_bit_table): Do not build too big
1483 table. Report this. Return result of building.
1484 (ira_build_conflicts): Use ira_conflicts_p. Check result of
1485 building conflict table.
1486
301b6a4e 1487 * ira-color.c (fast_allocation): Use num instead of ira_allocnos_num.
311aab06
VM
1488 (ira_color): Use ira_conflicts_p.
1489
1490 * global.c: Include ira.h.
1491 (pseudo_for_reload_consideration_p, build_insn_chain): Use
1492 ira_conflicts_p.
1493
1494 * Makefile.in (global.o): Add ira.h.
1495
1496 * ira-build.c (mark_all_loops_for_removal,
1497 propagate_some_info_from_allocno): New.
1498 (remove_unnecessary_allocnos): Call
1499 propagate_some_info_from_allocno.
1500 (remove_low_level_allocnos): New.
1501 (remove_unnecessary_regions): Add parameter. Call
1502 mark_all_loops_for_removal and remove_low_level_allocnos. Pass
1503 parameter to remove_unnecessary_regions.
1504 (ira_build): Remove all regions but root if the conflict table was
1505 not built. Update conflict hard regs for allocnos crossing calls.
1506
1507 * ira.c (ira_conflicts_p): New global.
1508 (ira): Define and use ira_conflicts_p.
1509
1510 * reload1.c (compute_use_by_pseudos, reload, count_pseudo,
1511 count_spilled_pseudo, find_reg, alter_reg, finish_spills,
301b6a4e 1512 emit_input_reload_insns, delete_output_reload): Use ira_conflicts_p.
311aab06 1513
5641785f
BE
15142009-01-06 Ben Elliston <bje@au.ibm.com>
1515
1516 * gengtype-lex.l (YY_NO_INPUT): Define.
1517
e4e5261f
AP
15182009-01-05 Andrew Pinski <andrew_pinski@playstation.sony.com>
1519
1520 PR c/34911
5641785f
BE
1521 * c-common.c (handle_vector_size_attribute): Also reject
1522 BOOLEAN_TYPE types.
e4e5261f 1523
7b10257f
SP
15242009-01-05 Sebastian Pop <sebastian.pop@amd.com>
1525
1526 PR tree-optimization/38492
1527 * graphite.c (rename_map_elt, debug_rename_elt,
301b6a4e
UB
1528 debug_rename_map_1, debug_rename_map, new_rename_map_elt,
1529 rename_map_elt_info, eq_rename_map_elts,
1530 get_new_name_from_old_name, bb_in_sese_p): Moved around.
7b10257f
SP
1531 (sese_find_uses_to_rename_use): Renamed sese_build_livein_liveouts_use.
1532 (sese_find_uses_to_rename_bb): Renamed sese_build_livein_liveouts_bb.
1533 (sese_build_livein_liveouts): New.
1534 (new_sese, free_sese): New.
1535 (new_scop): Call new_sese.
1536 (free_scop): Call free_sese.
1537 (rename_variables_from_edge, rename_phis_end_scop): Removed.
1538 (register_old_new_names): Renamed register_old_and_new_names.
1539 (register_scop_liveout_renames, add_loop_exit_phis,
1540 insert_loop_close_phis, struct igp,
1541 default_liveout_before_guard, add_guard_exit_phis,
1542 insert_guard_phis, copy_renames): New.
1543 (translate_clast): Call insert_loop_close_phis and insert_guard_phis.
1544 (sese_add_exit_phis_edge): Renamed scop_add_exit_phis_edge.
1545 (rewrite_into_sese_closed_ssa): Renamed scop_insert_phis_for_liveouts.
1546 (scop_adjust_phis_for_liveouts): New.
1547 (gloog): Call scop_adjust_phis_for_liveouts.
1548
1549 * graphite.h (struct sese): Documented. Added fields liveout,
301b6a4e 1550 num_ver and livein.
7b10257f
SP
1551 (SESE_LIVEOUT, SESE_LIVEIN, SESE_LIVEIN_VER, SESE_NUM_VER): New.
1552 (new_sese, free_sese, sese_build_livein_liveouts): Declared.
1553 (struct scop): Added field liveout_renames.
1554 (SCOP_LIVEOUT_RENAMES): New.
1555
9761fcc7
HJ
15562009-01-05 Harsha Jagasia <harsha.jagasia@amd.com>
1557
1558 PR tree-optimization/38510
1559 * graphite.c (recompute_all_dominators): Call mark_irreducible_loops.
1560 (translate_clast): Call recompute_all_dominators before
1561 graphite_verify.
1562 (gloog): Call recompute_all_dominators before graphite_verify.
1563
15642009-01-05 Harsha Jagasia <harsha.jagasia@amd.com>
c95b2534 1565 Jan Sjodin <jan.sjodin@amd.com>
9761fcc7
HJ
1566
1567 PR tree-optimization/38500
1568 * graphite.c (create_sese_edges): Call fix_loop_structure after
1569 splitting blocks.
1570
c95b2534 15712009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
48a01864
JS
1572
1573 * config.gcc: Add m32r*-*-rtems*.
1574 * config/m32r/rtems.h: New file.
1575
fc0cd180
BE
15762009-01-05 Ben Elliston <bje@au.ibm.com>
1577
1578 * Makefile.in (.po.gmo): Use mkinstalldirs, not test -d || mkdir.
1579 (.po.pox): Likewise.
1580 (po/gcc.pot): Likewise.
1581
3106d8e5
DM
15822009-01-04 David S. Miller <davem@davemloft.net>
1583
1584 * config/sparc/sparc.h (SECONDARY_MEMORY_NEEDED_RTX): Delete.
1585 (STARTING_FRAME_OFFSET): Always set to zero.
1586
0009b473
RS
15872009-01-04 Richard Sandiford <rdsandiford@googlemail.com>
1588
1589 * tree.def (LSHIFT_EXPR, RSHIFT_EXPR): Add commentary.
1590 * tree-cfg.c (verify_gimple_assign_binary): Allow shifts of
1591 fixed-point types, and vectors of the same.
1592
4f24c6d6
RS
15932009-01-04 Richard Sandiford <rdsandiford@googlemail.com>
1594
1595 * config/mips/sync.md (*mb_barrier): Rename to...
1596 (*memory_barrier): ...this.
1597
1df48f5c
JW
15982009-01-04 Jonathan Wakely <jwakely.gcc@gmail.com>
1599
1600 * doc/extend.texi (Function Attributes): Move @cindex after @item
eefe5da0 1601 for 'artificial' and 'flatten'. Fix grammar for 'externally_visible'
1df48f5c
JW
1602 and put in alphabetical order. Fix 'target' name and put in order.
1603 * doc/invoke.texi (-Wstrict-null-sentinel, -fipa-matrix-reorg): Fix
1604 typos.
1605
1a8c13b3
UB
16062009-01-04 Uros Bizjak <ubizjak@gmail.com>
1607
1608 * config/s390/s390.md (UNSPEC_MB): Rename from UNSPECV_MB.
1609 (memory_barrier): Expand as unspec instead of unspec_volatile.
1610 Remove mem:BLK from insn operands. Use Pmode scratch register.
1611 (*memory_barrier): Define as unspec instead of unspec_volatile.
1612 Use (match_dup 0) as input operand.
1613
1614 * config/sparc/sparc.md (UNSPEC_MEMBAR): Rename from UNSPECV_MEMBAR.
1615 * config/sparc/sync.md (memory_barrier): Expand as unspec instead of
1616 unspec_volatile. Remove mem:BLK from insn operands. Use Pmode
1617 scratch register. Remove operand 1.
1618 (*stbar): Define as unspec instead of unspec_volatile.
1619 Use (match_dup 0) as input operand, remove (const_int 8).
1620 (*membar): Define as unspec instead of unspec_volatile.
1621 Use (match_dup 0) as input operand, remove input operand 2.
1622
1623 * config/xtensa/xtensa.md (UNSPEC_MEMW): Rename from UNSPECV_MEMW.
1624 (memory_barrier): Expand as unspec instead of unspec_volatile.
1625 Remove mem:BLK from insn operands. Use Pmode scratch register.
1626 (*memory_barrier): Define as unspec instead of unspec_volatile.
1627 Use (match_dup 0) as input operand.
1628
1629 * config/ia64/sync.md (memory_barrier): Redefine as expander pattern.
1630 Remove mem:BLK from insn operands. Use Pmode scratch register.
1631 Set volatile flag on operand 0.
1632 (*memory_barrier): New insn pattern.
1633
1634 * config/rs6000/sync.md (memory_barrier): Remove mem:BLK from
1635 insn operands.
1636 (*memory_barrier): Use (match_dup 0) as input operand.
1637
1638 * config/mips/sync.md (memory_barrier): Redefine as expander pattern.
1639 Remove mem:BLK from insn operands. Use Pmode scratch register.
1640 Set volatile flag on operand 0.
301b6a4e 1641 (*mb_internal): New insn pattern.
1a8c13b3
UB
1642
1643 * config/alpha/sync.md (*memory_barrier): Rename from *mb_internal.
1644
fb0703f7
SB
16452009-01-04 Steven Bosscher <steven@gcc.gnu.org>
1646
1647 PR middle-end/38586
1648 * function.c (struct temp_slot): Move to the section of the file
1649 that deals with temp slots. Remove field 'address'.
1650 (temp_slot_address_table): New hash table of address -> temp slot.
1651 (struct temp_slot_address_entry): New struct, items for the table.
1652 (temp_slot_address_compute_hash, temp_slot_address_hash,
1653 temp_slot_address_eq, insert_temp_slot_address): Support functions
1654 for the new table.
1655 (find_temp_slot_from_address): Rewrite to use the new hash table.
1656 (remove_unused_temp_slot_addresses): Remove addresses of temp
1657 slots that have been made available.
1658 (remove_unused_temp_slot_addresses_1): Call-back for htab_traverse,
1659 worker function for remove_unused_temp_slot_addresses.
1660 (assign_stack_temp_for_type): Don't clear the temp slot address list.
1661 Add the temp slot address to the address -> temp slot map.
1662 (update_temp_slot_address): Update via insert_temp_slot_address.
1663 (free_temp_slots): Call remove_unused_temp_slot_addresses.
1664 (pop_temp_slots): Likewise.
1665 (init_temp_slots): Allocate the address -> temp slot map, or empty
1666 the map if it is already allocated.
1667 (prepare_function_start): Initialize temp slot processing.
1668
b5a430f3
SB
16692009-01-04 Steven Bosscher <steven@gcc.gnu.org>
1670
1671 PR middle-end/38584
1672 * cfgexpand.c (estimate_stack_frame_size): Simplify the estimate:
1673 Calculate the size of all stack vars assuming no packing of stack
1674 vars will happen, replacing a quadratic algorithm with a linear one.
1675
5d560619
JJ
16762009-01-03 Jakub Jelinek <jakub@redhat.com>
1677
1678 PR target/38707
1679 * expmed.c (store_bit_field_1): Don't modify op0 if movstrict insn
1680 can't be used.
1681
953a7caa
DN
16822009-01-03 Diego Novillo <dnovillo@google.com>
1683
1684 * doc/contrib.texi: Update contributions.
1685
5f26a230
JJ
16862009-01-03 Jakub Jelinek <jakub@redhat.com>
1687
493aa551
JJ
1688 PR c++/38705
1689 * builtins.c (fold_builtin_memory_op): Give up if either operand
1690 is volatile. Set srctype or desttype to non-qualified version
1691 of the other type.
1692
5f26a230
JJ
1693 PR c/38700
1694 * builtins.c (fold_builtin_expect): Only check DECL_WEAK for VAR_DECLs
1695 and FUNCTION_DECLs.
1696
c95b2534 16972009-01-02 Kenneth Zadeck <zadeck@naturalbridge.com>
fafe34f9
KZ
1698
1699 PR rtl-optimization/35805
1700 * df-problems.c (df_lr_finalize): Add recursive call to resolve lr
1701 problem if fast dce is able to remove any instructions.
1702 * dce.c (dce_process_block): Fix dump message.
1703
0b355794
MM
17042009-01-02 Mark Mitchell <mark@codesourcery.com>
1705
1706 PR 33649
1707 * tree-ssa-pre.c (compute_antic): Correct loop bounds.
1708
0cf0d02b
JJ
17092009-01-02 Jakub Jelinek <jakub@redhat.com>
1710
1711 PR middle-end/38690
1712 * tree-flow.h (op_code_prio, op_prio): New prototypes.
1713 * tree-pretty-print.c (op_code_prio): New function.
1714 (op_prio): No longer static. Use op_code_prio.
1715 * gimple-pretty-print.c (dump_unary_rhs, dump_binary_rhs):
1716 Use op_prio and op_code_prio to determine if () should be
1717 printed around operand(s) or not.
1718
1719 * gimple-pretty-print.c (dump_unary_rhs, dump_binary_rhs,
1720 dump_gimple_call, dump_gimple_switch, dump_gimple_cond,
1721 dump_gimple_label, dump_gimple_try, dump_symbols, dump_gimple_phi,
1722 dump_gimple_mem_ops, dump_bb_header, dump_bb_end, pp_cfg_jump): Use
1723 pp_character instead of pp_string for single letter printing.
1724
e3606f3b
RS
17252009-01-02 Richard Sandiford <rdsandiford@googlemail.com>
1726
1727 * doc/extend.texi: Fix '#pragma GCC option' typo.
1728
c95b2534 17292009-01-02 Richard Guenther <rguenther@suse.de>
00f39bd5 1730
a5f061dc
RG
1731 * doc/install.texi (--enable-checking): Mention different
1732 default for stage1.
1733 (--enable-stage1-checking): Document.
00f39bd5 1734
26de0bcb
AP
17352009-01-01 Andrew Pinski <pinskia@gmail.com>
1736
1737 PR middle-end/30142
1738 * tree-cfg.c (verify_expr): Add INDIRECT_REF case. Change MODIFY_EXPR
1739 case to be an error.
1740
7a7d8fab
BE
17412009-01-02 Ben Elliston <bje@au.ibm.com>
1742
1743 * config/fp-bit.h (pack_d): Constify argument.
1744 * config/fp-bit.c (makenan): Constify return type. Remove casts.
1745 (isnan): Constify argument.
1746 (isinf): Likewise.
1747 (iszero): Likewise.
1748 (pack_d): Likewise.
1749 (_fpadd_parts): Constify return type.
1750 (_fpmul_parts): Likewise.
1751 (_fpdiv_parts): Likewise.
1752
b295aee2
JJ
17532009-01-01 Jakub Jelinek <jakub@redhat.com>
1754
1755 PR c/36489
1756 * c-typeck.c (add_pending_init): Add IMPLICIT argument. Only
1757 warn about overwriting initializer with side-effects or
1758 -Woverride-init if !IMPLICIT.
1759 (output_init_element): Likewise. Pass IMPLICIT down to
1760 add_pending_init.
1761 (process_init_element): Add IMPLICIT argument. Pass it down
1762 to output_init_element.
1763 (push_init_element, pop_init_level, set_designator): Adjust
1764 process_init_element callers.
1765 (set_nonincremental_init, set_nonincremental_init_from_string):
1766 Adjust add_pending_init callers.
1767 (output_pending_init_elements): Adjust output_init_element callers.
1768 * c-tree.h (process_init_element): Adjust prototype.
1769 * c-parser.c (c_parser_initelt, c_parser_initval): Adjust
1770 process_init_element callers.