OSDN Git Service

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