OSDN Git Service

101e244af9670db51488894edb265e0c2a415c47
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 2009-03-18  Eric Botcazou  <ebotcazou@adacore.com>
2
3         PR target/35180
4         * config/sparc/sparc.md (do_builtin_setjmp_setup): Prettify asm output.
5
6 2009-03-18  Sandra Loosemore  <sandra@codesourcery.com>
7
8         * doc/invoke.texi (Code Gen Options): Expand discussion of
9         -fno-common.
10
11 2009-03-18  Jakub Jelinek  <jakub@redhat.com>
12
13         * dse.c (struct group_info): Reorder fields for 64-bit hosts.
14         * matrix-reorg.c (struct matrix_info): Likewise.
15         * tree-ssa-loop-ivopts.c (struct ivopts_data): Likewise.
16         * rtl.h (struct mem_attrs): Likewise.
17         * df.h (struct df): Likewise.
18         * tree-data-ref.h (struct data_dependence_relation): Likewise.
19         * ira-int.h (struct ira_allocno): Likewise.
20         * df-scan.c (struct df_collection_rec): Likewise.
21         * ira.c (struct equivalence): Likewise.
22         * function.c (struct temp_slot): Likewise.
23         * cfgloop.h (struct loop): Likewise.
24
25         PR debug/39485
26         * function.c (use_register_for_decl): When not optimizing, disregard
27         register keyword for variables with types containing methods.
28
29 2009-03-18  Sebastian Pop  <sebastian.pop@amd.com>
30
31         PR middle-end/39447
32         * graphite.c (exclude_component_ref): Renamed contains_component_ref_p.
33         (is_simple_operand): Call contains_component_ref_p before calling data
34         reference analysis that would fail on COMPONENT_REFs.
35
36         * tree-vrp.c (search_for_addr_array): Fix formatting.
37
38 2009-03-18  Richard Guenther  <rguenther@suse.de>
39
40         * tree-vect-transform.c (vect_loop_versioning): Fold the
41         generated comparisons.
42         * tree-vectorizer.c (set_prologue_iterations): Likewise.
43         (slpeel_tree_peel_loop_to_edge): Likewise.
44
45 2009-03-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
46
47         PR middle-end/37805
48         * opts.c (print_specific_help): In addition to `undocumented',
49         accept `separate' and `joined' flags if passed alone.  Describe
50         output by the first matched one of those.
51         (common_handle_option): Skip over empty strings.
52         * gcc.c (display_help): Fix help string for `--help='.
53         * doc/invoke.texi (Option Summary, Overall Options): With
54         `--help=', classes and qualifiers can both be repeated, but
55         only the latter can be negated.  One should not pass only
56         negated qualifiers.  Fix markup and examples.
57
58         Revert
59         2008-10-14  Jakub Jelinek  <jakub@redhat.com>
60         PR middle-end/37805
61         * opts.c (common_handle_option): Don't ICE on -fhelp=joined
62         and -fhelp=separate.
63
64 2009-03-17  Jing Yu  <jingyu@google.com>
65
66         PR middle-end/39378
67         * function.h: Move is_thunk from rtl_data structure to function
68         structure.
69         * varasm.c (assemble_start_function): Change is_thunk from crtl to
70         cfun.
71         * config/alpha/alpha.c: Change is_thunk from crtl to cfun.
72         * config/rs6000/rs6000.c: Change is_thunk from crtl to cfun.
73         * config/arm/arm.h: Change is_thunk from crtl to cfun.
74
75 2009-03-17  Uros Bizjak  <ubizjak@gmail.com>
76
77         PR target/39482
78         * config/i386/i386.md (*truncdfsf_mixed): Avoid combining registers
79         from different units in a single alternative.
80         (*truncdfsf_i387): Ditto.
81         (*truncxfsf2_mixed): Ditto.
82         (*truncxfdf2_mixed): Ditto.
83
84 2009-03-17  Jakub Jelinek  <jakub@redhat.com>
85
86         * dwarf2out.c (dwarf2out_imported_module_or_decl_1): Allow
87         non-NAMESPACE_DECL IMPORTED_DECL_ASSOCIATED_DECL.
88
89         PR debug/39474
90         * tree-ssa-live.c (remove_unused_locals): Don't remove local
91         unused non-artificial variables when not optimizing.
92
93         PR debug/39471
94         * dwarf2out.c (dwarf2out_imported_module_or_decl_1): Emit
95         DW_TAG_imported_module even if decl is IMPORTED_DECL with
96         NAMESPACE_DECL in its DECL_INITIAL.
97
98         PR middle-end/39443
99         * optabs.c (set_user_assembler_libfunc): New function.
100         * expr.h (set_user_assembler_libfunc): New prototype.
101         * c-common.c: Include libfuncs.h.
102         (set_builtin_user_assembler_name): Call set_user_assembler_libfunc
103         for memcmp, memset, memcpy, memmove and abort.
104         * Makefile.in (c-common.o): Depend on libfuncs.h.
105
106         PR debug/39412
107         * dwarf2out.c (gen_inlined_enumeration_type_die,
108         gen_inlined_structure_type_die, gen_inlined_union_type_die,
109         gen_tagged_type_instantiation_die): Removed.
110         (gen_decl_die): For TYPE_DECL_IS_STUB with non-NULL decl_origin
111         do nothing.
112
113 2009-03-17  Janis Johnson  <janis187@us.ibm.com>
114
115         PR testsuite/38526
116         * Makefile.in (site.exp): Rename TEST_GCC_EXEC_PREFIX and comment
117         its use.
118         (check-%): Don't set GCC_EXEC_PREFIX when invoking runtest.
119         (check-parallel-%): Ditto.
120         (check-consistency): Ditto.
121
122 2009-03-17  Kai Tietz  <kai.tietz@onevision.com>
123
124         * ipa-struct-reorg.c (create_general_new_stmt): Initialize
125         local variable rhs by NULL_TREE.
126
127 2009-03-17  H.J. Lu  <hongjiu.lu@intel.com>
128
129         PR target/39477
130         * doc/extend.texi: Correct register behavior for regparm on Intel 386.
131
132 2009-03-17  H.J. Lu  <hongjiu.lu@intel.com>
133
134         PR target/39476
135         * config/i386/i386.c (ix86_function_regparm): Rewrite for 64bit.
136
137 2009-03-17  H.J. Lu  <hongjiu.lu@intel.com>
138
139         PR target/39473
140         * config/i386/i386.c (ix86_expand_call): Check extra clobbers
141         for ms->sysv ABI calls only in 64bit mode.
142
143         * config/i386/i386.md (untyped_call): Support 32bit.
144
145 2009-03-16  H.J. Lu  <hongjiu.lu@intel.com>
146
147         * doc/extend.texi: Replace x86_65 with x86_64.
148
149 2009-03-16  Jakub Jelinek  <jakub@redhat.com>
150
151         PR tree-optimization/39455
152         * tree-ssa-loop-niter.c (number_of_iterations_lt_to_ne): Fix types
153         mismatches for POINTER_TYPE_P (type).
154         (number_of_iterations_le): Likewise.
155
156 2009-03-16  Hariharan Sandanagobalane <hariharan@picochip.com>
157
158         * config/picochip/picochip.c: Removed profiling support.
159         * config/picochip/picochip.md: Removed profiling instruction.
160         * config/picochip/picochip.h: Removed profiling builtin.
161
162 2009-03-16  Joseph Myers  <joseph@codesourcery.com>
163
164         * doc/install.texi (--with-host-libstdcxx): Document.
165
166 2009-03-14  Anatoly Sokolov  <aesok@post.ru>
167
168         PR target/34299
169         * config/avr/avr.c (avr_handle_fndecl_attribute): Move code for
170         generate a warning if the function name does not begin with
171         "__vector" and the function has either the 'signal' or 'interrupt'
172         attribute, from here to ...
173         (avr_declare_function_name): ...here. New function.
174         * config/avr/avr.h (ASM_DECLARE_FUNCTION_NAME): Redefine.
175         * config/avr/avr-protos.h (avr_declare_function_name): Declare.
176
177 2009-03-14  Jakub Jelinek  <jakub@redhat.com>
178
179         PR bootstrap/39454
180         * cse.c (fold_rtx): Don't modify original const_arg1 when
181         canonicalizing SHIFT_COUNT_TRUNCATED shift count, do it on a
182         separate variable instead.
183         * rtlanal.c (nonzero_bits1) <case ASHIFTRT>: Don't assume anything
184         from out of range shift counts.
185         (num_sign_bit_copies1) <case ASHIFTRT, case ASHIFT>: Similarly.
186
187 2008-03-13  Catherine Moore  <clm@codesourcery.com>
188
189         * gcc/config/i386/x-mingw32 (host-mingw32.o): Replace
190         diagnostic.h with $(DIAGNOSTIC_H).
191
192 2008-03-12  Jakub Jelinek  <jakub@redhat.com>
193
194         PR target/39431
195         * config/i386/predicates.md (cmpxchg8b_pic_memory_operand): New
196         predicate.
197         * config/i386/sync.md (sync_compare_and_swap<mode>,
198         sync_compare_and_swap_cc<mode>): For DImode with -m32 -fpic check
199         if operands[1] is cmpxchg8b_pic_memory_operand, if not force address
200         into a register.
201         (sync_double_compare_and_swapdi_pic,
202         sync_double_compare_and_swap_ccdi_pic): Require operand 1 to be
203         cmpxchg8b_pic_memory_operand instead of just memory_operand.
204
205 2009-03-12  H.J. Lu  <hongjiu.lu@intel.com>
206
207         PR target/39445
208         * config/i386/i386.c (ix86_expand_push): Don't set memory alignment.
209
210 2009-03-12  H.J. Lu  <hongjiu.lu@intel.com>
211
212         PR target/39327
213         * config/i386/sse.md (avx_addsubv8sf3): Correct item bits.
214         (avx_addsubv4df3): Likewise.
215         (*avx_addsubv4sf3): Likewise.
216         (sse3_addsubv4sf3): Likewise.
217
218 2009-03-12  H.J. Lu  <hongjiu.lu@intel.com>
219
220         PR target/38824
221         * config/i386/i386.md: Compare REGNO on the new peephole2 patterns.
222
223 2009-03-12  Vladimir Makarov  <vmakarov@redhat.com>
224
225         PR debug/39432
226         * ira-int.h (struct allocno): Fix comment for calls_crossed_num.
227         * ira-conflicts.c (ira_build_conflicts): Prohibit call used
228         registers for allocnos created from user-defined variables.
229
230 2009-03-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
231
232         PR target/39181
233         * config/spu/spu.c (spu_expand_mov): Handle invalid subregs
234         of non-integer mode as well.
235
236 2009-03-11  Adam Nemet  <anemet@caviumnetworks.com>
237
238         * gimplify.c (gimplify_call_expr): Don't set CALL_CANNOT_INLINE_P
239         for functions for which the parameter types are unknown.
240
241 2009-03-11  Jakub Jelinek  <jakub@redhat.com>
242
243         PR target/39137
244         * cfgexpand.c (get_decl_align_unit): Use LOCAL_DECL_ALIGNMENT macro.
245         * defaults.h (LOCAL_DECL_ALIGNMENT): Define if not yet defined.
246         * config/i386/i386.h (LOCAL_DECL_ALIGNMENT): Define.
247         * config/i386/i386.c (ix86_local_alignment): For
248         -m32 -mpreferred-stack-boundary=2 use 32-bit alignment for
249         long long variables on the stack to avoid dynamic realignment.
250         Allow the first argument to be a decl rather than type.
251         * doc/tm.texi (LOCAL_DECL_ALIGNMENT): Document.
252
253 2009-03-11  Nick Clifton  <nickc@redhat.com>
254
255         PR target/5362
256         * config/mcore/mcore.opt: Remove deprecated m4align and m8align
257         options.
258         Add description to mno-lsim option.
259         * config/mcore/mcore.h: Remove comment about deprecated m4align
260         option.
261         (TARGET_DEFAULT): Remove deprecated MASK_M8ALIGN.
262         * doc/invoke.texi: Add description of mno-lsim and
263         mstack-increment options.
264
265         * config/fr30/fr30.opt: Document the -mno-lsim option.
266         * doc/invoke.texi: Add descriptions of the FR30's -msmall-model
267         and -mno-lsim options.
268
269 2009-03-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
270
271         * fold-const.c (fold_comparison): Only call fold_inf_compare
272         if the mode supports infinities.
273
274 2009-03-11  Jason Merrill  <jason@redhat.com>
275
276         PR debug/39086
277         * tree-nrv.c (tree_nrv): Don't do this optimization if the front
278         end already did.  Notice GIMPLE_CALL modifications of the result.
279         Don't copy debug information from an ignored decl or a decl from
280         another function.
281
282 2009-03-10  Richard Guenther  <rguenther@suse.de>
283             Nathan Froyd  <froydnj@codesourcery.com>
284
285         PR middle-end/37850
286         * libgcc2.c (__mulMODE3): Use explicit assignments to form the result.
287         (__divMODE3): Likewise.
288
289 2009-03-09  Jakub Jelinek  <jakub@redhat.com>
290
291         PR tree-optimization/39394
292         * gimplify.c (gimplify_type_sizes): Gimplify DECL_SIZE and
293         DECL_SIZE_UNIT of variable length FIELD_DECLs.
294
295 2009-03-09  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
296
297         * recog.c (verfiy_changes): Disallow renaming of hard regs in
298         inline asms for register asm ("") declarations.
299
300 2009-03-09  Eric Botcazou  <ebotcazou@adacore.com>
301
302         * fold-const.c (fold_unary): Fix comment.
303
304 2009-03-07  Jan Hubicka  <jh@suse.cz>
305
306         PR target/39361
307         * tree-inline.c (setup_one_parameter): Do replacement of const argument
308         by constant in SSA form.
309
310 2009-03-07  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
311
312         PR middle-end/38028
313         * function.c (assign_parm_setup_stack): Use STACK_SLOT_ALIGNMENT to
314         determine alignment passed to assign_stack_local.
315         (assign_parms_unsplit_complex): Likewise.
316         * except.c (sjlj_build_landing_pads): Likewise.
317
318 2009-03-06  Jakub Jelinek  <jakub@redhat.com>
319
320         PR middle-end/39360
321         * tree-flow.h (add_referenced_var): Return bool instead of void.
322         * tree-dfa.c (add_referenced_var): Return result of
323         referenced_var_check_and_insert call.
324         * tree-inline.c (expand_call_inline): Call add_referenced_var instead
325         of referenced_var_check_and_insert.
326
327         PR debug/39372
328         * dwarf2out.c (add_abstract_origin_attribute): Return origin_die.
329         (gen_variable_die): Emit DW_AT_location on abstract static variable's
330         DIE, don't emit it if abstract origin already has it.
331         * tree-cfg.c (remove_useless_stmts_bind): GIMPLE_BINDs with any
332         BLOCK_NONLOCALIZED_VARS in its gimple_bind_block aren't useless.
333
334 2009-03-06  Jan-Benedict Glaw  <jbglaw@lug-owl.de>
335
336         * genpreds.c: (needs_variable): Fix parentheses at variable name
337         detection.
338         (write_tm_constrs_h): Indent generated code.
339
340 2009-03-06  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
341
342         * doc/extend.texi (Function Attributes): Add documentation
343         for isr attributes.
344
345 2009-03-06  Jakub Jelinek  <jakub@redhat.com>
346
347         PR debug/39387
348         * dwarf2out.c (dwarf2out_imported_module_or_decl_1): For IMPORTED_DECL
349         take locus from its DECL_SOURCE_LOCATION instead of input_location.
350
351 2009-03-05  Bernd Schmidt  <bernd.schmidt@analog.com>
352
353         * config/bfin/bfin.c (bfin_discover_loop): When retrying fails, mark
354         the loop as bad.
355
356 2009-03-05  Jakub Jelinek  <jakub@redhat.com>
357
358         PR debug/39379
359         * tree-cfg.c (remove_useless_stmts_bind): Don't remove GIMPLE_BINDs
360         with blocks containing IMPORTED_DECLs in BLOCK_VARS.
361
362 2009-03-05  Uros Bizjak  <ubizjak@gmail.com>
363
364         * config/i386/i386.md (R8_REG, R9_REG): New constants.
365         * config/i386/i386.h (CONDITIONAL_REGISTER_USAGE): Use named
366         constants instead of magic numbers.
367         (HARD_REGNO_CALLER_SAVE_MODE): Ditto.
368         (QI_REG_P): Ditto.
369         * config/i386/i386.c (x86_64_int_parameter_registers): Ditto.
370         (x86_64_ms_abi_int_parameter_registers): Ditto.
371         (x86_64_int_return_registers): Ditto.
372         (ix86_maybe_switch_abi): Ditto.
373         (ix86_expand_call): Ditto for clobbered_registers array.
374         (ix86_hard_regno_mode_ok): Ditto.
375         (x86_extended_QIreg_mentioned_p): Ditto.
376
377 2009-03-05  J"orn Rennecke  <joern.rennecke@arc.com>
378
379         PR tree-optimization/39349
380         * cse.c (cse_insn): Fix loop to stop at VOIDmode.
381
382         * combine.c (gen_lowpart_for_combine): Use omode when generating
383         clobber.
384
385 2009-03-04  J"orn Rennecke  <joern.rennecke@arc.com>
386
387         PR rtl-optimization/39235
388         * loop-iv.c (get_simple_loop_desc): Use XCNEW.
389
390 2009-03-04  Zdenek Dvorak  <ook@ucw.cz>
391
392         * graphite.c (nb_reductions_in_loop): Update simple_iv arguments.
393
394 2009-03-04  Richard Guenther  <rguenther@suse.de>
395
396         PR tree-optimization/39362
397         * tree-ssa-sccvn.c (visit_use): Stores and copies from SSA_NAMEs
398         that occur in abnormal PHIs should be varying.
399
400 2009-03-04  Zdenek Dvorak  <ook@ucw.cz>
401
402         * tree-scalar-evolution.c (analyze_scalar_evolution_in_loop):
403         Extend comments.
404         (simple_iv):  Take loop as an argument instead of statement.
405         * tree-scalar-evolution.h (simple_iv): Declaration changed.
406         * tree-ssa-loop-niter.c (number_of_iterations_exit): Update calls
407         to simple_iv.
408         * tree-ssa-loop-ivopts.c (determine_biv_step, find_givs_in_stmt_scev):
409         Ditto.
410         * tree-parloops.c (loop_parallel_p, canonicalize_loop_ivs): Ditto.
411         * matrix-reorg.c (analyze_transpose): Ditto.
412         * tree-data-ref.c (dr_analyze_innermost): Ditto.
413         * tree-vect-analyze.c (vect_analyze_data_refs): Ditto.
414         * tree-predcom.c (ref_at_iteration): Ditto.
415         * tree-ssa-loop-prefetch.c (idx_analyze_ref): Ditto.
416
417 2009-03-04  Richard Guenther  <rguenther@suse.de>
418
419         PR tree-optimization/39358
420         * tree-ssa-structalias.c (do_sd_constraint): Fix check for
421         escaped_id and callused_id.
422         (solve_graph): Likewise.
423
424 2009-03-04  Richard Guenther  <rguenther@suse.de>
425
426         PR tree-optimization/39339
427         * tree-sra.c (try_instantiate_multiple_fields): Make it
428         no longer ICE on the above.
429
430 2009-03-03  Joseph Myers  <joseph@codesourcery.com>
431
432         * emit-rtl.c (adjust_address_1): Reduce offset to a signed value
433         that fits within Pmode.
434
435 2009-03-03  Steve Ellcey  <sje@cup.hp.com>
436
437         PR middle-end/10109
438         * tm.texi (LIBCALL_VALUE): Update description.
439
440 2009-03-03  Steve Ellcey  <sje@cup.hp.com>
441
442         PR middle-end/34443
443         * doc/extend.texi (section): Update description.
444
445 2009-03-03  H.J. Lu  <hongjiu.lu@intel.com>
446
447         PR middle-end/39345
448         * tree-inline.c (remapped_type): New.
449         (can_be_nonlocal): Call remapped_type instead of remap_type.
450
451 2009-03-03  Jakub Jelinek  <jakub@redhat.com>
452
453         PR fortran/39354
454         * gimplify.c (goa_stabilize_expr): Handle tcc_comparison,
455         TRUTH_ANDIF_EXPR and TRUTH_ORIF_EXPR.
456
457 2009-03-03  Richard Guenther  <rguenther@suse.de>
458
459         PR middle-end/39272
460         * tree.c (tree_nonartificial_location): New function.
461         * tree.h (tree_nonartificial_location): Declare.
462         * builtins.c (expand_builtin_memory_chk): Provide location
463         of the call location for artificial function pieces.
464         (maybe_emit_chk_warning): Likewise.
465         (maybe_emit_sprintf_chk_warning): Likewise.
466         (maybe_emit_free_warning): Likewise.
467         * expr.c (expand_expr_real_1): Likewise.
468
469 2009-03-03  Jakub Jelinek  <jakub@redhat.com>
470
471         PR tree-optimization/39343
472         * tree-ssa-ccp.c (maybe_fold_offset_to_address): Don't check if
473         COMPONENT_REF t has ARRAY_TYPE.
474
475 2009-03-02  Sebastian Pop  <sebastian.pop@amd.com>
476
477         PR middle-end/39335
478         * tree-parloops.c (canonicalize_loop_ivs): Call fold_convert
479         when the type precision of the induction variable should be
480         larger than the type precision of nit.
481         (gen_parallel_loop): Update use of canonicalize_loop_ivs.
482         * graphite.c (graphite_loop_normal_form): Same.
483         * tree-flow.h (canonicalize_loop_ivs): Update declaration.
484
485 2009-03-02  Uros Bizjak  <ubizjak@gmail.com>
486
487         * config/i386/i386.md (ST?_REG, MM?_REG): New constants.
488         (*call_1_rex64_ms_sysv): Use named constants instead of magic
489         numbers to describe clobbered registers.
490         (*call_value_0_rex64_ms_sysv): Ditto.
491         * config/i386/mmx.md (mmx_emms): Ditto.
492         (mmx_femms): Ditto.
493
494 2009-03-02  Richard Sandiford  <rdsandiford@googlemail.com>
495
496         * config/mips/mips.c (mips_mdebug_abi_name): Fix the handling
497         of ABI_64.
498
499 2009-03-02  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
500
501         * config/spu/spu.c (TARGET_SECTION_TYPE_FLAGS): Define.
502         (spu_section_type_flags): New function.
503
504 2009-03-02  Uros Bizjak  <ubizjak@gmail.com>
505
506         * config/i386/i386.h (CONDITIONAL_REGISTER_USAGE): Do not copy
507         reg_class_contents of FLOAT_REGS into a temporary.
508
509 2009-03-02  Richard Guenther  <rguenther@suse.de>
510             Ira Rosen  <irar@il.ibm.com>
511
512         PR tree-optimization/39318
513         * tree-vect-transform.c (vectorizable_call): Transfer the EH region
514         information to the vectorized statement.
515
516 2009-03-01  Uros Bizjak  <ubizjak@gmail.com>
517
518         * config/i386/i386.h (CONDITIONAL_REGISTER_USAGE): Do not shadow "i"
519         variable.  Use defined names instead of magic constants for REX SSE
520         registers.
521
522 2009-03-01  Richard Guenther  <rguenther@suse.de>
523
524         PR tree-optimization/39331
525         * omp-low.c (lower_send_shared_vars): Do not receive new
526         values for the reference of DECL_BY_REFERENCE parms or results.
527
528 2009-03-01  Jan Hubicka  <jh@suse.cz>
529
530         PR debug/39267
531         * tree.h (BLOCK_NONLOCALIZED_VARS, BLOCK_NUM_NONLOCALIZED_VARS,
532         BLOCK_NONLOCALIZED_VAR): New macros.
533         (tree_block): Add nonlocalized_vars.
534         * dwarf2out.c (gen_formal_parameter_die, gen_variable_die,
535         gen_decl_die): Add origin argument.  Allow generation of die with
536         origin at hand only.
537         (gen_member_die, gen_type_die_with_usage, force_decl_die,
538         declare_in_namespace, gen_namescpace_die, dwarf2out_decl): Update use
539         of gen_*.
540         (gen_block_die): Fix checking for unused blocks.
541         (process_scope_var): Break out from .... ; work with origins only.
542         (decls_for_scope) ... here; process nonlocalized list.
543         (dwarf2out_ignore_block): Look for nonlocalized vars.
544         * tree-ssa-live.c (remove_unused_scope_block_p): Look for nonlocalized
545         vars.
546         (dump_scope_block): Dump them.
547         * tree-inline.c (remap_decls): Handle nonlocalized vars.
548         (remap_block): Likewise.
549         (can_be_nonlocal): New predicate.
550         (copy_bind_expr, copy_gimple_bind): Update use of remap_block.
551
552 2009-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
553
554         * configure: Regenerate.
555
556 2009-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
557
558         * optc-gen.awk: No need to duplicate option flags twice.
559         Reuse help texts for duplicate options which do not have any.
560
561         * gcc.c (display_help): Document --version.
562
563         * gcc.c (main): If print_help_list and verbose_flag, ensure
564         driver output comes before subprocess output.
565
566         * optc-gen.awk: Assign all remaining fields to help string,
567         space-separated, for multi-line help in *.opt.
568
569         * doc/invoke.texi (Warning Options): -Wsync-nand is C/C++ only.
570         -Wno-pedantic-ms-format is for MinGW targets only.
571
572         * doc/options.texi (Option file format): Fix bad indentation,
573         restoring dropped sentence.
574
575 2009-02-28  Jan Hubicka  <jh@suse.cz>
576
577         * tree-inline.c (tree_function_versioning): Output debug info.
578
579 2009-02-28  Jan Hubicka  <jh@suse.cz>
580
581         PR debug/39267
582         * tree-inline.c (setup_one_parameter): Do not copy propagate
583         arguments when not optimizing.
584
585 2009-02-28  H.J. Lu  <hongjiu.lu@intel.com>
586
587         PR target/39327
588         * config/i386/sse.md (avx_addsubv8sf3): Correct item bits.
589         (avx_addsubv4df3): Likewise.
590         (*avx_addsubv4sf3): Likewise.
591         (sse3_addsubv4sf3): Likewise.
592         (*avx_addsubv2df3): Likewise.
593         (sse3_addsubv2df3): Likewise.
594         (avx_unpckhps256): Correct item selectors.
595         (avx_unpcklps256): Likewise.
596         (avx_unpckhpd256): Likewise.
597         (avx_unpcklpd256): Likewise.
598
599 2009-02-28  Jan Hubicka  <jh@suse.cz>
600
601         * tree-inline.c (expand_call_inline): Avoid duplicate declarations of
602         static vars.
603         (copy_arguments_for_versioning): If var is declared don't declare it.
604         (tree_function_versioning): First setup substitutions and then copy
605         args.
606
607 2009-02-27  Jan Hubicka  <jh@suse.cz>
608
609         PR debug/39267
610         * cgraph.h (varpool_output_debug_info): Remove.
611         * cgraphunit.c (varpool_output_debug_info): Remove.
612         * dwarf2out.c (deferred_locations_struct): New struct
613         (deferred_locations): New type.
614         (deferred_locations_list): New static var.
615         (deffer_location): New function.
616         (gen_variable_die): Use it.
617         (decls_for_scope): Output info on local static vars.
618         (dwarf2out_finish): Process deferred locations.
619         * varpool.c (varpool_output_debug_info): Remove.
620
621 2009-02-27  Jan Hubicka  <jh@suse.cz>
622
623         PR debug/39267
624         * tree.h (TREE_PROTECTED): Fix comment.
625         (BLOCK_HANDLER_BLOCK): Remove.
626         (struct tree_block): Remove handler_block add body_block.
627         (inlined_function_outer_scope_p): New.
628         (is_body_block): Remove.
629         * dbxout.c (dbxout_block): Remove BLOCK_HANDLER_BLOCK.
630         * dwarf2out.c (is_inlined_entry_point): Remove.
631         (add_high_low_attributes): Use inlined_function_outer_scope_p.
632         (gen_block_die): Use is_inlined_entry_point check.  Remove body block
633         code.
634         * langhooks.h (struct lang_hooks): Remove no_bodu_blocks.
635         * gimplify.c (gimplify_expr): Gimplify body blocks.
636         * tree-ssa-live.c (remove_unused_scope_block_p): Allow removing wrapper
637         block with multiple subblocks.
638         (dump_scope_block): Prettier output; dump more flags and info.
639         (dump_scope_blocks): New.
640         (remove_unused_locals): Use dump_scope_blocks.
641         * tree-flow.h (dump_scope_blocks): Declare.
642         * tree-cfg.c (execute_build_cfg): Dump scope blocks.
643         * stmt.c (is_body_block): Remove.
644         * tree-inline.c (remap_block): Copy BODY_BLOCK info.
645         * langhooks-def.h (LANG_HOOKS_NO_BODY_BLOCKS): Remove.
646
647 2009-02-27  Sebastian Pop  <sebastian.pop@amd.com>
648
649         PR middle-end/39308
650         * graphite.c (graphite_loop_normal_form): Do not call 
651         number_of_iterations_exit from a gcc_assert.
652
653 2009-02-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
654
655         * gcc/config/s390/s390.c: (s390_swap_cmp): Look for conditional
656         jumps if COND is NULL.
657         (find_cond_jump): New function.
658         (s390_z10_optimize_cmp): Handling for reg-reg compares added.
659         * gcc/config/s390/s390.md: Remove z10_cobra attribute value.
660
661 2009-02-26  Uros Bizjak  <ubizjak@gmail.com>
662
663         * config/alpha/alpha.h (alpha_expand_mov): Return false if
664         force_const_mem returns NULL_RTX.
665
666 2009-02-26  Jan Hubicka  <jh@suse.cz>
667
668         PR debug/39267
669         * cgraph.h (varpool_output_debug_info): Remove.
670         * cgraphunit.c (varpool_output_debug_info): Remove.
671         * dwarf2out.c (deferred_locations_struct): New struct
672         (deferred_locations): New type.
673         (deferred_locations_list): New static var.
674         (deffer_location): New function.
675         (gen_variable_die): Use it.
676         (decls_for_scope): Output info on local static vars.
677         (dwarf2out_finish): Process deferred locations.
678         * varpool.c (varpool_output_debug_info): Remove.
679
680 2009-02-25  H.J. Lu  <hongjiu.lu@intel.com>
681
682         PR rtl-optimization/39241
683         * jump.c (rtx_renumbered_equal_p): Remove 2 superfluous calls
684         to subreg_offset_representable_p.
685
686 2009-02-25  Paolo Bonzini  <bonzini@gnu.org>
687
688         * regmove.c (regmove_optimize): Conform to struct rtl_opt_pass
689         execute function prototype.  Get f and nregs from max_reg_num
690         and get_insns.  Remove the first backward pass as it's dead,
691         guard the forward pass by flag_expensive_optimizations.
692         (rest_of_handle_regmove): Delete.
693         (pass_regmove): Replace it with regmove_optimize.
694
695 2009-02-25  Martin Jambor  <mjambor@suse.cz>
696
697         PR tree-optimization/39259
698         * tree-inline.c (initialize_cfun): Remove asserts for calls_setjmp and
699         calls_alloca function flags.
700         (copy_bb): Set calls_setjmp and alls_alloca function flags if such
701         calls are detected.
702
703 2009-02-25  Paolo Bonzini  <bonzini@gnu.org>
704
705         * regmove.c (discover_flags_reg, flags_set_1, mark_flags_life_zones,
706         flags_set_1_rtx, flags_set_1_set): Delete.
707         (regmove_optimize): Do not call mark_flags_life_zones.
708
709 2009-02-24  Julian Brown  <julian@codesourcery.com>
710
711         PR target/35965
712         * config/arm/arm.c (require_pic_register): Only set
713         cfun->machine->pic_reg once per function.
714
715 2009-02-24  Sandra Loosemore  <sandra@codesourcery.com>
716
717         * doc/invoke.texi (Link Options): Document an easier way to pass
718         options that take arguments to the GNU linker using -Xlinker and -Wl.
719
720 2009-02-24  Steve Ellcey  <sje@cup.hp.com>
721
722         PR target/33785
723         * doc/tm.texi (TARGET_C99_FUNCTIONS): Fix description.
724
725 2009-02-24  Richard Guenther  <rguenther@suse.de>
726
727         PR debug/39285
728         * dwarf2out.c (gen_enumeration_type_die): Handle CONST_DECLs.
729
730 2009-02-24  Richard Guenther  <rguenther@suse.de>
731             Zdenek Dvorak  <ook@ucw.cz>
732
733         PR tree-optimization/39233
734         * tree-ssa-loop-ivopts.c (add_candidate_1): Do not except pointers
735         from converting them to a generic type.
736
737 2009-02-23  Sebastian Pop  <sebastian.pop@amd.com>
738
739         PR tree-optimization/39260
740         * graphite.c (harmful_stmt_in_bb): Stop a SCoP when the basic block
741         contains a condition with a real type.
742         (build_scop_conditions_1): Conditions are always last_stmt of a bb.
743
744 2009-02-23  Jason Merrill  <jason@redhat.com>
745
746         PR c++/38880
747         * varasm.c (initializer_constant_valid_p) [PLUS_EXPR]: Check
748         narrowing_initializer_constant_valid_p.
749         (narrowing_initializer_constant_valid_p): Don't return 
750         null_pointer_node for adding a pointer to itself.
751
752 2009-02-23  Jan Hubicka  <jh@suse.cz>
753
754         PR c/12245
755         * ggc.h (htab_create_ggc): Use ggc_free to free hashtable when
756         resizing.
757
758 2009-02-23  Jan Hubicka  <jh@suse.cz>
759
760         PR tree-optimization/37709
761         * tree.c (block_ultimate_origin): Move here from dwarf2out.
762         * tree.h (block_ultimate_origin): Declare.
763         * dwarf2out.c (block_ultimate_origin): Move to tree.c
764         * tree-ssa-live.c (remove_unused_scope_block_p):
765         Eliminate blocks containig no instructions nor live variables nor
766         nested blocks.
767         (dump_scope_block): New function.
768         (remove_unused_locals): Enable removal of dead blocks by default;
769         enable dumping at TDF_DETAILS.
770
771 2009-02-21  H.J. Lu  <hongjiu.lu@intel.com>
772
773         * config/i386/i386.c (classify_argument): Don't allow COImode
774         and OImode.
775         (function_arg_advance_32): Don't allow OImode.
776         (function_arg_32): Likewise.
777         (function_value_32): Likewise.
778         (return_in_memory_32): Likewise.
779         (function_arg_64): Remove OImode comment.
780
781 2009-02-21  H.J. Lu  <hongjiu.lu@intel.com>
782
783         PR target/39261
784         * config/i386/i386.c (ix86_expand_vector_init_one_nonzero): Use
785         ix86_expand_vector_set for V4DImode in 64bit mode only.
786         (ix86_expand_vector_init_one_var): Likewise.
787
788 2009-02-21  Sebastian Pop  <sebastian.pop@amd.com>
789
790         * graphite.c (graphite_trans_loop_block): Adjust tile size to 51.
791
792 2009-02-21  Richard Sandiford  <rdsandiford@googlemail.com>
793
794         PR bootstrap/39257
795         * loop-iv.c: Revert last change.
796         * emit-rtl.c: Likewise.
797
798 2009-02-21  H.J. Lu  <hongjiu.lu@intel.com>
799
800         PR target/39256
801         * config/i386/i386.c (type_natural_mode): Remove an extra
802         space in the warning message.
803         (function_value_32): Handle 32-byte vector modes.
804         (return_in_memory_32): Likewise.
805
806 2009-02-21  Richard Sandiford  <rdsandiford@googlemail.com>
807
808         * loop-iv.c (truncate_value): New function.
809         (iv_subreg, get_iv_value, iv_number_of_iterations): Use it instead
810         of lowpart_subreg.
811         (lowpart_subreg): Move to...
812         * emit-rtl.c: ...here.
813
814 2009-02-21  Danny Smith  <dannysmith@users.sourceforge.net>
815
816         * config/i386/winnt.c (i386_pe_asm_output_aligned_decl_common): Revert
817         accidental and undocumented change at revision 140860.
818
819 2009-02-21  Joseph Myers  <joseph@codesourcery.com>
820
821         * config/arm/arm.c (arm_gimplify_va_arg_expr): Update prototype to
822         take gimple_seq * arguments.
823         (arm_mangle_type): Use CONST_CAST_TREE on type argument passed to
824         types_compatible_p langhook.
825
826 2009-02-20  Mark Mitchell  <mark@codesourcery.com>
827             Joseph Myers  <joseph@codesourcery.com>
828
829         * config/arm/arm.c (arm_builtin_va_list): New function.
830         (arm_expand_builtin_va_start): Likewise.
831         (arm_gimplify_va_arg_expr): Likewise.
832         (TARGET_BUILD_BUILTIN_VA_LIST): Define.
833         (TARGET_BUILD_BUILTIN_VA_START): Likewise.
834         (TARGET_BUILD_BUILTIN_VA_ARG_EXPR): Likewise.
835         (va_list_type): New variable.
836         (arm_mangle_type): Mangle va_list_type appropriately.
837
838 2009-02-20  Jakub Jelinek  <jakub@redhat.com>
839
840         PR middle-end/39157
841         * Makefile.in (loop-invariant.o): Depend on $(PARAMS_H).
842         * params.h (LOOP_INVARIANT_MAX_BBS_IN_LOOP): Define.
843         * params.def (loop-invariant-max-bbs-in-loop): New parameter.
844         * opts.c (decode_options): Set loop-invariant-max-bbs-in-loop
845         parameter to 1000 for -O1 by default.
846         * doc/invoke.texi (loop-invariant-max-bbs-in-loop): Document new
847         parameter.
848         * loop-invariant.c: Include params.h.
849         (move_loop_invariants): Don't call move_single_loop_invariants on
850         very large loops.
851
852 2009-02-20  Jaka Mocnik  <jaka@xlab.si>
853
854         * calls.c (emit_library_call_value_1): Use slot_offset instead of
855         offset when calculating bounds for indexing stack_usage_map.  Fixes
856         a buffer overflow with certain target setups.
857
858 2009-02-20  Jakub Jelinek  <jakub@redhat.com>
859
860         PR target/39240
861         * calls.c (expand_call): Clear try_tail_call if caller and callee
862         disagree in promotion of function return value.
863
864 2009-02-19  Jakub Jelinek  <jakub@redhat.com>
865
866         PR target/39175
867         * c-common.c (c_determine_visibility): If visibility changed and
868         DECL_RTL has been already set, call make_decl_rtl to update symbol
869         flags.
870
871 2009-02-19  H.J. Lu  <hongjiu.lu@intel.com>
872
873         PR c++/39188
874         * varasm.c (assemble_variable): Don't check DECL_NAME when
875         globalizing a variable.
876
877 2009-02-19  Joseph Myers  <joseph@codesourcery.com>
878
879         PR c/38483
880         * builtins.c (gimplify_va_arg_expr): Evaluate the va_list
881         expression before any __builtin_trap call.
882         * c-typeck.c (build_function_call): Convert and check function
883         arguments before generating a call to a trap.  Evaluate the
884         function arguments before the trap.
885
886 2009-02-19  Uros Bizjak  <ubizjak@gmail.com>
887
888         PR target/39228
889         * config/i386/i386.md (isinfxf2): Split from isinf<mode>2.
890         (UNSPEC_FXAM_MEM): New unspec.
891         (fxam<mode>2_i387_with_temp): New insn and split pattern.
892         (isinf<mode>2): Use MODEF mode iterator.  Force operand[1] through
893         memory using fxam<mode>2_i387_with_temp to remove excess precision.
894
895 2009-02-19  Richard Guenther  <rguenther@suse.de>
896
897         PR tree-optimization/39207
898         PR tree-optimization/39074
899         * tree-ssa-structalias.c (storedanything_id, var_storedanything,
900         storedanything_tree): New.
901         (do_ds_constraint): Simplify ANYTHING shortcutting.  Update
902         the STOREDANYTHING solution if the lhs solution contains ANYTHING.
903         (build_succ_graph): Add edges from STOREDANYTHING to all
904         non-direct nodes.
905         (init_base_vars): Initialize STOREDANYTHING.
906         (compute_points_to_sets): Free substitution info after
907         building the succ graph.
908         (ipa_pta_execute): Likewise.
909
910         * tree-ssa-structalias.c (struct variable_info): Add may_have_pointers
911         field.
912         (do_ds_constraint): Do not add to special var or non-pointer
913         field solutions.
914         (type_could_have_pointers): Split out from ...
915         (could_have_pointers): ... here.  For arrays use the element type.
916         (create_variable_info_for): Initialize may_have_pointers.
917         (new_var_info): Likewise.
918         (handle_lhs_call): Make the HEAP variable unknown-sized.
919         (intra_create_variable_infos): Use a type with pointers for
920         PARM_NOALIAS, make it unknown-sized.
921
922 2009-02-18  H.J. Lu  <hongjiu.lu@intel.com>
923
924         PR target/39224
925         * config/i386/i386.c (ix86_return_in_memory): Properly check ABI.
926
927 2009-02-18  Jason Merrill  <jason@redhat.com>
928
929         PR target/39179
930         * tree-ssa-ccp.c (get_symbol_constant_value): Don't assume zero
931         value if DECL_EXTERNAL.
932         * tree-sra.c (sra_walk_gimple_assign): Likewise.
933         * target.h (gcc_target::binds_local_p): Clarify "module".
934         * tree.h (TREE_PUBLIC): Clarify "module".
935
936 2009-02-17  Xuepeng Guo  <xuepeng.guo@intel.com>
937
938         PR target/38891
939         * config/i386/i386.h (CONDITIONAL_REGISTER_USAGE): Move the hunk of
940         initialization for MS_ABI prior to the hunk of !TARGET_MMX.
941
942 2009-02-17  H.J. Lu  <hongjiu.lu@intel.com>
943
944         PR target/39082
945         * c.opt (Wabi): Support C and ObjC.
946         (Wpsabi): New.
947
948         * c-opts.c (c_common_handle_option): Handle OPT_Wabi.
949
950         * config/i386/i386.c (classify_argument): Warn once about the ABI
951         change when passing union with long double.
952
953         * doc/invoke.texi: Update -Wabi for warning psABI changes.
954
955 2009-02-18  Joseph Myers  <joseph@codesourcery.com>
956
957         PR c/35447
958         * c-parser.c (c_parser_compound_statement): Always enter and leave
959         a scope.
960
961 2009-02-17  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
962
963         PR target/34587
964         * config/darwin.h (SUPPORTS_INIT_PRIORITY): Define.
965
966 2009-02-18  Jakub Jelinek  <jakub@redhat.com>
967
968         PR tree-optimization/36922
969         * tree-data-ref.c (initialize_matrix_A): Handle BIT_NOT_EXPR.
970         * tree-scalar-evolution.c (interpret_rhs_expr, instantiate_scev_1):
971         Likewise.
972
973 2009-02-17  Richard Sandiford  <rdsandiford@googlemail.com>
974
975         * config/mips/mips.c (mips_override_options): Set flag_dwarf2_cfi_asm
976         to 0 for EABI64.
977
978 2009-02-17  Richard Sandiford  <rdsandiford@googlemail.com>
979
980         * config/mips/mips.md (type): Reclassify lui_movf as "unknown".
981
982 2009-02-17  Richard Sandiford  <rdsandiford@googlemail.com>
983
984         * config/mips/mips.c (mips_gimplify_va_arg_expr): Fix invalid
985         tree sharing.
986
987 2009-02-17  Ruan Beihong  <ruanbeihong@gmail.com>
988             Richard Sandiford  <rdsandiford@googlemail.com>
989
990         * config/mips/mips.c (CODE_FOR_loongson_biadd): Delete.
991         * config/mips/loongson.md (reduc_uplus_<mode>): Rename to...
992         (loongson_biadd): ...this.
993
994 2009-02-17  Richard Guenther  <rguenther@suse.de>
995
996         PR tree-optimization/39202
997         * tree-ssa-structalias.c (do_structure_copy): Before collapsing
998         a var make sure to follow existing collapses.
999
1000 2009-02-17  Richard Guenther  <rguenther@suse.de>
1001
1002         PR middle-end/39214
1003         * langhooks.c (lhd_print_error_function): Check for NULL block.
1004
1005 2009-02-17  Richard Guenther  <rguenther@suse.de>
1006
1007         PR tree-optimization/39204
1008         * tree-ssa-pre.c (phi_translate_1): Lookup the value-number
1009         of the PHI arg.
1010
1011 2009-02-17  Uros Bizjak  <ubizjak@gmail.com>
1012
1013         * config/soft-fp/double.h: Update from glibc CVS.
1014
1015 2009-02-17  Richard Guenther  <rguenther@suse.de>
1016
1017         PR tree-optimization/39207
1018         * tree-ssa-structalias.c (find_what_p_points_to): Do not emit
1019         strict-aliasing warnings for pointers pointing to NULL.
1020
1021 2009-02-16  Joseph Myers  <joseph@codesourcery.com>
1022
1023         PR c/35446
1024         * c-parser.c (c_parser_braced_init): Call pop_init_level when
1025         skipping until next close brace.
1026
1027 2009-02-16  H.J. Lu  <hongjiu.lu@intel.com>
1028
1029         PR target/37049
1030         * config/i386/i386.c (ix86_expand_push): Set memory alignment
1031         to function argument boundary.
1032
1033 2009-02-16  Hariharan Sandanagobalane  <hariharan@picochip.com>
1034
1035         * config/picochip/picochip.md (lea_add): Allow any nonimmediate
1036         in the lea_add. Reload eventually constraints it properly.
1037         * config/picochip/constraints.md : Remove the target constraint
1038         "b", since it is not needed anymore.
1039
1040 2009-02-16  Jakub Jelinek  <jakub@redhat.com>
1041
1042         * gthr-dce.h: Uglify function parameter and local variable names.
1043         * gthr-gnat.h: Likewise.
1044         * gthr-mipssde.h: Likewise.
1045         * gthr-nks.h: Likewise.
1046         * gthr-posix95.h: Likewise.
1047         * gthr-posix.h: Likewise.
1048         * gthr-rtems.h: Likewise.
1049         * gthr-single.h: Likewise.
1050         * gthr-solaris.h: Likewise.
1051         * gthr-tpf.h: Likewise.
1052         * gthr-vxworks.h: Likewise.
1053         * gthr-win32.h: Likewise.
1054
1055 2009-02-15  H.J. Lu  <hongjiu.lu@intel.com>
1056
1057         PR target/39196
1058         * config/i386/i386.md: Restrict the new peephole2 to move
1059         between MMX/SSE registers.
1060
1061 2009-02-15  Richard Guenther  <rguenther@suse.de>
1062
1063         Revert
1064         2009-02-13  Richard Guenther  <rguenther@suse.de>
1065
1066         * configure.ac: Enable LFS.
1067         * configure: Re-generate.
1068         * config.in: Likewise.
1069
1070 2009-02-13  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1071
1072         * config/spu/spu_internals.h (spu_sr, spu_sra, spu_srqw,
1073         spu_srqwbyte, spu_srqwbytebc): Define.
1074         * config/spu/spu-builtins.def (spu_sr, spu_sra, spu_srqw,
1075         spu_srqwbyte, spu_srqwbytebc): New overloaded builtins.
1076         * config/spu/spu.md ("shrqbybi_<mode>", "shrqbi_<mode>",
1077         "shrqby_<mode>"): New insn-and-split patterns.
1078         * config/spu/spu.c (expand_builtin_args): Determine and return
1079         number of operands using spu_builtin_description data.
1080         (spu_expand_builtin_1): Use it.
1081
1082 2009-02-13  Steve Ellcey  <sje@cup.hp.com>
1083
1084         PR target/38056
1085         * config/ia64/ia64.c (ia64_function_ok_for_sibcall): Check
1086         TARGET_CONST_GP.
1087
1088 2009-02-13  H.J. Lu  <hongjiu.lu@intel.com>
1089
1090         PR target/39149
1091         * config/i386/i386.c (override_options): Correct warning
1092         messages for -malign-loops, -malign-jumps and -malign-functions.
1093
1094 2009-02-13  H.J. Lu  <hongjiu.lu@intel.com>
1095
1096         PR target/39152
1097         * config/i386/i386.md: Restrict the new peephole2 to move
1098         between the general purpose registers.
1099
1100 2009-02-13  H.J. Lu  <hongjiu.lu@intel.com>
1101
1102         PR target/39162
1103         * config/i386/i386.c (type_natural_mode): Add a new argument.
1104         Return the original mode and warn ABI change if vector size is 32byte.
1105         (function_arg_advance): Updated.
1106         (function_arg): Likewise.
1107         (ix86_function_value): Likewise.
1108         (ix86_return_in_memory): Likewise.
1109         (ix86_sol10_return_in_memory): Likewise.
1110         (ix86_gimplify_va_arg): Likewise.
1111         (function_arg_32): Don't warn ABX ABI change here.
1112         (function_arg_64): Likewise.
1113
1114 2009-02-13  Bernd Schmidt  <bernd.schmidt@analog.com>
1115
1116         * loop-iv.c (implies_p): In the final case, test that operands 0
1117         of the two comparisons match.
1118
1119         * config/bfin/bfin.c (find_prev_insn_start): New function.
1120         (bfin_optimize_loop): Use it in some cases instead of PREV_INSN.
1121         (find_next_insn_start): Move.
1122
1123 2009-02-13  Richard Guenther  <rguenther@suse.de>
1124
1125         * configure.ac: Enable LFS.
1126         * configure: Re-generate.
1127         * config.in: Likewise.
1128
1129 2009-02-13  Joseph Myers  <joseph@codesourcery.com>
1130
1131         PR c/35444
1132         * c-parser.c (c_parser_parms_list_declarator): Discard pending
1133         sizes on syntax error after some arguments have been parsed.
1134
1135 2009-02-12  Jakub Jelinek  <jakub@redhat.com>
1136
1137         * doc/invoke.texi (-fira): Remove.
1138
1139 2009-02-12  H.J. Lu  <hongjiu.lu@intel.com>
1140
1141         * caller-save.c: Replace regclass.c with reginfo.c in comments.
1142         * recog.c: Likewise.
1143         * rtl.h: Likewise.
1144
1145 2009-02-12  Uros Bizjak  <ubizjak@gmail.com>
1146
1147         * longlong.h (sub_ddmmss): New for ia64. Ported from GMP 4.2.
1148         (umul_ppmm): Likewise.
1149         (count_leading_zeros): Likewise.
1150         (count_trailing_zeros): Likewise.
1151         (UMUL_TIME): Likewise.
1152
1153 2009-02-12  H.J. Lu  <hongjiu.lu@intel.com>
1154
1155         * config.gcc (ia64*-*-linux*): Add ia64/t-fprules-softfp and
1156         soft-fp/t-softfp to tmake_file.
1157
1158         * config/ia64/ia64.c (ia64_soft_fp_init_libfuncs): New.
1159         (ia64_expand_compare): Use HPUX library for TFmode only for HPUX.
1160         (ia64_builtins) [IA64_BUILTIN_COPYSIGNQ, IA64_BUILTIN_FABSQ,
1161         IA64_BUILTIN_INFQ]: New.
1162         (ia64_init_builtins): Initialize __builtin_infq,
1163         __builtin_fabsq and __builtin_copysignq if not HPUX.
1164         (ia64_expand_builtin): Handle IA64_BUILTIN_COPYSIGNQ,
1165         IA64_BUILTIN_FABSQ and IA64_BUILTIN_INFQ.
1166
1167         * config/ia64/lib1funcs.asm (__divtf3): Define only if
1168         SHARED is defined.
1169         (__fixtfti): Likewise.
1170         (__fixunstfti): Likewise.
1171         (__floattitf): Likewise.
1172
1173         * config/ia64/libgcc-glibc.ver: New.
1174         * config/ia64/t-fprules-softfp: Likewise.
1175         * config/ia64/sfp-machine.h: Likewise.
1176
1177         * config/ia64/linux.h (LIBGCC2_HAS_TF_MODE): New.
1178         (LIBGCC2_TF_CEXT): Likewise.
1179         (TF_SIZE): Likewise.
1180         (TARGET_INIT_LIBFUNCS): Likewise.
1181
1182         * config/ia64/t-glibc (SHLINB_MAPFILES):
1183         Add $(srcdir)/config/ia64/libgcc-glibc.ver.
1184
1185 2009-02-12  H.J. Lu  <hongjiu.lu@intel.com>
1186
1187         * config/i386/i386.c (construct_container): Rewrite processing
1188         BLKmode with X86_64_SSE_CLASS.
1189
1190 2009-02-12  Paolo Bonzini  <bonzini@gnu.org>
1191
1192         PR target/39152
1193         * config/i386/i386.md: Replace simplify_replace_rtx with
1194         replace_rtx in the new peephole2.
1195
1196 2009-02-12  Nathan Sidwell  <nathan@codesourcery.com>
1197
1198         * doc/invoke.texi (Optimize Options): Stop claiming inlining and
1199         loop unrolling do not happen at -O2.
1200
1201 2009-02-12  Michael Matz  <matz@suse.de>
1202
1203         * gcc.c (ASM_DEBUG_SPEC): Check for -g0.
1204
1205 2009-02-12  Jakub Jelinek  <jakub@redhat.com>
1206
1207         * dwarf2out.c (dwarf2out_finish): Force output of comp_unit_die
1208         for -g3.
1209
1210 2009-02-12  Ben Elliston  <bje@au.ibm.com>
1211
1212         * config/rs6000/rs6000.md (allocate_stack): Use _stack form of
1213         patterns when updating the back chain.  Missed in the 2009-02-10
1214         change.
1215
1216 2009-02-11  Janis Johnson  <janis187@us.ibm.com>
1217
1218         * doc/extend.texi (Decimal Floating Types): Update identifier of
1219         draft TR and list of missing support.
1220
1221 2009-02-11  Jakub Jelinek  <jakub@redhat.com>
1222
1223         PR middle-end/39154
1224         * gimplify.c (omp_notice_variable): If adding GOVD_SEEN
1225         bit to variable length decl's flags, add it also to its
1226         pointer replacement variable.
1227
1228 2009-02-11  Uros Bizjak  <ubizjak@gmail.com>
1229             Jakub Jelinek  <jakub@redhat.com>
1230
1231         PR target/39118
1232         * config/i386/i386.md (UNSPEC_MEMORY_BLOCKAGE): New constant.
1233         (memory_blockage): New expander.
1234         (*memory_blockage): New insn pattern.
1235         * config/i386/i386.c (ix86_expand_prologue): Use memory_blockage
1236         instead of general blockage at the end of function prologue when
1237         frame pointer is used to access red zone area.  Do not emit blockage
1238         when profiling, it is emitted in generic code.
1239         (ix86_expand_epilogue): Emit memory_blockage at the beginning of
1240         function epilogue when frame pointer is used to access red zone area.
1241
1242 2009-02-11  Paolo Bonzini  <bonzini@gnu.org>
1243
1244         PR target/38824
1245         * config/i386/i386.md: Add two new peephole2 to avoid mov followed
1246         by arithmetic with memory operands.
1247         * config/i386/predicates.md (commutative_operator): New.
1248
1249 2009-02-10  Janis Johnson  <janis187@us.ibm.com>
1250
1251         * doc/extend.texi (Fixed-Point Types): Break long paragraphs into
1252         bulleted lists.
1253
1254 2009-02-10  Eric Botcazou  <ebotcazou@adacore.com>
1255
1256         * alias.h (record_alias_subset): Declare.
1257         * alias.c (record_alias_subset): Make global.
1258
1259 2009-02-10  Nick Clifton  <nickc@redhat.com>
1260
1261         * tree-parloops.c: Change license to GPLv3.
1262         * ipa-struct-reorg.c: Change license to GPLv3.
1263         * ipa-struct-reorg.h: Change license to GPLv3.
1264
1265 2009-02-10  Steve Ellcey  <sje@cup.hp.com>
1266
1267         PR c/39084
1268         * c-decl.c (start_struct): Return NULL on error.
1269
1270 2009-02-10  Jakub Jelinek  <jakub@redhat.com>
1271
1272         PR middle-end/39124
1273         * cfgloopmanip.c (remove_path): Call remove_bbs after
1274         cancel_loop_tree, not before it.
1275
1276         PR target/39139
1277         * function.h (struct function): Add has_local_explicit_reg_vars bit.
1278         * gimplify.c (gimplify_bind_expr): Set it if local DECL_HARD_REGISTER
1279         VAR_DECLs were seen.
1280         * tree-ssa-live.c (remove_unused_locals): Recompute
1281         cfun->has_local_explicit_reg_vars.
1282         * tree-ssa-sink.c (statement_sink_location): Don't sink BLKmode
1283         copies or clearings if cfun->has_local_explicit_reg_vars.
1284
1285 2009-02-10  Uros Bizjak  <ubizjak@gmail.com>
1286
1287         PR target/39118
1288         * config/i386/i386.c (expand_prologue): Emit blockage at the end
1289         of function prologue when frame pointer is used to access
1290         red zone area.
1291
1292 2009-02-10  Richard Guenther  <rguenther@suse.de>
1293
1294         PR middle-end/39127
1295         * gimplify.c (gimple_regimplify_operands): Always look if
1296         we need to create a temporary.
1297
1298 2009-02-10  Richard Guenther  <rguenther@suse.de>
1299
1300         PR tree-optimization/39132
1301         * tree-loop-distribution.c (todo): New global var.
1302         (generate_memset_zero): Trigger TODO_rebuild_alias.
1303         (tree_loop_distribution): Return todo.
1304
1305 2009-02-10  H.J. Lu  <hongjiu.lu@intel.com>
1306
1307         PR target/39119
1308         * config/i386/i386.c (x86_64_reg_class): Remove X86_64_AVX_CLASS.
1309         (x86_64_reg_class_name): Removed.
1310         (classify_argument): Return 0 if bytes > 32.  Return 0 if the
1311         first one isn't X86_64_SSE_CLASS or any other ones aren't
1312         X86_64_SSEUP_CLASS when size > 16bytes.  Don't turn
1313         X86_64_SSEUP_CLASS into X86_64_SSE_CLASS if the preceded one
1314         is X86_64_SSEUP_CLASS.  Set AVX modes to 1 X86_64_SSE_CLASS
1315         and 3 X86_64_SSEUP_CLASS.
1316         (construct_container): Remove X86_64_AVX_CLASS.  Handle 4
1317         registers with 1 X86_64_SSE_CLASS and 3 X86_64_SSEUP_CLASS.
1318
1319 2009-02-10  Ben Elliston  <bje@au.ibm.com>
1320
1321         * config/rs6000/rs6000.md (allocate_stack): Always use an update
1322         form instruction to update the stack back chain word, even if the
1323         user has disabled the generation of update instructions.
1324         (movdi_<mode>_update_stack): New.
1325         (movsi_update_stack): Likewise.
1326         * config/rs6000/rs6000.c (rs6000_emit_allocate_stack): Likewise,
1327         always use an update form instruction to update the stack back
1328         chain word.
1329
1330 2009-02-09  Sebastian Pop  <sebastian.pop@amd.com>
1331
1332         PR middle-end/38953
1333         * graphite.c (if_region_set_false_region): After moving a region in
1334         the false branch of a condition, remove the empty dummy basic block.
1335         (gloog): Remove wrong fix for PR38953.
1336
1337 2009-02-09  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1338
1339         * config/spu/spu.c (array_to_constant): Fix (latent) wrong-code
1340         generation due to implicit sign extension.
1341
1342 2009-02-09  Eric Botcazou  <ebotcazou@adacore.com>
1343
1344         PR middle-end/38981
1345         * tree-ssa-coalesce.c (add_coalesce): Cap the costs of coalesce pairs
1346         at MUST_COALESCE_COST-1 instead of MUST_COALESCE_COST.
1347
1348 2009-02-09  Richard Guenther  <rguenther@suse.de>
1349
1350         PR middle-end/35202
1351         * convert.c (convert_to_real): Disable (float)fn((double)x)
1352         to fnf(x) conversion if errno differences may occur and
1353         -fmath-errno is set.
1354
1355 2009-02-07  Anatoly Sokolov  <aesok@post.ru>
1356
1357         * config/avr/avr.c (avr_mcu_t): Add ata6289 device.
1358         * config/avr/avr.h (LINK_SPEC, CRT_BINUTILS_SPECS): (Ditto.).
1359         * config/avr/t-avr (MULTILIB_MATCHES): (Ditto.).
1360
1361 2009-02-06  Joseph Myers  <joseph@codesourcery.com>
1362
1363         PR c/35434
1364         * c-common.c (handle_alias_attribute): Disallow attribute for
1365         anything not a FUNCTION_DECL or VAR_DECL.
1366
1367 2009-02-06  Janis Johnson  <janis187@us.ibm.com>
1368
1369         PR c/39035
1370         * real.c (do_compare): Special-case compare of zero against
1371         decimal float value.
1372
1373 2009-02-06  Joseph Myers  <joseph@codesourcery.com>
1374
1375         PR c/36432
1376         * c-decl.c (grokdeclarator): Don't treat [] declarators in fields
1377         as indicating flexible array members unless the field itself is
1378         being declarared as the incomplete array.
1379
1380 2009-02-06  Jan Hubicka  <jh@suse.cz>
1381
1382         PR tree-optimization/38844
1383         * ipa-inline.c (try_inline): Stop inlining recursion when edge
1384         is already inlined.
1385
1386 2009-02-06  Richard Guenther  <rguenther@suse.de>
1387
1388         PR middle-end/38977
1389         * tree-cfg.c (need_fake_edge_p): Force a fake edge for
1390         fork because we may expand it as __gcov_fork.
1391
1392 2009-02-06  Nick Clifton  <nickc@redhat.com>
1393
1394         * config/m32c/m32c.h (PCC_BITFIELD_TYPE_MATTERS): Define to zero.
1395
1396 2009-02-06  Paolo Bonzini  <bonzini@gnu.org>
1397
1398         PR tree-optimization/35659
1399         * tree-ssa-sccvn.c (vn_constant_eq, vn_reference_eq, vn_nary_op_eq
1400         vn_phi_eq): Shortcut if hashcode does not match.
1401         (vn_reference_op_compute_hash): Do not call iterative_hash_expr for
1402         NULL operands.
1403         * tree-ssa-pre.c (pre_expr_hash): Look at hashcode if available,
1404         and avoid iterative_hash_expr.
1405         (FOR_EACH_VALUE_ID_IN_SET): New.
1406         (value_id_compare): Remove.
1407         (sorted_array_from_bitmap_set): Use FOR_EACH_VALUE_ID_IN_SET to
1408         sort expressions by value id.
1409
1410 2009-02-05  Kaz Kojima  <kkojima@gcc.gnu.org>
1411
1412         PR target/38991
1413         * config/sh/predicates.md (general_movsrc_operand): Don't check
1414         the subreg of system registers here.
1415
1416 2009-02-05  Jakub Jelinek  <jakub@redhat.com>
1417
1418         PR c++/39106
1419         * cgraphunit.c (cgraph_function_versioning): Clear also DECL_VIRTUAL_P
1420         on the copied decl.
1421
1422 2009-02-05  Paolo Bonzini  <bonzini@gnu.org>
1423
1424         PR rtl-optimization/39110
1425         * rtlanal.c (rtx_addr_can_trap_p_1): Shortcut unaligned
1426         addresses, not aligned ones.
1427
1428 2009-02-05  Daniel Berlin  <dberlin@dberlin.org>
1429             Richard Guenther  <rguenther@suse.de>
1430
1431         PR tree-optimization/39100
1432         * tree-ssa-structalias.c (do_ds_constraint): Actually do what the
1433         comment says and add edges.
1434
1435 2009-02-05  Joseph Myers  <joseph@codesourcery.com>
1436
1437         PR c/35435
1438         * c-common.c (handle_tls_model_attribute): Ignore attribute for
1439         non-VAR_DECLs without checking DECL_THREAD_LOCAL_P.
1440
1441 2009-02-04  Tobias Grosser  <grosser@fim.uni-passau.de> 
1442
1443         * graphite.c (bb_in_sese_p, sese_build_livein_liveouts_use,
1444         sese_build_livein_liveouts_bb, sese_build_livein_liveouts,
1445         register_bb_in_sese, new_sese, free_sese): Moved.
1446         (dot_scop_1, build_scop_loop_nests, build_loop_iteration_domains,
1447         outermost_loop_in_scop, build_scop_iteration_domain,
1448         expand_scalar_variables_ssa_name, get_vdef_before_scop,
1449         limit_scops): Use bb_in_sese_p instead of bb_in_scop_p.
1450         Use loop_in_sese_p instead of loop_in_scop_p.
1451         (new_graphite_bb, gloog): Do not initialize SCOP_BBS_B.
1452         (new_scop, free_scop): Remove SCOP_LOOP2CLOOG_LOOP and SCOP_BBS_B.
1453         (scopdet_basic_block_info): Fix bug in scop detection.
1454         (new_loop_to_cloog_loop_str, hash_loop_to_cloog_loop,
1455         eq_loop_to_cloog_loop): Remove.
1456         (nb_loops_around_loop_in_scop, nb_loop
1457         ref_nb_loops): Moved here...
1458         * graphite.h (ref_nb_loops): ... from here.
1459         (struct scop): Remove bbs_b bitmap and loop2cloog_loop.
1460         (loop_domain_dim, loop_iteration_vector_dim): Remove.
1461         (SCOP_BBS_B, bb_in_scop_p, loop_in_scop_p): Removed.
1462         * testsuite/gcc.dg/graphite/scop-19.c: New
1463
1464 2009-02-04  Paolo Bonzini  <bonzini@gnu.org>
1465             Hans-Peter Nilsson  <hp@axis.com>
1466
1467         PR rtl-optimization/37889
1468         * rtlanal.c (rtx_addr_can_trap_p_1): Add offset and size arguments.
1469         Move offset handling from PLUS to before the switch.  Use new
1470         arguments when considering SYMBOL_REFs too.
1471         (rtx_addr_can_trap_p): Pass dummy offset and size.
1472         (enum may_trap_p_flags): Remove.
1473         (may_trap_p_1): Pass size from MEM_SIZE.
1474
1475         PR rtl-optimization/38921
1476         * loop-invariant.c (find_invariant_insn): Use may_trap_or_fault_p.
1477         * rtl.h (may_trap_after_code_motion_p): Delete prototype.
1478         * rtlanal.c (may_trap_after_code_motion_p): Delete.
1479         (may_trap_p, may_trap_or_fault_p): Pass 0/1 as flags.
1480
1481 2009-02-04  H.J. Lu  <hongjiu.lu@intel.com>
1482
1483         AVX Programming Reference (January, 2009)
1484         * config/i386/sse.md (*vpclmulqdq): New.
1485
1486 2009-02-04  Jakub Jelinek  <jakub@redhat.com>
1487
1488         PR tree-optimization/38977
1489         PR gcov-profile/38292
1490         * calls.c (special_function_p): Disregard __builtin_ prefix.
1491
1492 2009-02-04  Hariharan Sandanagobalane  <hariharan@picochip.com>
1493
1494         * config/picochip/picochip.c (GO_IF_LEGITIMATE_ADDRESS): Disallow
1495         non-indexable addresses even before reload.
1496
1497 2009-02-03  Joseph Myers  <joseph@codesourcery.com>
1498
1499         PR c/29129
1500         * c-decl.c (grokdeclarator): Mark [*] arrays in field declarators
1501         as having variable size.  Do not give an error for unnamed
1502         parameters with [*] declarators.  Give a warning for type names
1503         with [*] declarators and mark them as variable size.
1504         * c-parser.c (c_parser_sizeof_expression): Do not give an error
1505         for sizeof applied to [*] type names.
1506
1507 2009-02-03  Andrew Pinski  <andrew_pinski@playstation.sony.com>
1508
1509         PR C++/36607
1510         * convert.c (convert_to_integer): Treat OFFSET_TYPE like INTEGER_TYPE.
1511
1512 2009-02-03  Jakub Jelinek  <jakub@redhat.com>
1513
1514         * gcc.c (process_command): Update copyright notice dates.
1515         * gcov.c (print_version): Likewise.
1516         * gcov-dump.c (print_version): Likewise.
1517         * mips-tfile.c (main): Likewise.
1518         * mips-tdump.c (main): Likewise.
1519
1520 2009-02-03  Joseph Myers  <joseph@codesourcery.com>
1521
1522         PR c/35433
1523         * c-typeck.c (composite_type): Set TYPE_SIZE and TYPE_SIZE_UNIT
1524         for composite type involving a zero-length array type.
1525
1526 2009-02-03  Jakub Jelinek  <jakub@redhat.com>
1527
1528         PR target/35318
1529         * function.c (match_asm_constraints_1): Skip over
1530         initial optional % in the constraint.
1531
1532         PR inline-asm/39059
1533         * c-parser.c (c_parser_postfix_expression): If fixed point is not
1534         supported, don't accept FIXED_CSTs.
1535         * c-decl.c (finish_declspecs): Error if fixed point is not supported
1536         and _Sat is used without _Fract/_Accum.  Set specs->type to
1537         integer_type_node for cts_fract/cts_accum if fixed point is not
1538         supported.
1539
1540 2009-02-02  Catherine Moore  <clm@codesourcery.com>
1541
1542         * sde.h (SUBTARGET_ARM_SPEC): Don't assemble -fpic code as -mabicalls.
1543
1544 2009-02-02  Richard Sandiford  <rdsandiford@googlemail.com>
1545
1546         * config/mips/mips.h (FILE_HAS_64BIT_SYMBOLS): New macro.
1547         (ABI_HAS_64BIT_SYMBOLS): Use it.
1548         (DWARF2_ADDR_SIZE): Use it instead of ABI_HAS_64BIT_SYMBOLS.
1549
1550 2009-02-02  Paul Brook  <paul@codesourcery.com>
1551
1552         * config/arm/arm.md (arm_addsi3): Add r/r/k alternative.
1553
1554 2009-02-02  Jakub Jelinek  <jakub@redhat.com>
1555
1556         PR inline-asm/39058
1557         * recog.h (asm_operand_ok): Add constraints argument.
1558         * recog.c (asm_operand_ok): Likewise.  If it is set, for digits
1559         recurse on matching constraint.
1560         (check_asm_operands): Pass constraints as 3rd argument to
1561         asm_operand_ok.  Don't look up matching constraint here.
1562         * stmt.c (expand_asm_operands): Pass NULL as 3rd argument
1563         to asm_operand_ok.
1564
1565 2009-02-02  Ben Elliston  <bje@au.ibm.com>
1566
1567         * doc/tm.texi (Storage Layout): Fix TARGET_ALIGN_ANON_BITFIELD and
1568         TARGET_NARROW_VOLATILE_BITFIELD macro names.
1569
1570 2009-01-31  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1571
1572         * doc/install.texi (hppa*-hp-hpux*): Update binutils and linker
1573         information.  Remove some obsolete information.  Reorganize.
1574
1575         * config/pa/fptr.c: Revert license to GPL 2.
1576         * config/pa/milli64.S: Likewise.
1577
1578 2009-01-31  Dave Korn  <dave.korn.cygwin@gmail.com>
1579
1580         PR target/38904
1581         * mkmap-flat.awk (END):  Use pe_dll command-line arg to pass
1582         LIBRARY name in, instead of hard-coding it.
1583         * config.gcc (i[34567]86-*-pe | i[34567]86-*-cygwin*):  Add an
1584         extra target make frag to tmake_files according to EH model.
1585         (i[34567]86-*-mingw* | x86_64-*-mingw*):  Likewise.
1586         * config/i386/t-dw2-eh, config/i386/t-sjlj-eh:  Add new target
1587         frags that define makefile variable EH_MODEL appropriately.
1588         * config/i386/cygming.h (DWARF2_UNWIND_INFO):  Add comment.
1589         * config/i386/cygwin.h (LIBGCC_EH_EXTN):  Define to nothing or
1590         to "-sjlj" according to type of EH configured.
1591         (LIBGCC_SONAME):  Concatenate it to shared library base name.
1592         * config/i386/mingw32.h (LIBGCC_EH_EXTN):  Define to "_dw2" or
1593         to "_sjlj" according to type of EH configured.
1594         (LIBGCC_SONAME):  Concatenate it to shared library base name.
1595         * config/i386/t-cygming (SHLIB_SONAME):  Use EH_MODEL.
1596         (SHLIB_LINK):  Add missing semicolon to if-else construct.
1597         (SHLIB_MKMAP_OPTS):  Pass library name to mkmap-flat.awk as
1598         string value of "pe_dll" command-line option.
1599         * config/i386/t-cygwin (SHLIB_EH_EXTENSION):  New helper.
1600         (SHLIB_SONAME):  Use it when overriding t-cygming default.
1601         (SHLIB_IMPLIB):  Override t-cygming default.
1602         (SHLIB_MKMAP_OPTS):  Pass library name to mkmap-flat.awk as
1603         string value of "pe_dll" command-line option.
1604
1605 2009-01-31  Dave Korn  <dave.korn.cygwin@gmail.com>
1606
1607         PR target/38952
1608         * config/i386/i386.c (ix86_builtin_setjmp_frame_value): New.
1609         (TARGET_BUILTIN_SETJMP_FRAME_VALUE): Override default to point at it.
1610
1611 2009-01-31  Richard Guenther  <rguenther@suse.de>
1612
1613         PR tree-optimization/38937
1614         * tree-ssa-structalias.c (do_sd_constraint): Do not shortcut
1615         computing the transitive closure.
1616
1617 2009-01-30  Richard Guenther  <rguenther@suse.de>
1618
1619         PR tree-optimization/39041
1620         * tree-ssa-forwprop.c (forward_propagate_addr_expr_1):
1621         Propagate variable indices only if the types match for this stmt.
1622
1623 2009-01-30  Jakub Jelinek  <jakub@redhat.com>
1624
1625         PR target/39013
1626         * c-decl.c (pop_scope): Set DECL_EXTERNAL for functions declared
1627         inline but never defined.
1628
1629 2009-01-30  Wolfgang Gellerich  <gellerich@de.ibm.com>
1630
1631         * config/s390/s390.md (*insv<mode>_reg_extimm): Removed.
1632         (*insv_h_di_reg_extimm): New insn.
1633         (*insv_l<mode>_reg_extimm): New insn.
1634
1635 2009-01-30  Hariharan Sandanagobalane  <hariharan@picochip.com>
1636
1637         * config/picochip/picochip.c (flag_conserve_stack): set
1638         PARAM_LARGE_STACK_FRAME and PARAM_STACK_FRAME_GROWTH to zero under
1639         fconserve-stack. Reduce call-overhead used by inliner.
1640
1641 2009-01-30  Hariharan Sandanagobalane  <hariharan@picochip.com>
1642
1643         PR/38157
1644         * common.opt (flag_conserve_stack): Initialised to zero.
1645
1646 2009-01-30  Kai Tietz  <kai.tietz@onevision.com>
1647
1648         PR/39002
1649         * config/i386/i386.c (ix86_can_use_return_insn_p): Check for nsseregs.
1650         (ix86_expand_epilogue): Take nsseregs in account to use proper restore
1651         method.
1652
1653 2009-01-29  H.J. Lu  <hongjiu.lu@intel.com>
1654
1655         * ira-color.c (allocno_reload_assign): Update comments.
1656         * regmove.c (regmove_optimize): Likewise.
1657
1658         * ra.h: Removed.
1659
1660 2009-01-29  Robert Millan  <rmh@aybabtu.com>
1661
1662         * gcc/config.gcc: Recognize GNU/kOpenSolaris (*-*-kopensolaris*-gnu).
1663         * gcc/config/i386/kopensolaris-gnu.h: New file.  Undefine
1664         `MD_UNWIND_SUPPORT'.
1665         * gcc/config/kopensolaris-gnu.h: New file (based on kfreebsd-gnu.h).
1666
1667 2009-01-29  Kazu Hirata  <kazu@codesourcery.com>
1668
1669         PR tree-optimization/39007
1670         * tree-loop-distribution.c (generate_builtin): Use
1671         recompute_dominator to compute the immediate dominator of the
1672         basic block just after the loop.
1673
1674 2009-01-29  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1675
1676         * config/i386/sol2-10.h [!HAVE_AS_IX86_DIFF_SECT_DELTA]
1677         (ASM_OUTPUT_DWARF_PCREL): Define.
1678
1679 2009-01-29  Vladimir Makarov  <vmakarov@redhat.com>
1680
1681         * doc/tm.texi (TARGET_IRA_COVER_CLASSES): Modify description.
1682         * doc/passes.texi: Remove entries about regclass, local-alloc, and
1683         global.  Modify entries about regmove and IRA.
1684
1685         * ra-conflict.c: Remove the file.
1686
1687         * reload.c (push_reload, find_dummy_reload): Remove flag_ira.
1688
1689         * tree-pass.h (pass_local_alloc, pass_global_alloc): Remove.
1690         (pass_regclass_init): Rename to pass_reginfo_init.
1691
1692         * cfgloopanal.c (estimate_reg_pressure_cost): Remove flag_ira.
1693
1694         * toplev.h (flag_ira): Remove.
1695
1696         * caller-save.c (setup_save_areas): Remove flag_ira.
1697
1698         * ira-color.c (ira_reuse_stack_slot, ira_mark_new_stack_slot): Ditto.
1699
1700         * global.c: Remove the file.
1701
1702         * opts.c: (decode_options): Remove flag_ira.
1703
1704         * hard-reg-set.h (losing_caller_save_reg_set): Remove.
1705
1706         * regmove.c: Modify file description.
1707         (find_use_as_address, try_auto_increment): Define them only if
1708         AUTO_INC_DEC is defined.
1709         (replacement_quality, replace_in_call_usage, fixup_match_1,
1710         stable_and_no_regs_but_for_p): Remove.
1711         (reg_set_in_bb): Make it static.
1712         (regmove_optimize): Remove flag_ira and code which worked for
1713         !flag_ira.
1714
1715         * local-alloc.c: Remove the file.
1716
1717         * common.opt (fira): Remove.
1718
1719         * ira.c: Include except.h.
1720         (eliminable_regset): Move from global.c.
1721         (mark_elimination): Ditto.  Remove flag_ira.
1722         (reg_renumber, struct equivalence, reg_equiv, equiv_mem,
1723         equiv_mem_modified, validate_equiv_mem_from_store,
1724         validate_equiv_mem, equiv_init_varies_p, equiv_init_movable_p,
1725         contains_replace_regs, memref_referenced_p, memref_used_between_p,
1726         no_equiv, recorded_label_ref): Move from local-alloc.c.
1727         (update_equiv_regs): Ditto.  Make it static.
1728         (print_insn_chain, print_insn_chains): Move it from global.c.
1729         (pseudo_for_reload_consideration_p): Ditto.  Remove flag_ira.
1730         (build_insn_chain): Ditto.  Make it static.
1731         (ra_init_live_subregs): Move from ra-conflict.c.  Make it static.
1732         Rename to init_live_subregs.
1733         (gate_ira): Remove flag_ira.
1734
1735         * regclass.c: Rename reginfo.c.  Change file description.
1736         (FORBIDDEN_INC_DEC_CLASSES): Remove.
1737         (reg_class_superclasses, forbidden_inc_dec_class, in_inc_dec): Remove.
1738         (init_reg_sets_1): Remove code for evaluation of
1739         reg_class_superclasses and losing_caller_save_reg_set.
1740         (init_regs): Remove init_reg_autoinc.
1741         (struct costs, costs, init_cost, ok_for_index_p_nonstrict,
1742         ok_for_base_p_nonstrict): Remove.
1743         (regclass_init): Rename to reginfo_init.  Don't initialize init_cost.
1744         (pass_regclass_init): Rename to pass_reginfo_init.  Modify
1745         corresponding entries.
1746         (dump_regclass, record_operand_costs, scan_one_insn,
1747         init_reg_autoinc, regclass, record_reg_classes, copy_cost,
1748         record_address_regs, auto_inc_dec_reg_p): Remove.
1749         (gt-regclass.h): Rename to gt-reginfo.h.
1750
1751         * rtl.h (dump_global_regs, retry_global_alloc,
1752         build_insn_chain, dump_local_alloc, update_equiv_regs): Remove.
1753
1754         * Makefile.in (RA_H): Remove.
1755         (OBJS-common): Remove global.o, local-alloc.o, and ra-conflict.o.
1756         Rename regclass.o to reginfo.o.
1757         (regclass.o): Rename to reginfo.o.  Rename gt-regclass.h to
1758         gt-reginfo.h.
1759         (global.o, local-alloc.o, ra-conflict.o): Remove entries.
1760         (GTFILES): Rename regclass.c to reginfo.c.
1761
1762         * passes.c (init_optimization_passes): Remove pass_local_alloc and
1763         pass_global_alloc.  Rename pass_regclass_init to pass_reginfo_init.
1764
1765         * reload1.c (compute_use_by_pseudos, reload, count_pseudo,
1766         count_spilled_pseudo, find_reg, alter_reg, delete_output_reload):
1767         Remove flag_ira.
1768         (finish_spills): Ditto.  Remove code for !flag_ira.
1769         
1770 2009-01-29  Kenneth Zadeck  <zadeck@naturalbridge.com>
1771
1772         PR middle-end/35854
1773         * doc/invoke.texi (rtl debug options): Complete rewrite.
1774         * auto-inc-dec.c (pass_inc_dec): Rename pass from "auto-inc-dec"
1775         to auto_inc_dec".
1776         * mode-switching.c (pass_mode_switching): Rename pass from
1777         "mode-sw" to "mode_sw".
1778         * except.c (pass_convert_to_eh_ranges): Rename pass from
1779         "eh-ranges" to "eh_ranges".
1780         * lower-subreg.c (pass_lower_subreg): Renamed pass from "subreg"
1781         to "subreg1".
1782                 
1783         
1784 2009-01-29  Andrey Belevantsev  <abel@ispras.ru>
1785             Alexander Monakov  <amonakov@ispras.ru>
1786
1787         PR middle-end/38857
1788         * sel-sched.c (count_occurrences_1): Check that *cur_rtx is a hard
1789         register.
1790         (move_exprs_to_boundary): Change return type and pass through
1791         should_move from move_op.  Relax assert.  Update usage ...
1792         (schedule_expr_on_boundary): ... here.  Use should_move instead of
1793         cant_move.
1794         (move_op_orig_expr_found): Indicate that insn was disconnected from
1795         stream.
1796         (code_motion_process_successors): Do not call after_merge_succs
1797         callback if original expression was not found when traversing any of
1798         the branches.
1799         (code_motion_path_driver): Change return type.  Update prototype.
1800         (move_op): Update comment.  Add a new parameter (should_move).  Update
1801         prototype.  Set *should_move based on indication provided by
1802         move_op_orig_expr_found.
1803
1804 2009-01-28  Pat Haugen  <pthaugen@us.ibm.com>
1805
1806         * doc/invoke.texi (avoid-indexed-addresses): Document new option.
1807         * config/rs6000/rs6000-protos.h (avoiding_indexed_address_p): Declare.
1808         * config/rs6000/rs6000.opt (avoid-indexed-addresses): New option.
1809         * config/rs6000/rs6000.c (rs6000_override_options): Default
1810         avoid-indexed-addresses on for Power6, off for everything else.
1811         (avoiding_indexed_address_p): New function.
1812         (rs6000_legitimize_address): Use it.
1813         (rs6000_legitimate_address): Likewise.
1814         * config/rs6000/rs6000.md (movXX_updateX): Likewise
1815
1816 2009-01-28  Kazu Hirata  <kazu@codesourcery.com>
1817
1818         PR tree-optimization/38997
1819         * tree-loop-distribution.c (generate_memset_zero): Use
1820         POINTER_PLUS_EXPR for a pointer addition.
1821
1822 2009-01-28  Andreas Krebbel  <krebbel1@de.ibm.com>
1823
1824         * config/s390/s390.md (bswap<mode>2): New pattern added.
1825
1826 2009-01-28  Wolfgang Gellerich  <gellerich@de.ibm.com>
1827
1828         * config/s390/s390.md (*tls_load_31): Added type attribute.
1829
1830 2009-01-28  Wolfgang Gellerich  <gellerich@de.ibm.com>
1831
1832         * config/s390/s390.md: Fix a few comments.
1833
1834 2009-01-28  Wolfgang Gellerich  <gellerich@de.ibm.com>
1835
1836         * config/s390/s390.md (*tmsi_reg): Fixed z10prop attribute.
1837         (*tm<mode>_full): Fixed z10prop attribute.
1838         (*tst<mode>_extimm): Fixed z10prop attribute.
1839         (*tst<mode>_cconly_extimm): Fixed z10prop attribute.
1840         (*tstqiCCT_cconly): Fixed z10prop attribute.
1841         (*cmpsi_ccu_zerohi_rlsi): Fixed z10prop attribute.
1842         (*movsi_larl): Fixed z10prop attribute.
1843         (*movsi_zarch): Fixed z10prop attribute.
1844         (*movsi_eas): Fixed z10prop attribute.
1845         (*movhi): Fixed z10prop attribute.
1846         (*movqi): Fixed z10prop attribute.
1847         (*movstrictqi): Fixed z10prop attribute.
1848         (*mov<mode>): Fixed z10prop attribute.
1849         (*movcc): Fixed z10prop attribute.
1850         (*sethighpartdi_64): Fixed z10prop attribute.
1851         (*zero_extendhi<mode>2_z10): Fixed z10prop attribute.
1852         (*negdi2_sign_cc): Fixed z10prop attribute.
1853         (*negdi2_sign): Fixed z10prop attribute.
1854         (*absdi2_sign_cc): Fixed z10prop attribute.
1855         (*absdi2_sign): Fixed z10prop attribute.
1856         (*negabsdi2_sign_cc): Fixed z10prop attribute.
1857         (*negabsdi2_sign): Fixed z10prop attribute.
1858         (*cmp_and_trap_signed_int<mode>): Fixed z10prop attribute.
1859         (*cmp_and_trap_unsigned_int<mode>): Fixed z10prop attribute.
1860         (doloop_si64): Fixed z10prop attribute.
1861         (doloop_si31): Fixed z10prop attribute.
1862         (doloop_long): Fixed z10prop attribute.
1863         (indirect_jump): Fixed z10prop attribute.
1864         (nop): Fixed z10prop attribute.
1865         (main_base_64): Fixed z10prop attribute.
1866         (reload_base_64): Fixed z10prop attribute.
1867
1868 2009-01-28  Jakub Jelinek  <jakub@redhat.com>
1869
1870         PR rtl-optimization/38740
1871         * reorg.c (gate_handle_delay_slots): Avoid dbr scheduling
1872         if !optimize.
1873         * config/mips/mips.c (mips_reorg): Likewise.
1874
1875 2009-01-28  Richard Guenther  <rguenther@suse.de>
1876
1877         PR tree-optimization/38926
1878         * tree-ssa-pre.c (add_to_value): Assert we add only expressions
1879         with the correct value id to a value.
1880         (do_regular_insertion): Use the value number of edoubleprime
1881         for the value number of the expr.
1882
1883         Revert
1884         2008-08-21  Richard Guenther  <rguenther@suse.de>
1885
1886         * tree-ssa-pre.c (insert_into_preds_of_block): Before inserting
1887         a PHI ask VN if it is already available.
1888         * tree-ssa-sccvn.h (vn_phi_lookup): Declare.
1889         * tree-ssa-sccvn.c (vn_phi_lookup): Export.
1890
1891 2009-01-28  Jakub Jelinek  <jakub@redhat.com>
1892
1893         PR middle-end/38934
1894         * tree-vrp.c (extract_range_from_assert): For LE_EXPR and LT_EXPR
1895         set to varying whenever max has TREE_OVERFLOW set, similarly
1896         for GE_EXPR and GT_EXPR and TREE_OVERFLOW min.
1897
1898 2009-01-28  Richard Guenther  <rguenther@suse.de>
1899
1900         PR middle-end/38908
1901         * tree-ssa.c (warn_uninitialized_var): Do not warn for seemingly
1902         uninitialized aggregate uses in call arguments.
1903
1904 2009-01-28  Paolo Bonzini  <bonzini@gnu.org>
1905
1906         PR tree-optimization/38984
1907         * tree-ssa-structalias.c (get_constraints_for_1): Do not use
1908         the nothing_id variable if -fno-delete-null-pointer-checks.
1909
1910 2009-01-28  Uros Bizjak  <ubizjak@gmail.com>
1911
1912         PR target/38988
1913         * config/i386/i386.md (set_rip_rex64): Wrap operand 1 in label_ref.
1914         (set_got_offset_rex64): Ditto.
1915
1916 2009-01-27  H.J. Lu  <hongjiu.lu@intel.com>
1917
1918         PR target/38941
1919         * doc/extend.texi: Improve local variable with asm reg.
1920
1921 2009-01-27  Adam Nemet  <anemet@caviumnetworks.com>
1922
1923         * c.opt (Wpacked-bitfield-compat): Change init value to -1.
1924         * c-opts.c (c_common_post_options): If -W*packed-bitfield-compat
1925         was not supplied then set warn_packed_bitfield_compat to the
1926         default value of 1.
1927         * stor-layout.c (place_field): Check warn_packed_bitfield_compat
1928         against 1.
1929
1930 2009-01-27  Richard Guenther  <rguenther@suse.de>
1931
1932         PR tree-optimization/38503
1933         * cfgexpand.c (expand_gimple_basic_block): Ignore
1934         GIMPLE_CHANGE_DYNAMIC_TYPE during expansion.
1935         * tree-ssa-structalias.c (set_uids_in_ptset): Do not prune
1936         variables that cannot have TBAA applied.
1937         (compute_points_to_sets): Do not remove GIMPLE_CHANGE_DYNAMIC_TYPE
1938         statements.
1939
1940 2009-01-27  Uros Bizjak  <ubizjak@gmail.com>
1941
1942         PR middle-end/38969
1943         * calls.c (initialize_argument_information): Do not wrap complex
1944         arguments in SAVE_EXPR.
1945
1946 2009-01-26  Andreas Tobler  <a.tobler@schweiz.org>
1947
1948         * config/t-vxworks (LIBGCC2_INCLUDES): Fix typo.
1949         (INSTALL_LIBGCC): Revert typo commit.
1950
1951 2009-01-26  Richard Guenther  <rguenther@suse.de>
1952
1953         PR tree-optimization/38745
1954         * tree-ssa-alias.c (update_alias_info_1): Exclude RESULT_DECL
1955         from special handling.
1956
1957 2009-01-26  Richard Guenther  <rguenther@suse.de>
1958
1959         PR tree-optimization/38745
1960         * tree-ssa.c (execute_update_addresses_taken): Do not include
1961         variables that cannot possibly be a register in not_reg_needs.
1962         Do not clear TREE_ADDRESSABLE on vars that may not become
1963         registers.
1964         * tree-ssa.c (update_alias_info_1): Include those in the set
1965         of addressable vars.
1966
1967 2009-01-26  Richard Guenther  <rguenther@suse.de>
1968
1969         PR middle-end/38851
1970         * Makefile.in (tree-ssa-dse.o): Add langhooks.h.
1971         * tree-ssa-dse.c: Include langhooks.h
1972         (execute_simple_dse): Remove stores with zero size.
1973
1974 2009-01-24  Jakub Jelinek  <jakub@redhat.com>
1975
1976         PR c/38957
1977         * c-typeck.c (c_finish_return): Handle POINTER_PLUS_EXPR the same way
1978         as PLUS_EXPR.
1979
1980 2009-01-24  Julian Brown  <julian@codesourcery.com>
1981
1982         * config/arm/t-linux-eabi (LIB2FUNCS_STATIC_EXTRA): Add
1983         config/arm/linux-atomic.c.
1984         * config/arm/linux-atomic.c: New.
1985
1986 2009-01-24  Eric Botcazou  <ebotcazou@adacore.com>
1987
1988         * config/sparc/linux.h (DBX_REGISTER_NUMBER): Delete.
1989         * config/sparc/linux64.h (DBX_REGISTER_NUMBER): Likewise.
1990         * config/sparc/sysv4.h (DBX_REGISTER_NUMBER): Likewise.
1991
1992 2009-01-24  H.J. Lu  <hongjiu.lu@intel.com>
1993
1994         PR c/38938
1995         * c-opts.c (c_common_handle_option): Update warn_pointer_sign
1996         properly.
1997
1998 2009-01-24  Sebastian Pop  <sebastian.pop@amd.com>
1999
2000         PR tree-optimization/38953
2001         * graphite.c (graphite_verify): Add a call to verify_loop_closed_ssa.
2002         (scop_adjust_phis_for_liveouts): Initialize false_i to zero.
2003         (gloog): Split the exit of the scop when the scop exit is a loop exit.
2004         (graphite_transform_loops): Only call cleanup_tree_cfg if gloog
2005         changed the CFG.
2006
2007 2009-01-24  Paul Brook  <paul@codesourcery.com>
2008
2009         * config/arm/neon.md (neon_type): Move to arm.md.
2010         (neon_mov<VSTRUCT>): Add neon_type attribute.
2011         * config/arm/arm.md (neon_type): Move to here.
2012         (conds): Add "unconditioal" and use as default for NEON insns.
2013
2014 2009-01-24  Ben Elliston  <bje@au.ibm.com>
2015
2016         * bitmap.h (BITMAP_FREE): Eliminate `implicit conversion from
2017         void *' warning from -Wc++-compat.
2018         * Makefile.in (dominance.o-warn): Remove.
2019
2020 2009-01-23  Paolo Bonzini  <bonzini@gnu.org>
2021
2022         PR tree-optimization/38932
2023         * fold-const.c (fold_unary_ignore_overflow): New.
2024         * tree.h (fold_unary_ignore_overflow): Declare.
2025         * tree-ssa-ccp.c (ccp_fold): Use fold_unary_ignore_overflow.
2026         * tree-ssa-sccvn.c (visit_reference_op_load,
2027         simplify_unary_expression): Likewise.
2028
2029 2009-01-22  Adam Nemet  <anemet@caviumnetworks.com>
2030
2031         * c-decl.c (finish_struct): Move code to set DECL_PACKED after
2032         DECL_BIT_FIELD is alreay known.  Also inherit packed for bitfields
2033         regardless of their type.
2034         * c-common.c (handle_packed_attribute): Don't ignore packed on
2035         bitfields.
2036         * c.opt (Wpacked-bitfield-compat): New warning option.
2037         * stor-layout.c (place_field): Warn if offset of a field changed.
2038         * doc/extend.texi (packed): Mention the ABI change.
2039         * doc/invoke.texi (-Wpacked-bitfield-compat): Document.
2040         (Warning Options): Add it to the list.
2041
2042 2009-01-22  H.J. Lu  <hongjiu.lu@intel.com>
2043
2044         * c-opts.c (c_common_post_options): Fix a typo in comments.
2045
2046 2009-01-22  Steve Ellcey  <sje@cup.hp.com>
2047
2048         PR middle-end/38615
2049         * gimplify.c (gimplify_init_constructor): Fix promotion of const
2050         variables to static.
2051         * doc/invoke.texi (-fmerge-all-constants): Update description.
2052
2053 2009-01-22  Uros Bizjak  <ubizjak@gmail.com>
2054
2055         PR target/38931
2056         * config/i386/i386.md (*movsi_1): Use type "mmx" for alternative 2.
2057         (*movdi_1_rex64): Use type "mmx" for alternative 5.
2058
2059 2009-01-22  Richard Earnshaw  <rearnsha@arm.com>
2060
2061         * arm.h (DATA_ALIGNMENT): Align structures, unions and arrays to
2062         a word boundary.
2063         (LOCAL_ALIGNMENT): Similarly.
2064
2065 2009-01-22  Mark Shinwell  <shinwell@codesourcery.com>
2066             Joseph Myers  <joseph@codesourcery.com>
2067
2068         * config/arm/arm.c (all_architectures): Add iWMMXt2 entry.
2069         * config/arm/arm-cores.def: New ARM_CORE entry for iWMMXt2.
2070         * config/arm/arm-tune.md: Regenerate.
2071         * doc/invoke.texi (ARM Options): Document -mcpu=iwmmxt2 and
2072         -march=iwmmxt2.
2073
2074 2009-01-22  Mark Shinwell  <shinwell@codesourcery.com>
2075
2076         * config/arm/bpabi.h (SUBTARGET_EXTRA_ASM_SPEC): Bump EABI
2077         version number to five.
2078
2079 2009-01-22  Dodji Seketeli  <dodji@redhat.com>
2080
2081         PR c++/38930
2082         * c-decl.c: (clone_underlying_type): Revert PR c++/26693 changes.
2083         * c-common.c (set_underlying_type): Likewise.
2084         (is_typedef_decl ): Likewise
2085         * tree.h: Likewise
2086         (set_underlying_type): Likewise.
2087         (is_typedef_type): Likewise.
2088
2089 2009-01-21  Vladimir Makarov  <vmakarov@redhat.com>
2090
2091         PR middle-end/38587
2092         * ira-color.c (coalesce_spill_slots): Don't coalesce allocnos
2093         crossing setjmps.
2094
2095 2009-01-21  Dave Korn  <dave.korn.cygwin@gmail.com>
2096
2097         PR bootstrap/37660
2098         * config/i386/cygwin.h (SHARED_LIBGCC_SPEC):  New helper macro.
2099         (LIBGCC_SPEC):  Don't define.
2100         (REAL_LIBGCC_SPEC):  Define instead, using SHARED_LIBGCC_SPEC.
2101
2102 2009-01-21  Uros Bizjak  <ubizjak@gmail.com>
2103
2104         PR rtl-optimization/38879
2105         * alias.c (base_alias_check): Unaligned access via AND address can
2106         alias all surrounding object types except those with sizes equal
2107         or wider than the size of unaligned access.
2108
2109 2009-01-21  Dodji Seketeli  <dodji@redhat.com>
2110
2111         PR c++/26693
2112         * c-decl.c: (clone_underlying_type): Move this ...
2113         * c-common.c (set_underlying_type): ... here.
2114         Also, make sure the function properly sets TYPE_STUB_DECL() on
2115         the newly created typedef variant type.
2116         (is_typedef_decl ): New entry point.
2117         * tree.h: Added a new member member_types_needing_access_check to
2118         struct tree_decl_non_common.
2119         (set_underlying_type): New entry point.
2120         (is_typedef_type): Likewise.
2121
2122 2009-01-21  Bingfeng Mei  <bmei@broadcom.com>
2123
2124         * alias.c (walk_mems_1, walk_mems_2, insn_alias_sets_conflict_p):
2125         Check whether two instructions have memory references that
2126         belong to conflicting alias sets.  walk_mems_1 and walk_mems_2
2127         are helper functions for traversing.
2128         * alias.h (insn_alias_sets_confilict_p): New prototypes.
2129         * ddg.c (add_inter_loop_mem_dep): Call insn_alias_sets_conflict_p
2130         not to draw dependency edge for instructions with non-conflicting
2131         alias sets.
2132
2133 2009-01-20  Joseph Myers  <joseph@codesourcery.com>
2134
2135         PR other/38758
2136         * longlong.h: Update copyright years.  Use soft-fp license notice.
2137         Sync __clz_tab declaration with glibc.
2138
2139 2009-01-20  Steve Ellcey  <sje@cup.hp.com>
2140
2141         PR target/30687
2142         * doc/extend.texi (syscall_linkage): New.
2143         (version_id): Modify.
2144
2145 2009-01-20  Andrew Pinski  <andrew_pinski@playstation.sony.com>
2146             Richard Guenther  <rguenther@suse.de>
2147
2148         PR tree-optimization/38747
2149         PR tree-optimization/38748
2150         * tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Disable the VCE
2151         conversion if the base address is an indirect reference and the
2152         aliasing sets could cause issues.
2153
2154 2009-01-20  Sebastian Pop  <sebastian.pop@amd.com>
2155
2156         * common.opt (fgraphite, fgraphite-identity): Add comment for 
2157         explaining why these options are not documented.
2158
2159 2009-01-20  Sebastian Pop  <sebastian.pop@amd.com>
2160
2161         * graphite.c (stmt_simple_for_scop_p): Also handle cases when
2162         gimple_call_lhs is NULL.
2163
2164 2009-01-20  Paolo Bonzini  <bonzini@gnu.org>
2165
2166         PR target/38868
2167         * emit-rtl.c (adjust_address_1): Make sure memref is never
2168         overwritten.
2169
2170 2009-01-20  Ben Elliston  <bje@au.ibm.com>
2171
2172         * libgcov.c (__gcov_execl, __gcov_execlp, __gcov_execle): Remove
2173         const qualifier from arg parameter. Remove unnecessary cast to char *.
2174         * gcov-io.h (__gcov_execl, __gcov_execlp, __gcov_execle): Remove
2175         const qualifier from arg 2.
2176
2177 2009-01-19  Iain Sandoe  <iain.sandoe@sandoe-acoustics.co.uk>
2178
2179         * config/darwin.h: Add static-libgfortran to LINK_SPEC.
2180
2181 2009-01-19  Vladimir Makarov  <vmakarov@redhat.com>
2182
2183         PR c/38869
2184         * rtl.h (reinit_regs): New prototype.
2185         * regclass.c: Include ira.h.
2186         (reinit_regs): New.
2187         * Makefile.in (regclass.o): Add ira.h.
2188         * config/i386/i386.c (ix86_maybe_switch_abi): Use reinit_regs.
2189
2190 2009-01-18  H.J. Lu  <hongjiu.lu@intel.com>
2191
2192         PR target/38736
2193         * c-common.c (handle_aligned_attribute): Use
2194         ATTRIBUTE_ALIGNED_VALUE instead of BIGGEST_ALIGNMENT for
2195         default alignment value.
2196
2197         * c-cppbuiltin.c (c_cpp_builtins): Define __BIGGEST_ALIGNMENT__.
2198
2199         * defaults.h (ATTRIBUTE_ALIGNED_VALUE): New.
2200         * config/i386/i386.h (ATTRIBUTE_ALIGNED_VALUE): Likewise.
2201
2202         * doc/extend.texi: Update __attribute__ ((aligned)).  Document
2203         __BIGGEST_ALIGNMENT__.
2204
2205         * doc/tm.texi: Document ATTRIBUTE_ALIGNED_VALUE.
2206
2207 2009-01-18  Richard Guenther  <rguenther@suse.de>
2208
2209         PR tree-optimization/38819
2210         * tree-flow.h (operation_could_trap_helper_p): Declare.
2211         * tree-eh.c (operation_could_trap_helper_p): Export.
2212         * tree-ssa-sccvn.h (vn_nary_may_trap): Declare.
2213         * tree-ssa-sccvn.c (vn_nary_may_trap): New function.
2214         * tree-ssa-pre.c (insert_into_preds_of_block): Check if we
2215         are about to insert a possibly trapping instruction and fail
2216         in this case.
2217
2218 2009-01-18  Andreas Schwab  <schwab@suse.de>
2219
2220         * doc/install.texi (Configuration): Remove obsolete paragraph
2221         about use of --with-gnu-ld with --with-gnu-as.
2222
2223 2009-01-18  Kazu Hirata  <kazu@codesourcery.com>
2224
2225         * doc/extend.texi, doc/gimple.texi, doc/invoke.texi,
2226         doc/md.texi, doc/sourcebuild.texi, doc/tm.texi: Fix typos.
2227         Follow spelling conventions.
2228
2229 2009-01-18  Ben Elliston  <bje@au.ibm.com>
2230
2231         * bitmap.c (bitmap_obstack_alloc_stat): Adjust cast to eliminate
2232         C++ warning about implicit conversion from void * to struct
2233         bitmap_head_def *.
2234         (bitmap_obstack_free): Likewise for bitmap_element *.
2235         * Makefile.in (bitmap.o-warn): Remove.
2236
2237 2009-01-17  Dave Korn  <dave.korn.cygwin@gmail.com>
2238
2239         * Makefile.in (BACKENDLIBS):  Reorder to match dependencies.
2240
2241 2009-01-17  Sebastian Pop  <sebastian.pop@amd.com>
2242             Tobias Grosser  <tobi.grosser@amd.com>
2243
2244         * graphite.c (graphite_trans_scop_block): Do not block single
2245         nested loops.
2246
2247 2009-01-16  Alexandre Oliva  <aoliva@redhat.com>
2248
2249         * ebitmap.h (ebitmap_iter_init): Initialize all fields.
2250         * ipa-struct-reorg.c (gen_struct_type): Replace known-true
2251         test with assertion.
2252
2253 2009-01-16  Richard Guenther  <rguenther@suse.de>
2254
2255         PR tree-optimization/38835
2256         PR middle-end/36227
2257         * fold-const.c (fold_binary): Remove PTR + INT -> (INT)(PTR p+ INT)
2258         and INT + PTR -> (INT)(PTR p+ INT) folding.
2259         * tree-ssa-address.c (create_mem_ref): Properly use POINTER_PLUS_EXPR.
2260
2261 2009-01-16  Adam Nemet  <anemet@caviumnetworks.com>
2262
2263         PR target/38554
2264         * expmed.c (expand_shift): With SHIFT_COUNT_TRUNCATED, don't lift
2265         the subreg from a lowpart subreg if it is also casting the value.
2266
2267 2009-01-16  Sebastian Pop  <sebastian.pop@amd.com>
2268             Tobias Grosser  <tobi.grosser@amd.com>
2269
2270         * graphite.c (compare_prefix_loops): New.
2271         (build_scop_canonical_schedules): Rewritten.
2272         (graphite_transform_loops): Move build_scop_canonical_schedules
2273         after build_scop_iteration_domain.
2274
2275 2009-01-16  Sebastian Pop  <sebastian.pop@amd.com>
2276             Tobias Grosser  <tobi.grosser@amd.com>
2277
2278         * graphite.c (add_conditions_to_domain): Add the loops to 
2279         the dimension of the iteration domain.  Do copy the domain
2280         only when it exists.
2281         (build_scop_conditions_1): Do not call add_conditions_to_domain.
2282         (add_conditions_to_constraints): New.
2283         (can_generate_code_stmt, can_generate_code): Removed.
2284         (gloog): Do not call can_generate_code.
2285         (graphite_transform_loops): Call add_conditions_to_constraints
2286         after building the iteration domain.
2287
2288 2009-01-16  Jakub Jelinek  <jakub@redhat.com>
2289
2290         PR tree-optimization/38789
2291         * tree-ssa-threadedge.c
2292         (record_temporary_equivalences_from_stmts_at_dest): Ignore calls to
2293         __builtin_constant_p.
2294
2295 2009-01-16  Kenneth Zadeck  <zadeck@naturalbridge.com>
2296
2297         * dce.c (delete_unmarked_insns): Reversed the order that insns are
2298         examined before deleting them.
2299         
2300 2009-01-16  Richard Earnshaw  <rearnsha@arm.com>
2301
2302         * function.c (aggregate_value_p): Correctly extract the function
2303         type from CALL_EXPR_FN lookup.
2304
2305 2009-01-16  Hariharan Sandanagobalane  <hariharan@picochip.com>
2306
2307         * config/picochip/picochip.c (picochip_override_options): Revert
2308         CFI asm flag disable commited previously.
2309
2310 2009-01-15  Sebastian Pop  <sebastian.pop@amd.com>
2311             Tobias Grosser  <tobi.grosser@amd.com>
2312             Jan Sjodin  <jan.sjodin@amd.com>
2313
2314         * graphite.c (scan_tree_for_params): On substractions negate
2315         all the coefficients of the term.
2316         (clast_to_gcc_expression_red): New.  Handle reduction expressions
2317         of more than two operands.
2318         (clast_to_gcc_expression): Call clast_to_gcc_expression_red.
2319         (get_vdef_before_scop): Handle also the case of default definitions.
2320
2321 2009-01-15  Richard Sandiford  <rdsandiford@googlemail.com>
2322
2323         * caller-save.c (add_used_regs_1, add_used_regs): New functions.
2324         (insert_one_insn): Use them instead of REG_DEAD and REG_INC notes.
2325         Also use them when walking CALL_INSN_FUNCTION_USAGE.
2326
2327 2009-01-15  H.J. Lu  <hongjiu.lu@intel.com>
2328             Joey Ye  <joey.ye@intel.com>
2329
2330         PR middle-end/37843
2331         * cfgexpand.c (expand_stack_alignment): Don't update stack
2332         boundary nor check incoming stack boundary here.
2333         (gimple_expand_cfg): Update stack boundary and check incoming
2334         stack boundary here.
2335
2336 2009-01-15  Kenneth Zadeck  <zadeck@naturalbridge.com>
2337
2338         * dce.c (find_call_stack_args, delete_unmarked_insns): Fixed comments.
2339         
2340 2009-01-14  Jakub Jelinek  <jakub@redhat.com>
2341
2342         PR rtl-optimization/38245
2343         * calls.c (expand_call): Add stack arguments to
2344         CALL_INSN_FUNCTION_USAGE even for pure calls (when
2345         ACCUMULATE_OUTGOING_ARGS) and even for args partially passed
2346         in regs and partially in memory or BLKmode arguments.
2347         (emit_library_call_value_1): Add stack arguments to
2348         CALL_INSN_FUNCTION_USAGE even for pure calls (when
2349         ACCUMULATE_OUTGOING_ARGS).
2350         * dce.c: Include tm_p.h.
2351         (find_call_stack_args): New function.
2352         (deletable_insn_p): Call it for CALL_P insns.  Add ARG_STORES
2353         argument.
2354         (mark_insn): Call find_call_stack_args for CALL_Ps.
2355         (prescan_insns_for_dce): Walk insns backwards in bb rather than
2356         forwards.  Allocate and free arg_stores bitmap if needed, pass it
2357         down to deletable_insn_p, don't mark stores set in arg_stores
2358         bitmap, clear the bitmap at the beginning of each bb.
2359         * Makefile.in (dce.o): Depend on $(TM_P_H).
2360
2361 2009-01-14  Michael Meissner  <gnu@the-meissners.org>
2362
2363         PR target/22599
2364         * config/i386/i386.c (print_operand): Add tests for 'D', 'C', 'F', 'f'
2365         to make sure the insn is a conditional test (bug 22599).  Reformat a
2366         few long lines.
2367
2368 2009-01-14  Sebastian Pop  <sebastian.pop@amd.com>
2369
2370         PR middle-end/38431
2371         * graphite.c (get_vdef_before_scop, scop_adjust_vphi): New.
2372         (scop_adjust_phis_for_liveouts): Call scop_adjust_vphi.
2373         (gloog): Do not call cleanup_tree_cfg.
2374         (graphite_transform_loops): Call cleanup_tree_cfg after all 
2375         scops have been code generated.
2376
2377 2009-01-14  Basile Starynkevitch  <basile@starynkevitch.net>
2378         * doc/gty.texi (Invoking the garbage collector): Added new node
2379         and section documenting ggc_collect.
2380
2381 2009-01-14  Richard Guenther  <rguenther@suse.de>
2382
2383         PR tree-optimization/38826
2384         PR middle-end/38477
2385         * tree-ssa-structalias.c (emit_alias_warning): Emit the pointer
2386         initialization notes only if we actually emitted a warning.
2387         (intra_create_variable_infos): Add constraints for a result decl
2388         that is passed by hidden reference.
2389         (build_pred_graph): Mark all related variables non-direct on
2390         address-taking.
2391
2392 2009-01-14  Nick Clifton  <nickc@redhat.com>
2393
2394         * ira-conflicts.c: Include addresses.h for the definition of
2395         base_reg_class.
2396         (ira_build_conflicts): Use base_reg_class instead of BASE_REG_CLASS.
2397         * Makefile.in: Add a dependency of ira-conflicts.o on addresses.h.
2398
2399 2009-01-13  Vladimir Makarov  <vmakarov@redhat.com>
2400
2401         PR target/38811
2402         * Makefile.in (ira-lives.o): Add except.h.
2403
2404         * ira-lives.c: Include except.h.
2405         (process_bb_node_lives): Process can_throw_internal.
2406
2407 2009-01-13  Jakub Jelinek  <jakub@redhat.com>
2408
2409         PR rtl-optimization/38774
2410         * combine.c (simplify_set): When undoing cc_use change, don't do
2411         PUT_CODE on the newly created comparison, but instead put back the
2412         old comparison.
2413
2414 2009-01-13  Joseph Myers  <joseph@codesourcery.com>
2415
2416         * doc/invoke.texi (ARM Options): Update lists of -mcpu and -march
2417         values.  Remove duplicate arm8 entry.
2418
2419 2009-01-13  Sebastian Pop  <sebastian.pop@amd.com>
2420
2421         PR tree-optimization/38786
2422         * graphite.c (expand_scalar_variables_ssa_name): New, outlined from
2423         the SSA_NAME case of expand_scalar_variables_expr.
2424         Set the type of an expression to the type of its assign statement.
2425         (expand_scalar_variables_expr): Also gather the scalar computation
2426         used to index the memory access.  Do not pass loop_p.
2427         Fix comment.  Stop recursion on tcc_constant or tcc_declaration.
2428         (expand_scalar_variables_stmt): Pass to expand_scalar_variables_expr
2429         the gimple_stmt_iterator where it inserts new code.
2430         Do not pass loop_p.
2431         (copy_bb_and_scalar_dependences): Do not pass loop_p.
2432         (translate_clast): Update call to copy_bb_and_scalar_dependences.
2433
2434 2009-01-13  Sebastian Pop  <sebastian.pop@amd.com>
2435
2436         * graphite.h (debug_value): Removed.
2437         * graphite.c (debug_value): Removed.
2438
2439 2009-01-13  Richard Earnshaw  <rearnsha@arm.com>
2440
2441         * config/arm/arm.c (output_move_double): Don't synthesize thumb-2
2442         ldrd/strd with two 32-bit instructions.
2443
2444 2009-01-13  Richard Earnshaw  <rearnsha@arm.com>
2445
2446         * config/arm/arm.c (struct processors): Pass for speed down into
2447         cost helper functions.
2448         (const_ok_for_op): Handle COMPARE and inequality nodes.
2449         (arm_rtx_costs_1): Rewrite.
2450         (arm_size_rtx_costs): Update prototype.
2451         (arm_rtx_costs): Pass speed down to helper functions.
2452         (arm_slowmul_rtx_costs): Rework cost calculations.
2453         (arm_fastmul_rtx_costs, arm_xscale_rtx_costs): Likewise.
2454         (arm_9e_rtx_costs): Likewise.
2455
2456 2009-01-13  Uros Bizjak  <ubizjak@gmail.com>
2457
2458         * config/alpha/alpha.c (alpha_legitimate_address_p): Explicit
2459         relocations of local symbols wider than UNITS_PER_WORD are not valid.
2460         (alpha_legitimize_address): Do not split local symbols wider than
2461         UNITS_PER_WORD into HIGH/LO_SUM parts.
2462
2463 2009-01-13  Danny Smith  <dannysmith@users.sourceforge.net>
2464
2465         PR bootstrap/38580
2466         * gcc.c (process_command): Replace call to execvp with calls
2467         to pex_one and exit.
2468
2469 2009-01-03  Anatoly Sokolov  <aesok@post.ru>
2470
2471         PR target/29141
2472         * config/avr/t-avr (LIB1ASMFUNCS): Add _tablejump_elpm.
2473         * config/avr/libgcc.S (__do_global_ctors, __do_global_dtors): Add
2474         variant for devices with 3-byte PC.
2475         (__tablejump_elpm__) : New.
2476
2477 2009-01-12  Jakub Jelinek  <jakub@redhat.com>
2478
2479         PR c/32041
2480         * c-parser.c (c_parser_postfix_expression): Allow `->' in
2481         offsetof member-designator, handle it as `[0].'.
2482
2483 2009-01-12  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
2484
2485         * pa.c (pa_asm_output_mi_thunk): Use pc-relative branch to thunk
2486         function when not using named sections on targets with named sections
2487         if branch distance is less than 262132.
2488
2489 2009-01-12  Richard Earnshaw  <rearnsha@arm.com>
2490
2491         * combine.c (combine_instructions):  Recompute
2492         optimize_this_for_speed_p  for each BB in the main combine loop.
2493
2494 2009-01-12  Tomas Bily  <tbily@suse.cz>
2495
2496         PR middlend/38385
2497         * tree-loop-distribution.c (prop_phis): New function.
2498         (generate_builtin): Call prop_phis.
2499         * testsuite/gcc.dg/tree-ssa/pr38385.c: New file.
2500
2501 2009-01-12  Jakub Jelinek  <jakub@redhat.com>
2502
2503         PR tree-optimization/38807
2504         * tree-ssa-reassoc.c (remove_visited_stmt_chain): Don't look at
2505         gimple_visited_p unless stmt is GIMPLE_ASSIGN.
2506
2507 2009-01-11  Adam Nemet  <anemet@caviumnetworks.com>
2508
2509         * expmed.c (store_bit_field_1): Properly truncate the paradoxical
2510         subreg of op0 to the original op0.
2511
2512 2009-01-11  Laurent GUERBY  <laurent@guerby.net>
2513
2514         * doc/sourcebuild.texi (Source Tree): Move up intl and fixinc.
2515         
2516 2009-01-11  Markus Schoepflin  <markus.schoepflin@comsoft.de>
2517
2518         PR debug/7055
2519         * gcc/mips-tfile.c (parse_def): Fix parsing of def strings
2520         starting with digits.
2521
2522 2009-01-10  Jakub Jelinek  <jakub@redhat.com>
2523
2524         PR target/38695
2525         * config/arm/arm.c (arm_is_long_call_p): Don't call
2526         arm_function_in_section_p if decl isn't a FUNCTION_DECL.
2527
2528 2009-01-09  Steven Bosscher  <steven@gcc.gnu.org>
2529
2530         * regrename.c (regrename_optimize): Fix dumping.
2531         (find_oldest_value_reg): Preserve REG_POINTER.
2532         (copy_hardreg_forward_1): Likewise.
2533
2534 2009-01-09  Diego Novillo  <dnovillo@google.com>
2535
2536         * gimple.h (struct gimple_statement_base) <uid>: Document
2537         the restrictions on its use.
2538         (gimple_uid): Tidy.
2539         (gimple_set_uid): Tidy.
2540
2541 2009-01-09  Jakub Jelinek  <jakub@redhat.com>
2542
2543         * config/i386/i386.c (ix86_expand_movmem, ix86_expand_setmem): Add
2544         zero guard even if align_bytes != 0 and count is smaller than
2545         size_needed.
2546
2547 2009-01-09  Vladimir Makarov  <vmakarov@redhat.com>
2548
2549         PR rtl-optimization/38495
2550         * ira-emit.c (print_move_list, ira_debug_move_list): New functions.
2551         (add_range_and_copies_from_move_list): Print all added ranges.
2552         Add ranges to memory optimized destination.
2553
2554 2009-01-09  Jakub Jelinek  <jakub@redhat.com>
2555
2556         PR target/38686
2557         PR target/38708
2558         * config/i386/i386.c (override_options): Reject
2559         -mstringop-strategy=rep_8byte with -m32.
2560         (ix86_expand_movmem): For size_needed == 1 set epilogue_size_needed
2561         to 1.  Do count comparison against epilogue_size_needed at compile
2562         time even when count_exp was constant forced into register.  For
2563         size_needed don't jump to epilogue, instead just avoid aligning
2564         and invoke the body algorithm.  If need_zero_guard, add zero guard
2565         even if count is non-zero, but smaller than size_needed + number of
2566         bytes that could be stored for alignment.
2567         (ix86_expand_setmem): For size_needed == 1 set epilogue_size_needed
2568         to 1.  If need_zero_guard, add zero guard even if count is non-zero,
2569         but smaller than size_needed + number of bytes that could be stored
2570         for alignment.  Compare size_needed with epilogue_size_needed instead
2571         of desired_align - align, don't adjust size_needed, pass
2572         epilogue_size_needed to the epilogue expanders.
2573
2574         PR c/35742
2575         * c-pretty-print.c (pp_c_expression): Handle GOTO_EXPR like BIND_EXPR.
2576
2577 2009-01-09  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
2578
2579         * pa.c (last_address): Change to unsigned.
2580         (update_total_code_bytes): Change argument to unsigned.  Don't
2581         check if insn addresses are set.
2582         (pa_output_function_epilogue): Set last_address to UINT_MAX if insn
2583         addresses are not set.
2584         (pa_asm_output_mi_thunk): Handle wrap when updating last_address.
2585
2586 2009-01-09  Nick Clifton  <nickc@redhat.com>
2587
2588         * config/sh/symbian.c: Replace uses of DECL_INLINE with
2589         DECL_DECLARED_INLINE_P.
2590
2591 2009-01-09  Jakub Jelinek  <jakub@redhat.com>
2592
2593         PR middle-end/38347
2594         * dojump.c (do_jump_by_parts_zero_rtx): Use mode instead of
2595         GET_MODE (op0) in operand_subword_force calls.
2596
2597         PR middle-end/38771
2598         * fold-const.c (fold_unary): For COMPOUND_EXPR and COND_EXPR,
2599         fold_convert arg0 operands to TREE_TYPE (op0) first.
2600
2601 2009-01-08  Vladimir Makarov  <vmakarov@redhat.com>
2602
2603         * params.def (ira-max-conflict-table-size): Decrease default value
2604         to 1000.
2605
2606 2009-01-08  Jakub Jelinek  <jakub@redhat.com>
2607
2608         PR tree-optimization/37031
2609         * lambda-code.c (lambda_collect_parameters): Call pointer_set_destroy
2610         on parameter_set.
2611         (build_access_matrix): Reserve correct size for AM_MATRIX vector,
2612         allocate it using gc instead of heap, use VEC_quick_push instead of
2613         VEC_safe_push.
2614         * graphite.c (build_access_matrix): Allocate AM_MATRIX vector using gc
2615         instead of heap, use VEC_quick_push instead of VEC_safe_push.
2616         * tree-data-ref.h (struct access_matrix): Change matrix to gc
2617         allocated vector from heap allocated.
2618         * lambda.h: Add DEF_VEC_ALLOC_P for gc allocated lambda_vector.
2619         * tree-loop-linear.c (linear_transform_loops): Allocate nest
2620         vector only after perfect_loop_nest_depth call.
2621
2622 2009-01-08  Sebastian Pop  <sebastian.pop@amd.com>
2623             Jan Sjodin  <jan.sjodin@amd.com>
2624
2625         PR tree-optimization/38559
2626         * graphite.c (debug_value, copy_constraint,
2627         swap_constraint_variables, scale_constraint_variable, ): New.
2628         (get_lower_bound, get_upper_bound): Removed.
2629         (graphite_trans_bb_strip_mine): Clean up this code that works
2630         only for constant number of iterations.  Fully copy upper and
2631         lower bound constraints, not only the constant part of them.
2632         * graphite.h (debug_value): Declared.
2633
2634 2009-01-08  Ira Rosen  <irar@il.ibm.com>
2635
2636         PR tree-optimization/37194
2637         * tree-vect-transform.c (vect_estimate_min_profitable_iters):
2638         Don't add the cost of cost model guard in prologue to scalar 
2639         outside cost in case of known number of iterations.
2640
2641 2009-01-07  Nathan Froyd  <froydnj@codesourcery.com>
2642             Alan Modra  <amodra@bigpond.net.au>
2643
2644         * config/rs6000/rs6000.c (rs6000_legitimize_address): Check for
2645         non-word-aligned REG+CONST addressing.
2646
2647 2009-01-07  Uros Bizjak  <ubizjak@gmail.com>
2648
2649         PR target/38706
2650         * config/alpha/alpha.c (alpha_end_function): For TARGET_ABI_OSF, call
2651         free_after_compilation when outputting a thunk.
2652         (alpha_output_mi_thunk_osf): Assert that we are processing a thunk.
2653         Do not call free_after_compilation here.
2654
2655 2009-01-07  Uros Bizjak  <ubizjak@gmail.com>
2656
2657         * config/i386/i386.c (ix86_target_string): Use ARRAY_SIZE.
2658         (ix86_valid_target_attribute_inner_p): Ditto.
2659
2660 2009-01-07  Jan Sjodin  <jan.sjodin@amd.com>
2661
2662         PR tree-optimization/38492
2663         PR tree-optimization/38498
2664         * tree-check.c (operator_is_linear, scev_is_linear_expression): New.
2665         * tree-chrec.h (scev_is_linear_expression): Declared.
2666         * graphite.c (graphite_cannot_represent_loop_niter): New.
2667         (scopdet_basic_block_info): Call graphite_cannot_represent_loop_niter.
2668         (graphite_loop_normal_form): Use gcc_assert.
2669         (scan_tree_for_params): Use CASE_CONVERT.
2670         (phi_node_is_iv, bb_contains_non_iv_scalar_phi_nodes): New.
2671         (build_scop_conditions_1): Call bb_contains_non_iv_scalar_phi_nodes.
2672         Use gcc_assert.  Discard scops that contain unhandled cases.
2673         (build_scop_conditions): Return a boolean status for unhandled cases.
2674         (strip_mine_profitable_p): Print the loop number, not its depth.
2675         (is_interchange_valid): Pass the depth of the loop nest, don't
2676         recompute it wrongly.
2677         (graphite_trans_bb_block): Same.
2678         (graphite_trans_bb_block): Print tentative of loop blocking.
2679         (graphite_trans_scop_block): Do not print that the loop has been
2680         blocked.
2681         (graphite_transform_loops): Do not handle scops that contain condition
2682         scalar phi nodes.
2683
2684 2009-01-07  H.J. Lu  <hongjiu.lu@intel.com>
2685
2686         AVX Programming Reference (December, 2008)
2687         * config/i386/avxintrin.h (_mm256_stream_si256): New.
2688         (_mm256_stream_pd): Likewise.
2689         (_mm256_stream_ps): Likewise.
2690
2691         * config/i386/i386.c (ix86_builtins): Add IX86_BUILTIN_MOVNTDQ256,
2692         IX86_BUILTIN_MOVNTPD256 and IX86_BUILTIN_MOVNTPS256.
2693         (ix86_special_builtin_type): Add VOID_FTYPE_PV4DI_V4DI.
2694         (bdesc_special_args): Add __builtin_ia32_movntdq256,
2695         __builtin_ia32_movntpd256 and __builtin_ia32_movntps256.
2696         (ix86_init_mmx_sse_builtins): Handle VOID_FTYPE_PV4DI_V4DI.
2697         (ix86_expand_special_args_builtin): Likewise.
2698
2699         * config/i386/sse.md (AVXMODEDI): New.
2700         (avx_movnt<mode>): Likewise.
2701         (avx_movnt<mode>): Likewise.
2702         (<sse>_movnt<mode>): Remove AVX support.
2703         (sse2_movntv2di): Likewise.
2704
2705 2009-01-07  Richard Guenther  <rguenther@suse.de>
2706
2707         PR middle-end/38751
2708         * fold-const.c (extract_muldiv): Remove obsolete comment.
2709         (fold_plusminus_mult_expr): Undo MINUS_EXPR
2710         to PLUS_EXPR canonicalization for the canonicalization.
2711
2712 2009-01-07  Gerald Pfeifer  <gerald@pfeifer.com>
2713
2714         * doc/install.texi (alpha*-dec-osf*): Remove note on 32-bit
2715         hosted cross-compilers generating less efficient code.
2716
2717 2009-01-06  Richard Sandiford  <rdsandiford@googlemail.com>
2718
2719         * function.h (rtl_data): Add a dbr_scheduled_p field.
2720         * reorg.c (dbr_schedule): Set it.
2721         (gate_handle_delay_slots): Check it.
2722         * config/mips/mips.c (mips_base_delayed_branch): Delete.
2723         (mips_reorg): Check flag_delayed_branch instead of
2724         mips_base_delayed_branch.
2725         (mips_override_options): Don't set mips_base_delayed_branch
2726         or flag_delayed_branch.
2727
2728 2009-01-06  Richard Sandiford  <rdsandiford@googlemail.com>
2729
2730         PR rtl-optimization/38426.
2731         * ira.c (ira): Set current_function_is_leaf earlier.
2732
2733 2009-01-06  Jakub Jelinek  <jakub@redhat.com>
2734
2735         PR rtl-optimization/38722
2736         * combine.c (try_combine): Don't modify PATTERN (i3) and notes
2737         too early, only set a flag and modify after last possible
2738         undo_all point.
2739
2740 2009-01-06  Janis Johnson  <janis187@us.ibm.com>
2741
2742         PR c/34252
2743         * ginclude/float.h: Rename DECnn_DEN to DECnn_SUBNORMAL_MIN.
2744         * real.c (decimal_single_format): Correct values of emin and emax.
2745         (decimal_double_format): Ditto.
2746         (decimal_quad_format): Ditto.
2747         * c-cppbuiltin.c (builtin_define_decimal_float_constants): Adjust
2748         computation of DECnn_MIN and DECnn_MAX for corrected values of
2749         emin and emax.  Define __DECnn_SUBNORMAL_MIN__ instead of
2750         __DECnn_MIN__, and adjust its computation for the corrected value
2751         of emin.
2752
2753 2009-01-06  Jan Hubicka  <jh@suse.cz>
2754
2755         PR target/38744
2756         * config/i386/i386.c (ix86_expand_call): Use ARRAY_SIZE.
2757
2758 2009-01-06  Gerald Pfeifer  <gerald@pfeifer.com>
2759
2760         * doc/contrib.texi (Contributors): Slightly adjust the end note.
2761         Add Robert Clark to the list of testers.
2762
2763 2009-01-06  Jan Hubicka  <jh@suse.cz>
2764             Kai Tietz  <kai.tietz@onevision.com>
2765
2766         * config/i386/i386.md (*msabi_syvabi): Add SSE regs clobbers.
2767         * config/i386/i386.c (ix86_expand_call): Add clobbers.
2768
2769 2009-01-06  Jan Hubicka  <jh@suse.cz>
2770             Kai Tietz  <kai.tietz@onevision.com>
2771
2772         * config/i386/i386.h (CONDITIONAL_CALL_USAGE): SSE regs are not used
2773         for w64 ABI.
2774         * config/i386/i386.c (struct ix86_frame): Add padding0 and nsseregs.
2775         (ix86_nsaved_regs): Count only general purpose regs.
2776         (ix86_nsaved_sseregs): New.
2777         (ix86_compute_frame_layout): Update nsseregs; set preferred alignment
2778         to 16 for w64; compute padding and size of sse reg save area.
2779         (ix86_emit_save_regs, ix86_emit_save_regs_using_mov): Save only
2780         general purpose regs.
2781         (ix86_emit_save_sse_regs_using_mov): New.
2782         (ix86_expand_prologue): Save SSE regs if needed.
2783         (ix86_emit_restore_regs_using_mov): Use only general purpose regs.
2784         (ix86_emit_restore_sse_regs_using_mov): New.
2785         (ix86_expand_epilogue): Save SSE regs if needed.
2786
2787 2009-01-06  Jan Hubicka  <jh@suse.cz>
2788             Kai Tietz  <kai.tietz@onevision.com>
2789
2790         * config/i386/i386.h (ACCUMULATE_OUTGOING_ARGS): Enable for MSABI
2791         * config/i386/i386.c (init_cumulative_args): Disallow calls of MSABI
2792         functions when accumulate outgoing args is off.
2793
2794 2009-01-06  H.J. Lu  <hongjiu.lu@intel.com>
2795
2796         PR bootstrap/38742
2797         * ira-color.c (ira_reuse_stack_slot): Check ENABLE_IRA_CHECKING
2798         before using pseudos_have_intersected_live_ranges_p.
2799
2800         * ira-int.h (ira_assert): Always define.
2801
2802 2009-01-06  H.J. Lu  <hongjiu.lu@intel.com>
2803
2804         AVX Programming Reference (December, 2008)
2805         * config/i386/avxintrin.h (_mm_permute2_pd): Removed.
2806         (_mm256_permute2_pd): Likewise.
2807         (_mm_permute2_ps): Likewise.
2808         (_mm256_permute2_ps): Likewise.
2809         * config/i386/i386.md (UNSPEC_VPERMIL2): Likewise.
2810         * config/i386/sse.md (avx_vpermil2<mode>3): Likewise.
2811
2812         * config/i386/i386.c (ix86_builtins): Remove
2813         IX86_BUILTIN_VPERMIL2PD, IX86_BUILTIN_VPERMIL2PS,
2814         IX86_BUILTIN_VPERMIL2PD256 and IX86_BUILTIN_VPERMIL2PS256.
2815         (ix86_builtin_type): Remove V8SF_FTYPE_V8SF_V8SF_V8SI_INT,
2816         V4DF_FTYPE_V4DF_V4DF_V4DI_INT, V4SF_FTYPE_V4SF_V4SF_V4SI_INT
2817         and V2DF_FTYPE_V2DF_V2DF_V2DI_INT.
2818         (bdesc_args): Remove __builtin_ia32_vpermil2pd,
2819         __builtin_ia32_vpermil2ps, __builtin_ia32_vpermil2pd256 and
2820         __builtin_ia32_vpermil2ps256.
2821         (ix86_init_mmx_sse_builtins): Updated.
2822         (ix86_expand_args_builtin): Likewise.
2823
2824 2009-01-05  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
2825
2826         * pa.c (output_call): Relocate non-jump insns in the delay slot of
2827         long absolute calls when generating PA 2.0 code.
2828
2829 2009-01-05  Vladimir Makarov  <vmakarov@redhat.com>
2830
2831         PR rtl-optimization/38583
2832         * params.h (IRA_MAX_CONFLICT_TABLE_SIZE): New macro.
2833
2834         * params.def (ira-max-conflict-table-size): New.
2835
2836         * doc/invoke.texi (ira-max-conflict-table-size): Decribe.
2837         
2838         * ira.h (ira_conflicts_p): New external definition.
2839         
2840         * ira-conflicts.c (build_conflict_bit_table): Do not build too big
2841         table.  Report this.  Return result of building.
2842         (ira_build_conflicts): Use ira_conflicts_p.  Check result of
2843         building conflict table.
2844
2845         * ira-color.c (fast_allocation): Use num instead of ira_allocnos_num.
2846         (ira_color): Use ira_conflicts_p.
2847         
2848         * global.c: Include ira.h.
2849         (pseudo_for_reload_consideration_p, build_insn_chain): Use
2850         ira_conflicts_p.
2851
2852         * Makefile.in (global.o): Add ira.h.
2853         
2854         * ira-build.c (mark_all_loops_for_removal,
2855         propagate_some_info_from_allocno): New.
2856         (remove_unnecessary_allocnos): Call
2857         propagate_some_info_from_allocno.
2858         (remove_low_level_allocnos): New.
2859         (remove_unnecessary_regions): Add parameter.  Call
2860         mark_all_loops_for_removal and remove_low_level_allocnos.  Pass
2861         parameter to remove_unnecessary_regions.
2862         (ira_build): Remove all regions but root if the conflict table was
2863         not built.  Update conflict hard regs for allocnos crossing calls.
2864
2865         * ira.c (ira_conflicts_p): New global.
2866         (ira): Define and use ira_conflicts_p.
2867
2868         * reload1.c (compute_use_by_pseudos, reload, count_pseudo,
2869         count_spilled_pseudo, find_reg, alter_reg, finish_spills,
2870         emit_input_reload_insns, delete_output_reload): Use ira_conflicts_p.
2871         
2872 2009-01-06  Ben Elliston  <bje@au.ibm.com>
2873
2874         * gengtype-lex.l (YY_NO_INPUT): Define.
2875
2876 2009-01-05  Andrew Pinski  <andrew_pinski@playstation.sony.com>
2877
2878         PR c/34911
2879         * c-common.c (handle_vector_size_attribute): Also reject
2880         BOOLEAN_TYPE types.
2881
2882 2009-01-05  Sebastian Pop  <sebastian.pop@amd.com>
2883
2884         PR tree-optimization/38492
2885         * graphite.c (rename_map_elt, debug_rename_elt,
2886         debug_rename_map_1, debug_rename_map, new_rename_map_elt,
2887         rename_map_elt_info, eq_rename_map_elts,
2888         get_new_name_from_old_name, bb_in_sese_p): Moved around.
2889         (sese_find_uses_to_rename_use): Renamed sese_build_livein_liveouts_use.
2890         (sese_find_uses_to_rename_bb): Renamed sese_build_livein_liveouts_bb.
2891         (sese_build_livein_liveouts): New.
2892         (new_sese, free_sese): New.
2893         (new_scop): Call new_sese.
2894         (free_scop): Call free_sese.
2895         (rename_variables_from_edge, rename_phis_end_scop): Removed.
2896         (register_old_new_names): Renamed register_old_and_new_names.
2897         (register_scop_liveout_renames, add_loop_exit_phis,
2898         insert_loop_close_phis, struct igp,
2899         default_liveout_before_guard, add_guard_exit_phis,
2900         insert_guard_phis, copy_renames): New.
2901         (translate_clast): Call insert_loop_close_phis and insert_guard_phis.
2902         (sese_add_exit_phis_edge): Renamed scop_add_exit_phis_edge.
2903         (rewrite_into_sese_closed_ssa): Renamed scop_insert_phis_for_liveouts.
2904         (scop_adjust_phis_for_liveouts): New.
2905         (gloog): Call scop_adjust_phis_for_liveouts.
2906
2907         * graphite.h (struct sese): Documented.  Added fields liveout,
2908         num_ver and livein.
2909         (SESE_LIVEOUT, SESE_LIVEIN, SESE_LIVEIN_VER, SESE_NUM_VER): New.
2910         (new_sese, free_sese, sese_build_livein_liveouts): Declared.
2911         (struct scop): Added field liveout_renames.
2912         (SCOP_LIVEOUT_RENAMES): New.
2913
2914 2009-01-05  Harsha Jagasia  <harsha.jagasia@amd.com>
2915
2916         PR tree-optimization/38510
2917         * graphite.c (recompute_all_dominators): Call mark_irreducible_loops.
2918         (translate_clast): Call recompute_all_dominators before
2919         graphite_verify.
2920         (gloog): Call recompute_all_dominators before graphite_verify.
2921
2922 2009-01-05  Harsha Jagasia  <harsha.jagasia@amd.com>
2923             Jan Sjodin  <jan.sjodin@amd.com>
2924
2925         PR tree-optimization/38500
2926         * graphite.c (create_sese_edges): Call fix_loop_structure after
2927         splitting blocks.
2928
2929 2009-01-05  Joel Sherrill  <joel.sherrill@oarcorp.com>
2930
2931         * config.gcc: Add m32r*-*-rtems*.
2932         * config/m32r/rtems.h: New file.
2933
2934 2009-01-05  Ben Elliston  <bje@au.ibm.com>
2935
2936         * Makefile.in (.po.gmo): Use mkinstalldirs, not test -d || mkdir.
2937         (.po.pox): Likewise.
2938         (po/gcc.pot): Likewise.
2939
2940 2009-01-04  David S. Miller  <davem@davemloft.net>
2941
2942         * config/sparc/sparc.h (SECONDARY_MEMORY_NEEDED_RTX): Delete.
2943         (STARTING_FRAME_OFFSET): Always set to zero.
2944
2945 2009-01-04  Richard Sandiford  <rdsandiford@googlemail.com>
2946
2947         * tree.def (LSHIFT_EXPR, RSHIFT_EXPR): Add commentary.
2948         * tree-cfg.c (verify_gimple_assign_binary): Allow shifts of
2949         fixed-point types, and vectors of the same.
2950
2951 2009-01-04  Richard Sandiford  <rdsandiford@googlemail.com>
2952
2953         * config/mips/sync.md (*mb_barrier): Rename to...
2954         (*memory_barrier): ...this.
2955
2956 2009-01-04  Jonathan Wakely  <jwakely.gcc@gmail.com>
2957
2958         * doc/extend.texi (Function Attributes): Move @cindex after @item
2959         for 'artificial' and 'flatten'. Fix grammar for 'externally_visible'
2960         and put in alphabetical order. Fix 'target' name and put in order.
2961         * doc/invoke.texi (-Wstrict-null-sentinel, -fipa-matrix-reorg): Fix
2962         typos.
2963
2964 2009-01-04  Uros Bizjak  <ubizjak@gmail.com>
2965
2966         * config/s390/s390.md (UNSPEC_MB): Rename from UNSPECV_MB.
2967         (memory_barrier): Expand as unspec instead of unspec_volatile.
2968         Remove mem:BLK from insn operands.  Use Pmode scratch register.
2969         (*memory_barrier): Define as unspec instead of unspec_volatile.
2970         Use (match_dup 0) as input operand.
2971
2972         * config/sparc/sparc.md (UNSPEC_MEMBAR): Rename from UNSPECV_MEMBAR.
2973         * config/sparc/sync.md (memory_barrier): Expand as unspec instead of
2974         unspec_volatile.  Remove mem:BLK from insn operands.  Use Pmode
2975         scratch register.  Remove operand 1.
2976         (*stbar): Define as unspec instead of unspec_volatile.
2977         Use (match_dup 0) as input operand, remove (const_int 8).
2978         (*membar): Define as unspec instead of unspec_volatile.
2979         Use (match_dup 0) as input operand, remove input operand 2.
2980
2981         * config/xtensa/xtensa.md (UNSPEC_MEMW): Rename from UNSPECV_MEMW.
2982         (memory_barrier): Expand as unspec instead of unspec_volatile.
2983         Remove mem:BLK from insn operands.  Use Pmode scratch register.
2984         (*memory_barrier): Define as unspec instead of unspec_volatile.
2985         Use (match_dup 0) as input operand.
2986
2987         * config/ia64/sync.md (memory_barrier): Redefine as expander pattern.
2988         Remove mem:BLK from insn operands.  Use Pmode scratch register.
2989         Set volatile flag on operand 0.
2990         (*memory_barrier): New insn pattern.
2991
2992         * config/rs6000/sync.md (memory_barrier): Remove mem:BLK from
2993         insn operands.
2994         (*memory_barrier): Use (match_dup 0) as input operand.
2995
2996         * config/mips/sync.md (memory_barrier): Redefine as expander pattern.
2997         Remove mem:BLK from insn operands.  Use Pmode scratch register.
2998         Set volatile flag on operand 0.
2999         (*mb_internal): New insn pattern.
3000
3001         * config/alpha/sync.md (*memory_barrier): Rename from *mb_internal.
3002
3003 2009-01-04  Steven Bosscher  <steven@gcc.gnu.org>
3004
3005         PR middle-end/38586
3006         * function.c (struct temp_slot): Move to the section of the file
3007         that deals with temp slots.  Remove field 'address'.
3008         (temp_slot_address_table): New hash table of address -> temp slot.
3009         (struct temp_slot_address_entry): New struct, items for the table.
3010         (temp_slot_address_compute_hash, temp_slot_address_hash,
3011         temp_slot_address_eq, insert_temp_slot_address): Support functions
3012         for the new table.
3013         (find_temp_slot_from_address): Rewrite to use the new hash table.
3014         (remove_unused_temp_slot_addresses): Remove addresses of temp
3015         slots that have been made available.
3016         (remove_unused_temp_slot_addresses_1): Call-back for htab_traverse,
3017         worker function for remove_unused_temp_slot_addresses.
3018         (assign_stack_temp_for_type): Don't clear the temp slot address list.
3019         Add the temp slot address to the address -> temp slot map.
3020         (update_temp_slot_address): Update via insert_temp_slot_address.
3021         (free_temp_slots): Call remove_unused_temp_slot_addresses.
3022         (pop_temp_slots): Likewise.
3023         (init_temp_slots): Allocate the address -> temp slot map, or empty
3024         the map if it is already allocated.
3025         (prepare_function_start): Initialize temp slot processing.
3026
3027 2009-01-04  Steven Bosscher  <steven@gcc.gnu.org>
3028
3029         PR middle-end/38584
3030         * cfgexpand.c (estimate_stack_frame_size): Simplify the estimate:
3031         Calculate the size of all stack vars assuming no packing of stack
3032         vars will happen, replacing a quadratic algorithm with a linear one.
3033
3034 2009-01-03  Jakub Jelinek  <jakub@redhat.com>
3035
3036         PR target/38707
3037         * expmed.c (store_bit_field_1): Don't modify op0 if movstrict insn
3038         can't be used.
3039
3040 2009-01-03  Diego Novillo  <dnovillo@google.com>
3041
3042         * doc/contrib.texi: Update contributions.
3043
3044 2009-01-03  Jakub Jelinek  <jakub@redhat.com>
3045
3046         PR c++/38705
3047         * builtins.c (fold_builtin_memory_op): Give up if either operand
3048         is volatile.  Set srctype or desttype to non-qualified version
3049         of the other type.
3050
3051         PR c/38700
3052         * builtins.c (fold_builtin_expect): Only check DECL_WEAK for VAR_DECLs
3053         and FUNCTION_DECLs.
3054
3055 2009-01-02  Kenneth Zadeck  <zadeck@naturalbridge.com>
3056
3057         PR rtl-optimization/35805
3058         * df-problems.c (df_lr_finalize): Add recursive call to resolve lr
3059         problem if fast dce is able to remove any instructions.
3060         * dce.c (dce_process_block): Fix dump message.
3061         
3062 2009-01-02  Mark Mitchell  <mark@codesourcery.com>
3063
3064         PR 33649
3065         * tree-ssa-pre.c (compute_antic): Correct loop bounds.
3066
3067 2009-01-02  Jakub Jelinek  <jakub@redhat.com>
3068
3069         PR middle-end/38690
3070         * tree-flow.h (op_code_prio, op_prio): New prototypes.
3071         * tree-pretty-print.c (op_code_prio): New function.
3072         (op_prio): No longer static.  Use op_code_prio.
3073         * gimple-pretty-print.c (dump_unary_rhs, dump_binary_rhs):
3074         Use op_prio and op_code_prio to determine if () should be
3075         printed around operand(s) or not.
3076
3077         * gimple-pretty-print.c (dump_unary_rhs, dump_binary_rhs,
3078         dump_gimple_call, dump_gimple_switch, dump_gimple_cond,
3079         dump_gimple_label, dump_gimple_try, dump_symbols, dump_gimple_phi,
3080         dump_gimple_mem_ops, dump_bb_header, dump_bb_end, pp_cfg_jump): Use
3081         pp_character instead of pp_string for single letter printing.
3082
3083 2009-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
3084
3085         * doc/extend.texi: Fix '#pragma GCC option' typo.
3086
3087 2009-01-02  Richard Guenther  <rguenther@suse.de>
3088
3089         * doc/install.texi (--enable-checking): Mention different
3090         default for stage1.
3091         (--enable-stage1-checking): Document.
3092
3093 2009-01-01  Andrew Pinski  <pinskia@gmail.com>
3094
3095         PR middle-end/30142
3096         * tree-cfg.c (verify_expr): Add INDIRECT_REF case.  Change MODIFY_EXPR
3097         case to be an error.
3098
3099 2009-01-02  Ben Elliston  <bje@au.ibm.com>
3100
3101         * config/fp-bit.h (pack_d): Constify argument.
3102         * config/fp-bit.c (makenan): Constify return type. Remove casts.
3103         (isnan): Constify argument.
3104         (isinf): Likewise.
3105         (iszero): Likewise.
3106         (pack_d): Likewise.
3107         (_fpadd_parts): Constify return type.
3108         (_fpmul_parts): Likewise.
3109         (_fpdiv_parts): Likewise.
3110
3111 2009-01-01  Jakub Jelinek  <jakub@redhat.com>
3112
3113         PR c/36489
3114         * c-typeck.c (add_pending_init): Add IMPLICIT argument.  Only
3115         warn about overwriting initializer with side-effects or
3116         -Woverride-init if !IMPLICIT.
3117         (output_init_element): Likewise.  Pass IMPLICIT down to
3118         add_pending_init.
3119         (process_init_element): Add IMPLICIT argument.  Pass it down
3120         to output_init_element.
3121         (push_init_element, pop_init_level, set_designator): Adjust
3122         process_init_element callers.
3123         (set_nonincremental_init, set_nonincremental_init_from_string):
3124         Adjust add_pending_init callers.
3125         (output_pending_init_elements): Adjust output_init_element callers.
3126         * c-tree.h (process_init_element): Adjust prototype.
3127         * c-parser.c (c_parser_initelt, c_parser_initval): Adjust
3128         process_init_element callers.