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