OSDN Git Service

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