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