OSDN Git Service

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