1 2009-08-31 Chris Demetriou <cgd@google.com>
3 * config/i386/i386.c (ix86_vectorize_builtin_conversion): Never
4 vectorize if not TARGET_SSE2.
6 2009-08-31 Gerald Pfeifer <gerald@pfeifer.com>
8 * doc/install.texi (Final install): Adjust reference on where to
11 2009-08-29 Kai Tietz<kai.tietz@onevision.com>
14 * config/i386.c (ix86_expand_epilogue): Correct stack adjustment for
17 2009-08-28 Jan Beulich <jbeulich@novell.com>
19 * config/i386/netware.c: Include langhooks.h.
20 (i386_nlm_encode_section_info): Simplify.
21 (netware_override_options): Delete.
22 * config/i386/netware.h (netware_override_options): Delete
24 (OVERRIDE_OPTIONS): Delete definition.
25 (SUBTARGET_OVERRIDE_OPTIONS): Define.
26 (ASM_COMMENT_START): Define.
27 * config/i386/nwld.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Define.
29 2009-08-28 Uros Bizjak <ubizjak@gmail.com>
31 Backport from mainline:
32 2009-08-26 Uros Bizjak <ubizjak@gmail.com>
34 * config/alpha/sync.md: Update comment about unpredictable LL/SC lock
35 clearing by a taken branch.
36 (sync_<fetchop_name><mode>): Split when epilogue_completed is set,
37 effectively after bbro pass.
38 (sync_nand<mode>): Ditto.
39 (sync_old_<fetchop_name><mode>): Ditto.
40 (sync_old_nand<mode>): Ditto.
41 (sync_new_<fetchop_name><mode>): Dito.
42 (sync_new_nand<mode>): Ditto.
43 (sync_compare_and_swap<mode>_1): Ditto.
44 (*sync_compare_and_swap<mode>): Ditto.
45 (sync_lock_test_and_set<mode>_1): Ditto.
46 ("sync_lock_test_and_set<mode>): Ditto.
48 2009-08-25 Uros Bizjak <ubizjak@gmail.com>
50 * config/alpha/alpha.md (*cmpdf_ieee_ext[123]): Remove.
51 (*cmpdf_internal): Enable for all ALPHA_FPTM levels.
52 (*movdfcc_ext[1234]): Disable for IEEE mode.
54 2009-08-16 Uros Bizjak <ubizjak@gmail.com>
56 * config/alpha/alpha.c (alpha_end_function): Handle NULL_RTX returned
57 from prev_active_insn.
59 2009-08-27 Gerald Pfeifer <gerald@pfeifer.com>
61 * doc/service.texi (service directory): Update URL.
63 2009-08-26 Anatoly Sokolov <aesok@post.ru>
65 * doc/invoke.texi (AVR Options): Remove documentation of -minit-stack
68 2009-08-25 Anatoly Sokolov <aesok@post.ru>
71 * config/avr/avr.c (expand_epilogue): Use correct QI mode frame
72 pointer for tiny stack.
74 2009-08-24 Richard Guenther <rguenther@suse.de>
77 * builtins.c (fold_builtin_pow): Fold pow(pow(x,y),z) to
78 pow(x,y*z) only if x is nonnegative.
80 2009-08-23 Uros Bizjak <ubizjak@gmail.com>
83 * config/i386/i386.c (*call_pop_1): Disable for sibling calls.
84 (*call_value_pop_1): Ditto.
85 (*sibcall_pop_1): New insn pattern.
86 (*sibcall_value_pop_1): Ditto.
88 2009-08-20 Andreas Krebbel <krebbel1@de.ibm.com>
90 * config/s390/s390.c (Z10_PREDICT_DISTANCE): New macro.
91 (s390_z10_fix_long_loop_prediction): New function.
92 (s390_z10_optimize_cmp): INSN walk moved to callee - s390_reorg.
93 (s390_reorg): Walk over the INSNs and invoke
94 s390_z10_fix_long_loop_prediction and s390_z10_optimize_cmp.
96 2009-08-19 Jakub Jelinek <jakub@redhat.com>
99 * expr.c (expand_expr_real_1) <normal_inner_ref>: Handle all kinds
100 of CONCAT, not just bitpos 0 bitsize size of the whole CONCAT.
102 2009-08-18 Jakub Jelinek <jakub@redhat.com>
105 * config/rs6000/rs6000.c (rs6000_legitimize_address): For
106 [DT][FDI]mode ensure the offset isn't 4/8/12 bytes below 0x8000.
108 2009-08-16 Uros Bizjak <ubizjak@gmail.com>
110 Backport from mainline:
111 2009-08-14 Uros Bizjak <ubizjak@gmail.com>
114 * config/i386/sse.md (SSEMODE124C8): New mode iterator.
115 (vcond<SSEMODEF2P:mode>): Assert that operation is supported by
116 ix86_expand_fp_vcond.
117 (vcond<SSEMODE124C8:mode>): Use SSEMODE124C8 instead of SSEMODE124.
118 Assert that operation is supported by ix86_expand_int_vcond.
119 (vcondu<SSEMODE124C8:mode>): Ditto.
121 2009-08-16 Dodji Seketeli <dodji@redhat.com>
124 * gcc/dwarf2out.c (gen_inlined_subroutine_die): Concentrate on
125 generating inlined subroutine die only. We shouldn't be
126 called for anything else.
127 (gen_block_die): Don't generate inline subroutine debug info for
130 2009-08-13 Uros Bizjak <ubizjak@gmail.com>
132 Backport from mainline:
133 2009-08-11 Uros Bizjak <ubizjak@gmail.com>
136 * config/alpha/alpha.md (addsi3): Remove expander.
137 (addsi3): Rename from *addsi3_internal insn pattern.
138 (subsi3): Remove expander.
139 (subsi3): Rename from *subsi3_internal insn pattern.
141 2009-08-13 Andrey Belevantsev <abel@ispras.ru>
143 PR rtl-optimization/41033
144 * alias.c (nonoverlapping_component_refs_p): Punt when strict
145 aliasing is disabled.
147 2009-08-11 SUGIOKA Toshinobu <sugioka@itonet.co.jp>
149 Backport from mainline:
150 2009-08-10 SUGIOKA Toshinobu <sugioka@itonet.co.jp>
153 * longlong.h [__sh__] (udiv_qrnnd): Add T register to clobber list.
154 (sub_ddmmss): Likewise.
156 2009-08-10 Andreas Tobler <a.tobler@schweiz.org>
159 * config/rs6000/freebsd.h: Define SVR4_ASM_SPEC. Adjust copyright
162 2009-08-09 Richard Guenther <rguenther@suse.de>
164 PR tree-optimization/41016
165 * tree-ssa-ifcombine.c (get_name_for_bit_test): Fix tuplification bug.
166 (operand_precision): Remove.
167 (integral_operand_p): Likewise.
168 (recognize_single_bit_test): Adjust.
170 2009-08-05 Uros Bizjak <ubizjak@gmail.com>
171 Mikulas Patocka <mikulas@artax.karlin.mff.cuni.cz>
174 * config/i386/i386.c (ix86_split_long_move): Fix push of multi-part
177 2009-08-05 Richard Earnshaw <rearnsha@arm.com>
179 * arm.md (movdi2): Copy non-reg values to DImode registers.
181 2009-08-05 Jakub Jelinek <jakub@redhat.com>
183 PR rtl-optimization/40924
184 * dse.c (canon_address): Before calling cselib_expand_value_rtx
185 make sure canon_rtx (mem_address) isn't simpler than
186 canon_rtx (expanded_mem_address).
188 2009-08-03 Janis Johnson <janis187@us.ibm.com>
191 * simplify-rtx.c (simplify_binary_operation_1): Disable
192 simplifications for decimal float operations.
194 2009-08-03 Jakub Jelinek <jakub@redhat.com>
197 * tree-ssa.c (warn_uninitialized_var): Even on LHS warn for
198 operand of INDIRECT_REF.
200 2009-08-03 Uros Bizjak <ubizjak@gmail.com>
202 * config/alpha/alpha.c (alpha_legitimate_constant_p): Reject CONST
203 constants referencing TLS symbols.
205 2009-07-30 Andreas Krebbel <krebbel1@de.ibm.com>
207 * config/s390/s390.c (override_options): Default
208 max-unrolled-insns to 100 for z10 tuning.
210 2009-07-30 Andreas Krebbel <krebbel1@de.ibm.com>
212 * config/s390/constraints.md (ZQ, ZR, ZS, ZT): New constraints.
213 (U, W): Constraints are now deprecated and will be removed if we
215 * config/s390/s390.md (U, W): Replaced with ZQZR, ZSZT throughout
217 ("prefetch"): Add the stcmh instruction for prefetching.
218 * config/s390/s390.c (s390_symref_operand_p): Function moved. No
220 (s390_short_displacement): Return always true if compiling for
221 machines not providing the long displacement facility.
222 (s390_mem_constraint): Support the new constraint letter Z.
223 (s390_check_qrst_address): New function.
225 2009-07-30 Uros Bizjak <ubizjak@gmail.com>
228 * config/alpha/alpha.c (alpha_expand_unaligned_store): Convert src
229 to DImode when generating insq_le insn.
231 2009-07-20 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
233 Backport from mainline:
234 2009-07-20 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
236 * pa.c (compute_zdepwi_operands): Limit deposit length to 32 - lsb.
237 Cast "1" to unsigned HOST_WIDE_INT.
238 (compute_zdepdi_operands): Limit maximum length to 64 bits. Limit
239 deposit length to the maximum length - lsb. Extend length if
240 HOST_BITS_PER_WIDE_INT is 32.
242 2009-07-25 Mark Loeser <mark@halcy0n.com>
245 * Makefile.in (gcc.pod): Depend on gcc-vers.texi.
247 2009-07-23 Uros Bizjak <ubizjak@gmail.com>
250 * config/i386/i386.c (output_387_ffreep): Rewrite to use
251 ASM_SHORT instead of .word.
252 * config/i386/i386.md (*tls_global_dynamic_64): Use ASM_SHORT
253 instead of .word in asm template.
255 2009-07-22 Kaz Kojima <kkojima@gcc.gnu.org>
257 Backport from mainline:
258 2009-07-15 Eric Botcazou <ebotcazou@adacore.com>
260 PR rtl-optimization/40710
261 * resource.c (mark_target_live_regs): Reset DF problem to LR.
263 2009-07-22 Richard Guenther <rguenther@suse.de>
265 PR tree-optimization/40321
266 * tree-ssa-pre.c (add_to_exp_gen): Also add names defined by
267 PHI nodes to the maximal set.
268 (make_values_for_phi): Add PHI arguments to the maximal set.
269 (execute_pre): Dump PHI_GEN and the maximal set.
271 2009-07-22 Jakub Jelinek <jakub@redhat.com>
273 * BASE-VER: Set to 4.4.2.
274 * DEV-PHASE: Set to prerelease.
276 2009-07-22 Release Manager
278 * GCC 4.4.1 released.
280 2009-07-21 Jakub Jelinek <jakub@redhat.com>
282 PR tree-optimization/40813
283 * tree-inline.c (copy_bb): Regimplify RHS after last stmt, not before
286 2009-07-21 Uros Bizjak <ubizjak@gmail.com>
288 Backport from mainline:
289 2009-04-29 Richard Guenther <rguenther@suse.de>
292 * config/i386/i386.c (ix86_vectorize_builtin_conversion): Only
293 allow conversion to signed integers.
295 2009-07-20 Jakub Jelinek <jakub@redhat.com>
297 PR tree-optimization/40792
298 * tree.c (build_function_type_skip_args): Remove bogus assert.
300 2009-07-17 Jakub Jelinek <jakub@redhat.com>
303 * gimplify.c (gimplify_conversion): Don't change non-conversions into
306 2009-07-15 Jakub Jelinek <jakub@redhat.com>
309 * fold-const.c (fold_cond_expr_with_comparison): When folding
310 < and <= to MIN, make sure the MIN uses the same type as the
311 comparison's operands.
313 2009-07-12 Kai Tietz <kai.tietz@onevision.com>
315 * config/i386/cygming.h (TARGET_OS_CPP_BUILTINS): Define _X86_
316 just for 32-bit case.
318 2009-07-11 Jakub Jelinek <jakub@redhat.com>
320 PR rtl-optimization/40667
321 * defaults.h (MINIMUM_ALIGNMENT): Define if not defined.
322 * doc/tm.texi (MINIMUM_ALIGNMENT): Document it.
323 * config/i386/i386.h (MINIMUM_ALIGNMENT): Define.
324 * config/i386/i386.c (ix86_minimum_alignment): New function.
325 * config/i386/i386-protos.h (ix86_minimum_alignment): New prototype.
326 * cfgexpand.c (expand_one_var): Use MINIMIM_ALIGNMENT.
327 * emit-rtl.c (gen_reg_rtx): Likewise.
328 * function.c (assign_parms): Likewise. If nominal_type needs
329 bigger alignment than FUNCTION_ARG_BOUNDARY, use its alignment
330 rather than passed_type's alignment.
333 * function.c (assign_parm_setup_stack): Adjust
334 MEM_OFFSET (data->stack_parm) if promoted_mode is different
335 from nominal_mode on big endian.
337 2009-07-08 Richard Henderson <rth@redhat.com>
340 * config/i386/i386.h (CONDITIONAL_REGISTER_USAGE): Move to i386.c.
341 (enum reg_class): Add CLOBBERED_REGS.
342 (REG_CLASS_NAMES, REG_CLASS_CONTENTS): Likewise.
343 * config/i386/i386.c (ix86_conditional_register_usage): Moved
344 from CONDITIONAL_REGISTER_USAGE; build CLOBBERED_REGS for 64-bit.
345 (ix86_function_ok_for_sibcall): Tidy. Disallow MS->SYSV sibcalls.
346 (ix86_expand_call): Use sibcall_insn_operand when needed. Don't
347 force 64-bit sibcalls into R11.
348 * config/i386/constraints.md (U): New constraint.
349 * config/i386/i386.md (sibcall_1, sibcall_value_1): Use it.
350 (sibcall_1_rex64, sibcall_value_1_rex64): Likewise.
351 (sibcall_1_rex64_v, sibcall_value_1_rex64_v): Remove.
353 2009-07-07 Eric Botcazou <ebotcazou@adacore.com>
356 * dbxout.c (dbxout_symbol) <PARM_DECL>: Deal with parameters pointing
357 to variables for debugging purposes.
359 2009-07-07 Jakub Jelinek <jakub@redhat.com>
362 * tree-tailcall.c (adjust_return_value_with_ops,
363 create_tailcall_accumulator): Set DECL_GIMPLE_REG_P on the temporary
364 if it has complex or vector type.
366 Backport from mainline:
367 2009-06-03 Richard Guenther <rguenther@suse.de>
370 * fold-const.c (fold_convert): Fold the build COMPLEX_EXPR.
372 2009-07-03 Vladimir Makarov <vmakarov@redhat.com>
375 * ira.c (build_insn_chain): Use DF_LR_OUT instead of
378 2009-07-02 Richard Guenther <rguenther@suse.de>
381 * tree-cfg.c (gimple_can_duplicate_bb_p): Disallow duplicating
382 basic blocks with GIMPLE_RESX.
384 2009-07-01 Martin Jambor <mjambor@suse.cz>
386 Backport from mainline:
387 2009-05-11 Martin Jambor <mjambor@suse.cz>
389 * ipa-cp.c (ipcp_cloning_candidate_p): Add missing return false.
391 2009-06-30 Jakub Jelinek <jakub@redhat.com>
394 * convert.c (convert_to_integer) <case COND_EXPR>: Don't convert
395 to type arguments that have void type.
397 2009-06-30 Ira Rosen <irar@il.ibm.com>
399 PR tree-optimization/40542
400 * tree-vect-analyze.c (vect_determine_vectorization_factor): Don't
401 vectorize volatile types.
403 2009-06-29 Janis Johnson <janis187@us.ibm.com>
406 * tree.c (real_zerop, real_onep, real_twop, real_minus_onep):
407 Special-case decimal float constants.
409 2009-06-29 Uros Bizjak <ubizjak@gmail.com>
411 * doc/extend.texi (Additional Floating Types): __float128 is also
412 supported on i386 targets.
414 2009-06-29 Richard Guenther <rguenther@suse.de>
416 PR tree-optimization/40579
417 * tree-vrp.c (vrp_evaluate_conditional): Bail out early if
418 the IL to simplify has constants that overflowed.
420 2009-06-28 Uros Bizjak <ubizjak@gmail.com>
422 PR tree-optimization/40550
423 * tree-vect-generic.c (expand_vector_operations_1): Compute in
424 vector_compute_type only when the size of vector_compute_type is
425 less than the size of type.
427 2009-06-27 Kai Tietz <kai.tietz@onevision.com>
429 Merged from trunk rev/148061
430 2009-06-01 Jakub Jelinek <jakub@redhat.com>
432 * emutls.c (__emutls_get_address): Change arr->size to mean number
433 of allocated arr->data entries instead of # of slots + 1.
435 2009-06-22 Steven Bosscher <steven@gcc.gnu.org>
436 Matthias Klose <doko@ubuntu.com>
439 * c-parser.c (c_parser_objc_message_args): Return error_mark_node
440 instead of NULL if a parser error occurs.
442 2009-06-18 H.J. Lu <hongjiu.lu@intel.com>
444 Backport from mainline:
445 2009-06-18 H.J. Lu <hongjiu.lu@intel.com>
448 * config/i386/i386.h (CLASS_LIKELY_SPILLED_P): Add SSE_FIRST_REG.
450 2009-06-17 Richard Guenther <rguenther@suse.de>
453 * tree-chrec.h (build_polynomial_chrec): If we cannot determine
454 if there is no evolution of left in the loop bail out.
455 * tree-chrec.c (chrec_fold_multiply_poly_poly): CSE one
458 2009-06-17 Richard Guenther <rguenther@suse.de>
461 * tree-ssa-operands.c (parse_ssa_operands): Add NRV results
462 to the addresses taken bitmap.
464 2009-06-16 Jakub Jelinek <jakub@redhat.com>
467 * expr.c (expand_expr_real_1) <case VIEW_CONVERT_EXPR>: Don't
468 use gen_lowpart if op0 has complex mode.
470 2009-06-14 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
472 * config/s390/s390.md ("bswap<mode>2"): Only available on z900.
474 2009-06-11 H.J. Lu <hongjiu.lu@intel.com>
476 Backport from mainline:
477 2009-06-10 H.J. Lu <hongjiu.lu@intel.com>
479 * doc/extend.texi: Add description for __builtin_ia32_crc32di.
481 2009-06-05 Jakub Jelinek <jakub@redhat.com>
484 * tree-ssa-live.c (remove_unused_scope_block_p): Don't prune
485 inlined_function_outer_scope_p blocks for artificial inlines
487 * tree.c (tree_nonartificial_location): Rewrite using
488 block_nonartificial_location.
490 2009-06-03 Jakub Jelinek <jakub@redhat.com>
492 * dwarf2out.c (output_cfi_directive): Pass 1 instead of
493 0 to second argument of DWARF2_FRAME_REG_OUT macros.
495 2009-06-02 Kaz Kojima <kkojima@gcc.gnu.org>
497 Backport from mainline:
498 2009-05-31 Kaz Kojima <kkojima@gcc.gnu.org>
500 * config/sh/sh.md (ashldi3_std): New define_expand.
503 2009-06-02 Jakub Jelinek <jakub@redhat.com>
505 * dwarf2out.c (dwarf2out_cfi_label): Add FORCE argument, if true,
506 force output of the label even for dwarf2out_do_cfi_asm.
507 (add_fde_cfi): If -g2 and above and cfi might change CFA,
508 force creation of CFI label and chain DW_CFA_set_loc jumping to it
509 for convert_cfa_to_fb_loc_list. Adjust other dwarf2out_cfi_label
511 (dwarf2out_stack_adjust, dwarf2out_frame_debug): Adjust
512 dwarf2out_cfi_label callers.
513 * tree.h (dwarf2out_cfi_label): Adjust prototype.
514 * config/arm/arm.c (thumb_pushpop, thumb1_output_function_prologue):
515 Adjust dwarf2out_cfi_label callers.
516 * config/vax/vax.c (vax_output_function_prologue): Likewise.
518 2009-05-29 Jakub Jelinek <jakub@redhat.com>
521 * builtins.c (expand_builtin_memcmp): Convert len to sizetype
525 * config/rs6000/rs6000-c.c (_Bool_keyword): New variable.
526 (altivec_categorize_keyword, init_vector_keywords,
527 rs6000_cpu_cpp_builtins): Define _Bool as conditional macro
530 2009-05-28 Alexandre Oliva <aoliva@redhat.com>
532 * tree-inline.c (remap_decls): Enable nonlocalized variables
535 2009-05-28 Alexandre Oliva <aoliva@redhat.com>
537 * tree-ssa-live.c (remove_unused_locals): Skip when not optimizing.
538 Simplify other tests involving optimize.
540 2009-05-27 H.J. Lu <hongjiu.lu@intel.com>
542 Backport from mainline:
543 2009-05-27 H.J. Lu <hongjiu.lu@intel.com>
546 * config/i386/driver-i386.c (host_detect_local_cpu): Support
547 AVX, SSE4, AES, PCLMUL and POPCNT.
549 2009-05-25 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
552 * config/i386/i386.c (USE_HIDDEN_LINKONCE): Only define if missing.
553 * config/i386/sol2.h [!TARGET_GNU_LD] (USE_HIDDEN_LINKONCE): Define.
555 2009-05-24 Kaz Kojima <kkojima@gcc.gnu.org>
557 * gcc/config/sh/sh.c (sh_set_return_address): Mark store of
558 return address with a USE.
560 2009-05-23 Eric Botcazou <ebotcazou@adacore.com>
562 * doc/passes.texi: Standardize spelling of RTL, Tree and Tree SSA.
563 Remove outdated reference to flow.c and fix nits.
564 * doc/gccint.texi: Tweak RTL description.
565 * doc/rtl.texi: Likewise.
567 2009-05-22 Zdenek Dvorak <ook@ucw.cz>
569 PR tree-optimization/40087
570 * tree-ssa-loop-niter.c (number_of_iterations_ne_max,
571 number_of_iterations_ne): Rename never_infinite argument.
572 (number_of_iterations_lt_to_ne, number_of_iterations_lt,
573 number_of_iterations_le): Handle pointer-type ivs when
574 exit_must_be_taken is false.
575 (number_of_iterations_cond): Do not always assume that
576 exit_must_be_taken if the control variable is a pointer.
578 2009-05-22 Vladimir Makarov <vmakarov@redhat.com>
581 * reg-stack.c (subst_stack_regs_pat): Remove gcc_assert for note
584 2009-05-21 Kaz Kojima <kkojima@gcc.gnu.org>
586 PR rtl-optimization/40105
587 Backport from mainline:
589 2009-04-29 Eric Botcazou <ebotcazou@adacore.com>
590 Steven Bosscher <steven@gcc.gnu.org>
592 * Makefile.in (cfgrtl.o): Add $(INSN_ATTR_H).
593 * cfgrtl.c: Include insn-attr.h.
594 (rest_of_pass_free_cfg): New function.
595 (pass_free_cfg): Use rest_of_pass_free_cfg as execute function.
597 2009-04-27 Richard Sandiford <rdsandiford@googlemail.com>
598 Eric Botcazou <ebotcazou@adacore.com>
600 * resource.c (find_basic_block): Use BLOCK_FOR_INSN to look up
601 a label's basic block.
602 (mark_target_live_regs): Tidy and rework obsolete comments.
603 Change back DF problem to LIVE. If a label starts a basic block,
604 assume that all registers that used to be live then still are.
605 (init_resource_info): If a label starts a basic block, set its
606 BLOCK_FOR_INSN accordingly.
607 (free_resource_info): Undo the setting of BLOCK_FOR_INSN.
609 2009-05-21 Jakub Jelinek <jakub@redhat.com>
612 * config/i386/x86-64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Don't emit second
613 .p2align 3 if MAX_SKIP is smaller than 7.
614 * config/i386/linux.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Likewise.
616 2009-05-20 Jakub Jelinek <jakub@redhat.com>
619 * fold-const.c (fold_binary) <case BIT_AND_EXPR>: Avoid infinite
620 recursion if build_int_cst_type returns the same INTEGER_CST as
623 2009-05-19 Richard Guenther <rguenther@suse.de>
625 * tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Do
626 not falsely claim to have propagated into all uses.
628 2009-05-18 Dodji Seketeli <dodji@redhat.com>
631 * dwarf2out.c (gen_type_die_with_usage): Generate the DIE as a
632 child of the containing namespace's DIE.
634 2009-05-18 Richard Guenther <rguenther@suse.de>
636 PR tree-optimization/39999
637 * gimple.h (gimple_expr_type): Use the expression type looking
638 through useless conversions.
639 * tree-ssa-sccvn.c (vn_nary_op_lookup_stmt): Use gimple_expr_type.
640 (vn_nary_op_insert_stmt): Likewise.
641 (simplify_binary_expression): Likewise.
643 2009-05-16 Richard Earnshaw <rearnsha@arm.com>
646 * arm.md (cstoresi_nltu_thumb1): Use a neg of ltu as the pattern name
649 2009-05-14 H.J. Lu <hongjiu.lu@intel.com>
651 Backport from mainline:
652 2009-05-14 H.J. Lu <hongjiu.lu@intel.com>
655 * ipa-utils.h (memory_identifier_string): Moved to ...
656 * tree.h (memory_identifier_string): Here. Add GTY(()).
658 2009-05-14 Ben Elliston <bje@au.ibm.com>
660 Backport from mainline:
661 2009-05-14 Jakub Jelinek <jakub@redhat.com>
662 Ben Elliston <bje@au.ibm.com>
665 * dse.c (check_mem_read_rtx): Guard against width == -1.
667 2009-05-13 Uros Bizjak <ubizjak@gmail.com>
670 * config/i386/driver-i386.c (processor_signatures): New enum.
671 (SIG_GEODE): Move from vendor_signatures to processor_signatures.
672 (host_detect_local_cpu): For SIG_AMD vendor, check for SIG_GEODE
673 processor signature to detect geode processor.
675 2009-05-12 Jakub Jelinek <jakub@redhat.com>
677 Backport from mainline:
678 2009-05-05 Jakub Jelinek <jakub@redhat.com>
681 * gimplify.c (gimplify_switch_expr): If case labels cover the whole
682 range of the type, but default label is missing, add it with one
683 of the existing labels instead of adding a new label for it.
685 2009-05-11 H.J. Lu <hongjiu.lu@intel.com>
687 Backport from mainline:
688 2009-05-11 H.J. Lu <hongjiu.lu@intel.com>
690 * tree-vect-analyze.c (vect_analyze_group_access): Use
691 HOST_WIDE_INT for gap.
693 2009-05-11 Ira Rosen <irar@il.ibm.com>
695 PR tree-optimization/40074
696 * tree-vect-analyze.c (vect_analyze_group_access): Take gaps into
697 account in group size and step comparison.
699 2009-05-08 Richard Guenther <rguenther@suse.de>
701 PR tree-optimization/40062
702 * tree-scalar-evolution.c (follow_ssa_edge_in_condition_phi):
703 Avoid exponential behavior.
705 2009-05-07 Janis Johnson <janis187@us.ibm.com>
708 * dfp.c (encode_decimal32, decode_decimal32, encode_decimal64,
709 decode_decimal64, encode_decimal128, decode_decimal128): Avoid
710 32-bit memcpy into long.
712 2009-05-07 Jakub Jelinek <jakub@redhat.com>
715 * dojump.c (prefer_and_bit_test): Use immed_double_const instead of
716 GEN_INT for 1 << bitnum.
717 (do_jump) <case BIT_AND_EXPR>: Use build_int_cst_wide_type instead of
720 2009-05-07 Uros Bizjak <ubizjak@gmail.com>
722 * doc/md.texi (Standard Pattern Names For Generation) [sync_nand]:
723 Remove wrong description of "nand" operation.
725 2009-05-06 H.J. Lu <hongjiu.lu@intel.com>
727 Backport from mainline:
728 2009-05-06 H.J. Lu <hongjiu.lu@intel.com>
730 * config/i386/i386.md (*avx_<code><mode>3_finite): Replace
731 ssemodesuffixf2c with avxmodesuffixf2c.
733 2009-05-06 Richard Guenther <rguenther@suse.de>
735 PR tree-optimization/40022
736 * tree-ssa-phiprop.c (phivn_valid_p): Fix tuplification error.
738 2009-05-04 DJ Delorie <dj@redhat.com>
740 * config/m32c/m32c.c (m32c_override_options): Disable -fivopts for
741 -mcpu=m32c until ivopts supports sizeof(ptr) != sizeof(size_t).
742 (m32c_legitimize_reload_address): Work around reload bug until
743 reload supports sizeof(ptr) != sizeof(size_t).
745 2009-05-03 Uros Bizjak <ubizjak@gmail.com>
747 Backport from mainline:
748 2009-04-28 Uros Bizjak <ubizjak@gmail.com>
750 PR rtl-optimization/39914
751 * ira-conflicts.c (ira_build_conflicts): Prohibit call used
752 registers for allocnos created from user-defined variables only
755 2009-04-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
757 * toplev.c (print_version): Update GMP version string calculation.
759 2009-04-28 H.J. Lu <hongjiu.lu@intel.com>
761 Backport from mainline:
762 2009-04-27 H.J. Lu <hongjiu.lu@intel.com>
765 * config/i386/i386.c (construct_container): Don't call
766 gen_reg_or_parallel with BLKmode on X86_64_SSE_CLASS,
767 X86_64_SSESF_CLASS and X86_64_SSEDF_CLASS.
769 2009-04-27 Jakub Jelinek <jakub@redhat.com>
771 PR rtl-optimization/39794
772 * alias.c (canon_true_dependence): Add x_addr argument.
773 * rtl.h (canon_true_dependence): Adjust prototype.
774 * cse.c (check_dependence): Adjust canon_true_dependence callers.
775 * cselib.c (cselib_invalidate_mem): Likewise.
776 * gcse.c (compute_transp): Likewise.
777 * dse.c (scan_reads_nospill): Likewise.
778 (record_store, check_mem_read_rtx): Likewise. For non-const-or-frame
779 addresses pass base->val_rtx as mem_addr, for const-or-frame addresses
780 canon_base_addr of the group, plus optional offset.
781 (struct group_info): Rename canon_base_mem to
783 (get_group_info): Set canon_base_addr to canon_rtx of base, not
784 canon_rtx of base_mem.
786 2009-04-26 Jakub Jelinek <jakub@redhat.com>
789 * fwprop.c (forward_propagate_asm): New function.
790 (forward_propagate_and_simplify): Propagate also into __asm, if it
791 doesn't increase the number of referenced registers.
794 * stmt.c (warn_if_unused_value): Look through NON_LVALUE_EXPR.
796 2009-04-24 Andreas Krebbel <krebbel1@de.ibm.com>
798 * config/s390/constraints.md ('I', 'J'): Fix condition.
800 2009-04-24 Paolo Bonzini <bonzini@gnu.org>
803 * fold-const.c (fold_cond_expr_with_comparison): When folding
804 > and >= to MAX, make sure the MAX uses the same type as the
805 comparison's operands.
807 2009-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
809 * config/spu/spu-builtins.h: Delete file.
811 * config/spu/spu.h (enum spu_builtin_type): Move here from
813 (struct spu_builtin_description): Likewise. Add GTY marker.
814 Do not use enum spu_function_code or enum insn_code.
815 (spu_builtins): Add extern declaration.
817 * config/spu/spu.c: Do not include "spu-builtins.h".
818 (enum spu_function_code, enum spu_builtin_type_index,
819 V16QI_type_node, V8HI_type_node, V4SI_type_node, V2DI_type_node,
820 V4SF_type_node, V2DF_type_node, unsigned_V16QI_type_node,
821 unsigned_V8HI_type_node, unsigned_V4SI_type_node,
822 unsigned_V2DI_type_node): Move here from spu-builtins.h.
823 (spu_builtin_types): Make static. Add GTY marker.
824 (spu_builtins): Add extern declaration with GTY marker.
827 * config/spu/spu-c.c: Do not include "spu-builtins.h".
828 (spu_resolve_overloaded_builtin): Do not use spu_function_code.
829 Check programmatically whether all parameters are scalar.
831 * config/spu/t-spu-elf (spu.o, spu-c.o): Update dependencies.
833 2009-04-22 Jing Yu <jingyu@google.com>
836 * config/arm/arm.h: Define HANDLE_PRAGMA_PACK_PUSH_POP.
838 2009-04-22 Eric Botcazou <ebotcazou@adacore.com>
840 Backport from mainline:
841 2009-04-17 Eric Botcazou <ebotcazou@adacore.com>
842 * dbxout.c (dbxout_block): Reinstate test on TREE_USED.
843 * tree-ssa-live.c (remove_unused_scope_block_p): Update TREE_USED bit.
845 2009-04-22 Jakub Jelinek <jakub@redhat.com>
847 * alias.c (find_base_term): Move around LO_SUM case, so that
848 CONST falls through into PLUS/MINUS handling.
851 * fold-const.c (fold_binary) <case LSHIFT_EXPR>: When optimizing
852 into 0, use omit_one_operand.
854 2009-04-22 Vladimir Makarov <vmakarov@redhat.com>
856 PR rtl-optimization/39762
857 * ira-int.h (ira_register_move_cost, ira_may_move_in_cost,
858 ira_may_move_out_cost): Add comments about way of their usage.
859 (ira_get_register_move_cost, ira_get_may_move_cost): New functions.
861 * ira-conflicts.c (process_regs_for_copy): Use function
862 ira_get_register_move_cost instead of global
863 ira_register_move_cost.
865 * ira-color.c (update_copy_costs, calculate_allocno_spill_cost,
866 color_pass, move_spill_restore, update_curr_costs): Ditto.
868 * ira-lives.c (process_single_reg_class_operands): Ditto.
870 * ira-emit.c (emit_move_list): Ditto.
872 * ira-costs.c (copy_cost): Don't call ira_init_register_move_cost.
873 (record_reg_classes): Ditto. Use functions
874 ira_get_register_move_cost and ira_get_may_move_cost instead of
875 global vars ira_register_move_cost, ira_may_move_out_cost and
876 ira_may_move_in_cost.
877 (record_address_regs): Don't call ira_init_register_move_cost.
878 Use function ira_get_may_move_cost instead of global
879 ira_may_move_in_cost.
880 (process_bb_node_for_hard_reg_moves): Use function
881 ira_get_register_move_cost instead of global ira_register_move_cost.
882 (ira_costs): Don't call ira_init_register_move_cost.
884 2009-04-22 Richard Guenther <rguenther@suse.de>
886 PR tree-optimization/39824
887 * tree-ssa-ccp.c (fold_const_aggregate_ref): For INDIRECT_REFs
888 make sure the types are compatible.
890 2009-04-21 Jakub Jelinek <jakub@redhat.com>
892 * BASE-VER: Set to 4.4.1.
893 * DEV-PHASE: Set to prerelease.
895 2009-04-21 Release Manager
897 * GCC 4.4.0 released.
899 2009-04-20 Anatoly Sokolov <aesok@post.ru>
901 * config/avr/avr.md (*rotlsi3_8, *rotlsi3_16, *rotlsi3_24 ): Check
902 whether operands 0 and 1 overlaps.
904 2009-04-20 Ira Rosen <irar@il.ibm.com>
906 PR tree-optimization/39675
907 * tree-vect-transform.c (vect_transform_loop): Remove currently
908 redundant check of the return code of vect_schedule_slp. Check that
909 stmt_vec_info still exists for the statement, before checking its
912 2009-04-17 Aurelien Jarno <aurelien@aurel32.net>
914 * config.gcc: Add soft-fp/t-softfp and i386/t-linux to tmake_file
915 for i[34567]86-*-kfreebsd*-gnu*, x86_64-*-kfreebsd*-gnu*.
917 2009-04-16 Kaz Kojima <kkojima@gcc.gnu.org>
919 Backport from mainline:
921 * config/sh/predicates.md (arith_operand): Check if the operand
922 of TRUNCATE is a REG.
924 2009-04-15 Richard Guenther <rguenther@suse.de>
926 Backport from mainline:
927 PR tree-optimization/39764
928 * tree-ssa-ccp.c (get_value): Canonicalize value with
929 canonicalize_float_value.
931 2009-04-14 H.J. Lu <hongjiu.lu@intel.com>
933 Backport from mainline:
934 2009-04-09 H.J. Lu <hongjiu.lu@intel.com>
937 * config/i386/i386.c (classify_argument): Handle SCmode with
938 (bit_offset % 64) != 0.
940 2009-04-14 Uros Bizjak <ubizjak@gmail.com>
942 Backport from mainline:
943 2009-04-12 Uros Bizjak <ubizjak@gmail.com>
946 * config/alpha/predicates.md (local_symbolic_operand): Return 1 for
947 offseted label references.
949 2009-04-11 Richard Guenther <rguenther@suse.de>
951 PR tree-optimization/39713
952 * tree-ssa-sccvn.c (vn_get_expr_for): Make sure built
953 reference trees have SSA_NAME operands.
955 2009-04-10 H.J. Lu <hongjiu.lu@intel.com>
957 Backport from mainline:
958 2009-04-10 H.J. Lu <hongjiu.lu@intel.com>
960 * config/rs6000/darwin-vecsave.asm: Remove extra "*/".
962 2009-04-09 Nick Clifton <nickc@redhat.com>
964 * unwind-compat.c: Change copyright header to refer to version
965 3 of the GNU General Public License with version 3.1 of the
966 GCC Runtime Library Exception and to point readers at the
967 COPYING3 and COPYING3.RUNTIME files and the FSF's license web
969 * config/alpha/crtfastmath.c: Likewise.
970 * config/alpha/linux-unwind.h: Likewise.
971 * config/alpha/qrnnd.asm: Likewise.
972 * config/alpha/vms-crt0-64.c: Likewise.
973 * config/alpha/vms-crt0.c: Likewise.
974 * config/alpha/vms-dwarf2.asm: Likewise.
975 * config/alpha/vms-dwarf2eh.asm: Likewise.
976 * config/alpha/vms-psxcrt0-64.c: Likewise.
977 * config/alpha/vms-psxcrt0.c: Likewise.
978 * config/alpha/vms_tramp.asm: Likewise.
979 * config/arc/initfini.c: Likewise.
980 * config/arc/lib1funcs.asm: Likewise.
981 * config/arm/bpabi-v6m.S: Likewise.
982 * config/arm/bpabi.S: Likewise.
983 * config/arm/bpabi.c: Likewise.
984 * config/arm/crti.asm: Likewise.
985 * config/arm/crtn.asm: Likewise.
986 * config/arm/ieee754-df.S: Likewise.
987 * config/arm/ieee754-sf.S: Likewise.
988 * config/arm/lib1funcs.asm: Likewise.
989 * config/arm/libunwind.S: Likewise.
990 * config/arm/linux-atomic.c: Likewise.
991 * config/arm/mmintrin.h: Likewise.
992 * config/arm/pr-support.c: Likewise.
993 * config/arm/unaligned-funcs.c: Likewise.
994 * config/arm/unwind-arm.c: Likewise.
995 * config/arm/unwind-arm.h: Likewise.
996 * config/avr/libgcc.S: Likewise.
997 * config/bfin/crti.s: Likewise.
998 * config/bfin/crtlibid.s: Likewise.
999 * config/bfin/crtn.s: Likewise.
1000 * config/bfin/lib1funcs.asm: Likewise.
1001 * config/bfin/linux-unwind.h: Likewise.
1002 * config/cris/arit.c: Likewise.
1003 * config/cris/cris_abi_symbol.c: Likewise.
1004 * config/darwin-64.c: Likewise.
1005 * config/darwin-crt2.c: Likewise.
1006 * config/darwin-crt3.c: Likewise.
1007 * config/darwin.h: Likewise.
1008 * config/dbxelf.h: Likewise.
1009 * config/dfp-bit.c: Likewise.
1010 * config/dfp-bit.h: Likewise.
1011 * config/elfos.h: Likewise.
1012 * config/fixed-bit.c: Likewise.
1013 * config/fixed-bit.h: Likewise.
1014 * config/fp-bit.c: Likewise.
1015 * config/fp-bit.h: Likewise.
1016 * config/fr30/crti.asm: Likewise.
1017 * config/fr30/crtn.asm: Likewise.
1018 * config/fr30/lib1funcs.asm: Likewise.
1019 * config/freebsd-spec.h: Likewise.
1020 * config/frv/cmovd.c: Likewise.
1021 * config/frv/cmovh.c: Likewise.
1022 * config/frv/cmovw.c: Likewise.
1023 * config/frv/frvbegin.c: Likewise.
1024 * config/frv/frvend.c: Likewise.
1025 * config/frv/lib1funcs.asm: Likewise.
1026 * config/h8300/clzhi2.c: Likewise.
1027 * config/h8300/crti.asm: Likewise.
1028 * config/h8300/crtn.asm: Likewise.
1029 * config/h8300/ctzhi2.c: Likewise.
1030 * config/h8300/fixunssfsi.c: Likewise.
1031 * config/h8300/lib1funcs.asm: Likewise.
1032 * config/h8300/parityhi2.c: Likewise.
1033 * config/h8300/popcounthi2.c: Likewise.
1034 * config/i386/ammintrin.h: Likewise.
1035 * config/i386/att.h: Likewise.
1036 * config/i386/avxintrin.h: Likewise.
1037 * config/i386/biarch64.h: Likewise.
1038 * config/i386/bmmintrin.h: Likewise.
1039 * config/i386/cpuid.h: Likewise.
1040 * config/i386/cross-stdarg.h: Likewise.
1041 * config/i386/crtfastmath.c: Likewise.
1042 * config/i386/crtprec.c: Likewise.
1043 * config/i386/cygming-crtbegin.c: Likewise.
1044 * config/i386/cygming-crtend.c: Likewise.
1045 * config/i386/cygwin.asm: Likewise.
1046 * config/i386/emmintrin.h: Likewise.
1047 * config/i386/gmm_malloc.h: Likewise.
1048 * config/i386/gthr-win32.c: Likewise.
1049 * config/i386/i386.h: Likewise.
1050 * config/i386/immintrin.h: Likewise.
1051 * config/i386/linux-unwind.h: Likewise.
1052 * config/i386/linux64.h: Likewise.
1053 * config/i386/mm3dnow.h: Likewise.
1054 * config/i386/mmintrin-common.h: Likewise.
1055 * config/i386/mmintrin.h: Likewise.
1056 * config/i386/nmmintrin.h: Likewise.
1057 * config/i386/pmm_malloc.h: Likewise.
1058 * config/i386/pmmintrin.h: Likewise.
1059 * config/i386/smmintrin.h: Likewise.
1060 * config/i386/sol2-c1.asm: Likewise.
1061 * config/i386/sol2-ci.asm: Likewise.
1062 * config/i386/sol2-cn.asm: Likewise.
1063 * config/i386/sol2-gc1.asm: Likewise.
1064 * config/i386/tmmintrin.h: Likewise.
1065 * config/i386/unix.h: Likewise.
1066 * config/i386/w32-unwind.h: Likewise.
1067 * config/i386/wmmintrin.h: Likewise.
1068 * config/i386/x86-64.h: Likewise.
1069 * config/i386/x86intrin.h: Likewise.
1070 * config/i386/xmmintrin.h: Likewise.
1071 * config/ia64/crtbegin.asm: Likewise.
1072 * config/ia64/crtend.asm: Likewise.
1073 * config/ia64/crtfastmath.c: Likewise.
1074 * config/ia64/crti.asm: Likewise.
1075 * config/ia64/crtn.asm: Likewise.
1076 * config/ia64/fde-glibc.c: Likewise.
1077 * config/ia64/lib1funcs.asm: Likewise.
1078 * config/ia64/linux-unwind.h: Likewise.
1079 * config/ia64/quadlib.c: Likewise.
1080 * config/ia64/unwind-ia64.c: Likewise.
1081 * config/linux.h: Likewise.
1082 * config/m32c/m32c-lib1.S: Likewise.
1083 * config/m32c/m32c-lib2.c: Likewise.
1084 * config/m32r/initfini.c: Likewise.
1085 * config/m68hc11/larith.asm: Likewise.
1086 * config/m68hc11/m68hc11-crt0.S: Likewise.
1087 * config/m68k/cf.md: Likewise.
1088 * config/m68k/crti.s: Likewise.
1089 * config/m68k/crtn.s: Likewise.
1090 * config/m68k/lb1sf68.asm: Likewise.
1091 * config/m68k/linux-unwind.h: Likewise.
1092 * config/mcore/crti.asm: Likewise.
1093 * config/mcore/crtn.asm: Likewise.
1094 * config/mcore/lib1.asm: Likewise.
1095 * config/mips/linux-unwind.h: Likewise.
1096 * config/mips/loongson.h: Likewise.
1097 * config/mips/mips16.S: Likewise.
1098 * config/mmix/crti.asm: Likewise.
1099 * config/mmix/crtn.asm: Likewise.
1100 * config/pa/fptr.c: Likewise.
1101 * config/pa/hpux-unwind.h: Likewise.
1102 * config/pa/lib2funcs.asm: Likewise.
1103 * config/pa/linux-atomic.c: Likewise.
1104 * config/pa/linux-unwind.h: Likewise.
1105 * config/pa/milli64.S: Likewise.
1106 * config/pa/quadlib.c: Likewise.
1107 * config/pa/stublib.c: Likewise.
1108 * config/picochip/libgccExtras/adddi3.asm: Likewise.
1109 * config/picochip/libgccExtras/ashlsi3.asm: Likewise.
1110 * config/picochip/libgccExtras/ashlsi3.c: Likewise.
1111 * config/picochip/libgccExtras/ashrsi3.asm: Likewise.
1112 * config/picochip/libgccExtras/ashrsi3.c: Likewise.
1113 * config/picochip/libgccExtras/cmpsi2.asm: Likewise.
1114 * config/picochip/libgccExtras/divmod15.asm: Likewise.
1115 * config/picochip/libgccExtras/divmodhi4.asm: Likewise.
1116 * config/picochip/libgccExtras/divmodsi4.asm: Likewise.
1117 * config/picochip/libgccExtras/longjmp.asm: Likewise.
1118 * config/picochip/libgccExtras/lshrsi3.asm: Likewise.
1119 * config/picochip/libgccExtras/lshrsi3.c: Likewise.
1120 * config/picochip/libgccExtras/parityhi2.asm: Likewise.
1121 * config/picochip/libgccExtras/popcounthi2.asm: Likewise.
1122 * config/picochip/libgccExtras/setjmp.asm: Likewise.
1123 * config/picochip/libgccExtras/subdi3.asm: Likewise.
1124 * config/picochip/libgccExtras/ucmpsi2.asm: Likewise.
1125 * config/picochip/libgccExtras/udivmodhi4.asm: Likewise.
1126 * config/picochip/libgccExtras/udivmodsi4.asm: Likewise.
1127 * config/rs6000/750cl.h: Likewise.
1128 * config/rs6000/altivec.h: Likewise.
1129 * config/rs6000/biarch64.h: Likewise.
1130 * config/rs6000/crtresfpr.asm: Likewise.
1131 * config/rs6000/crtresgpr.asm: Likewise.
1132 * config/rs6000/crtresxfpr.asm: Likewise.
1133 * config/rs6000/crtresxgpr.asm: Likewise.
1134 * config/rs6000/crtsavfpr.asm: Likewise.
1135 * config/rs6000/crtsavgpr.asm: Likewise.
1136 * config/rs6000/darwin-asm.h: Likewise.
1137 * config/rs6000/darwin-fallback.c: Likewise.
1138 * config/rs6000/darwin-fpsave.asm: Likewise.
1139 * config/rs6000/darwin-ldouble.c: Likewise.
1140 * config/rs6000/darwin-tramp.asm: Likewise.
1141 * config/rs6000/darwin-unwind.h: Likewise.
1142 * config/rs6000/darwin-vecsave.asm: Likewise.
1143 * config/rs6000/darwin-world.asm: Likewise.
1144 * config/rs6000/e500crtres32gpr.asm: Likewise.
1145 * config/rs6000/e500crtres64gpr.asm: Likewise.
1146 * config/rs6000/e500crtres64gprctr.asm: Likewise.
1147 * config/rs6000/e500crtrest32gpr.asm: Likewise.
1148 * config/rs6000/e500crtrest64gpr.asm: Likewise.
1149 * config/rs6000/e500crtresx32gpr.asm: Likewise.
1150 * config/rs6000/e500crtresx64gpr.asm: Likewise.
1151 * config/rs6000/e500crtsav32gpr.asm: Likewise.
1152 * config/rs6000/e500crtsav64gpr.asm: Likewise.
1153 * config/rs6000/e500crtsav64gprctr.asm: Likewise.
1154 * config/rs6000/e500crtsavg32gpr.asm: Likewise.
1155 * config/rs6000/e500crtsavg64gpr.asm: Likewise.
1156 * config/rs6000/e500crtsavg64gprctr.asm: Likewise.
1157 * config/rs6000/eabi-ci.asm: Likewise.
1158 * config/rs6000/eabi-cn.asm: Likewise.
1159 * config/rs6000/eabi.asm: Likewise.
1160 * config/rs6000/linux-unwind.h: Likewise.
1161 * config/rs6000/linux64.h: Likewise.
1162 * config/rs6000/paired.h: Likewise.
1163 * config/rs6000/paired.md: Likewise.
1164 * config/rs6000/ppc64-fp.c: Likewise.
1165 * config/rs6000/ppu_intrinsics.h: Likewise.
1166 * config/rs6000/rs6000.h: Likewise.
1167 * config/rs6000/si2vmx.h: Likewise.
1168 * config/rs6000/sol-ci.asm: Likewise.
1169 * config/rs6000/sol-cn.asm: Likewise.
1170 * config/rs6000/spe.h: Likewise.
1171 * config/rs6000/spu2vmx.h: Likewise.
1172 * config/rs6000/sysv4.h: Likewise.
1173 * config/rs6000/tramp.asm: Likewise.
1174 * config/rs6000/vec_types.h: Likewise.
1175 * config/s390/linux-unwind.h: Likewise.
1176 * config/s390/tpf-unwind.h: Likewise.
1177 * config/score/crti.asm: Likewise.
1178 * config/score/crtn.asm: Likewise.
1179 * config/sh/crt1.asm: Likewise.
1180 * config/sh/crti.asm: Likewise.
1181 * config/sh/crtn.asm: Likewise.
1182 * config/sh/divtab-sh4-300.c: Likewise.
1183 * config/sh/divtab-sh4.c: Likewise.
1184 * config/sh/divtab.c: Likewise.
1185 * config/sh/lib1funcs-4-300.asm: Likewise.
1186 * config/sh/lib1funcs-Os-4-200.asm: Likewise.
1187 * config/sh/lib1funcs.asm: Likewise.
1188 * config/sh/lib1funcs.h: Likewise.
1189 * config/sh/linux-atomic.asm: Likewise.
1190 * config/sh/linux-unwind.h: Likewise.
1191 * config/sh/shmedia.h: Likewise.
1192 * config/sh/sshmedia.h: Likewise.
1193 * config/sh/ushmedia.h: Likewise.
1194 * config/sparc/crtfastmath.c: Likewise.
1195 * config/sparc/linux-unwind.h: Likewise.
1196 * config/sparc/sol2-c1.asm: Likewise.
1197 * config/sparc/sol2-ci.asm: Likewise.
1198 * config/sparc/sol2-cn.asm: Likewise.
1199 * config/spu/divmodti4.c: Likewise.
1200 * config/spu/divv2df3.c: Likewise.
1201 * config/spu/float_disf.c: Likewise.
1202 * config/spu/float_unsdidf.c: Likewise.
1203 * config/spu/float_unsdisf.c: Likewise.
1204 * config/spu/float_unssidf.c: Likewise.
1205 * config/spu/mfc_multi_tag_release.c: Likewise.
1206 * config/spu/mfc_multi_tag_reserve.c: Likewise.
1207 * config/spu/mfc_tag_release.c: Likewise.
1208 * config/spu/mfc_tag_reserve.c: Likewise.
1209 * config/spu/mfc_tag_table.c: Likewise.
1210 * config/spu/multi3.c: Likewise.
1211 * config/spu/spu_internals.h: Likewise.
1212 * config/spu/spu_intrinsics.h: Likewise.
1213 * config/spu/spu_mfcio.h: Likewise.
1214 * config/spu/vec_types.h: Likewise.
1215 * config/spu/vmx2spu.h: Likewise.
1216 * config/stormy16/stormy16-lib2.c: Likewise.
1217 * config/svr4.h: Likewise.
1218 * config/sync.c: Likewise.
1219 * config/v850/lib1funcs.asm: Likewise.
1220 * config/vxlib-tls.c: Likewise.
1221 * config/vxlib.c: Likewise.
1222 * config/vxworks-dummy.h: Likewise.
1223 * config/xtensa/crti.asm: Likewise.
1224 * config/xtensa/crtn.asm: Likewise.
1225 * config/xtensa/ieee754-df.S: Likewise.
1226 * config/xtensa/ieee754-sf.S: Likewise.
1227 * config/xtensa/lib1funcs.asm: Likewise.
1228 * config/xtensa/lib2funcs.S: Likewise.
1229 * config/xtensa/linux-unwind.h: Likewise.
1230 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
1231 * config/xtensa/unwind-dw2-xtensa.h: Likewise.
1232 * coretypes.h: Likewise.
1233 * crtstuff.c: Likewise.
1234 * defaults.h: Likewise.
1235 * dwarf2.h: Likewise.
1236 * emutls.c: Likewise.
1237 * gbl-ctors.h: Likewise.
1238 * gcov-io.h: Likewise.
1239 * ginclude/float.h: Likewise.
1240 * ginclude/iso646.h: Likewise.
1241 * ginclude/stdarg.h: Likewise.
1242 * ginclude/stdbool.h: Likewise.
1243 * ginclude/stddef.h: Likewise.
1244 * ginclude/stdfix.h: Likewise.
1245 * ginclude/tgmath.h: Likewise.
1246 * gthr-aix.h: Likewise.
1247 * gthr-dce.h: Likewise.
1248 * gthr-gnat.c: Likewise.
1249 * gthr-gnat.h: Likewise.
1250 * gthr-lynx.h: Likewise.
1251 * gthr-mipssde.h: Likewise.
1252 * gthr-nks.h: Likewise.
1253 * gthr-posix.c: Likewise.
1254 * gthr-posix.h: Likewise.
1255 * gthr-posix95.h: Likewise.
1256 * gthr-rtems.h: Likewise.
1257 * gthr-single.h: Likewise.
1258 * gthr-solaris.h: Likewise.
1259 * gthr-tpf.h: Likewise.
1260 * gthr-vxworks.h: Likewise.
1261 * gthr-win32.h: Likewise.
1263 * libgcc2.c: Likewise.
1264 * libgcc2.h: Likewise.
1265 * libgcov.c: Likewise.
1266 * tsystem.h: Likewise.
1267 * typeclass.h: Likewise.
1268 * unwind-c.c: Likewise.
1269 * unwind-compat.h: Likewise.
1270 * unwind-dw2-fde-compat.c: Likewise.
1271 * unwind-dw2-fde-darwin.c: Likewise.
1272 * unwind-dw2-fde-glibc.c: Likewise.
1273 * unwind-dw2-fde.c: Likewise.
1274 * unwind-dw2-fde.h: Likewise.
1275 * unwind-dw2.c: Likewise.
1276 * unwind-dw2.h: Likewise.
1277 * unwind-generic.h: Likewise.
1278 * unwind-pe.h: Likewise.
1279 * unwind-sjlj.c: Likewise.
1280 * unwind.inc: Likewise.
1281 * config/arm/neon-gen.ml: Change generated copyright header to
1282 refer to version 3 of the GNU General Public License with
1283 version 3.1 of the GCC Runtime Library Exception and to point
1284 readers at the COPYING3 and COPYING3.RUNTIME files and the
1285 FSF's license web page.
1286 * config/arm/arm_neon.h: Regenerate.
1288 2009-04-09 Jakub Jelinek <jakub@redhat.com>
1290 * config/cris/cris.md: Change copyright header to refer to version
1291 3 of the GNU General Public License.
1292 * doc/install.texi2html: Change copyright header to refer to version
1293 3 of the GNU General Public License and to point readers at the
1294 COPYING3 file and the FSF's license web page.
1296 2009-04-08 Jakub Jelinek <jakub@redhat.com>
1299 * omp-low.c (expand_omp_taskreg): Finalize taskreg static local_decls
1302 2009-04-08 David Ayers <ayers@fsfe.org>
1305 * c-typeck.c (build_conditional_expr): Emit ObjC warnings
1306 by calling objc_compare_types and surpress warnings about
1307 incompatible C pointers that are compatible ObjC pointers.
1309 2009-04-07 Alan Modra <amodra@bigpond.net.au>
1312 * config.gcc (powerpc-*-linux*): Include soft-fp/t-softfp after
1315 2009-04-04 Richard Earnshaw <rearnsha@arm.com>
1318 * arm.md (movsfcc): Disable if not TARGET_HARD_FLOAT.
1319 * testsuite/gcc.c-torture/execute/pr39501.c: New file.
1320 * testsuite/gcc.c-torture/execute/pr39501.x: New file.
1322 2009-04-04 Jakub Jelinek <jakub@redhat.com>
1324 * unwind-dw2.h (_Unwind_FrameState): Add REG_UNDEFINED enum value.
1325 * unwind-dw2.c (execute_cfa_program): Set how to REG_UNDEFINED
1326 instead of REG_UNSAVED for DW_CFA_undefined.
1327 (uw_update_context_1): Handle REG_UNDEFINED the same as REG_UNSAVED.
1328 (uw_update_context): If RA column is REG_UNDEFINED, mark it as
1331 2009-04-02 Ira Rosen <irar@il.ibm.com>
1333 PR tree-optimization/39595
1334 * tree-vect-analyze.c (vect_build_slp_tree): Check that the size of
1335 interleaved loads group is not greater than the SLP group size.
1337 2009-04-01 Eric Botcazou <ebotcazou@adacore.com>
1339 PR rtl-optimization/39588
1340 * combine.c (merge_outer_ops): Do not set the constant when this
1342 (simplify_shift_const_1): Do not modify it either in this case.
1344 2009-04-01 Steven Bosscher <steven@gcc.gnu.org>
1346 * config/ia64/ia64.c (ia64_handle_option): Inform user that Itanium1
1347 tuning is deprecated if -mtune value is set to an Itanium1 variant.
1349 2009-04-01 Jakub Jelinek <jakub@redhat.com>
1352 * config/rs6000/rs6000.md (andsi3_internal5_nomc,
1353 anddi3_internal2_nomc, anddi3_internal3_nomc): Removed.
1354 (booldi3_internal3): Use boolean_or_operator instead of
1358 * c-parser.c (c_parser_asm_statement): Skip until close paren and
1359 return if c_parser_asm_string_literal returned NULL.
1361 2009-04-01 Kai Tietz <kai.tietz@onevision.com>
1362 Andrey Galkin <agalkin@hypercom.com>
1365 * config/i386/host-mingw32.c (mingw32_gt_pch_use_address):
1366 Make object_name unique for each process.
1368 2009-04-01 Anatoly Sokolov <aesok@post.ru>
1370 * config/avr/avr.c (avr_override_options): Inform user that
1371 -mno-tablejump option is deprecated.
1372 * doc/invoke.texi (AVR Options): Update -mno-tablejump.
1374 2009-04-01 Jakub Jelinek <jakub@redhat.com>
1377 * omp-low.c (remove_exit_barrier): Don't optimize if there are any
1378 addressable variables in the parallel that could go out of scope while
1379 running queued tasks.
1381 2009-03-30 Sebastian Pop <sebastian.pop@amd.com>
1383 * doc/invoke.texi (-floop-interchange, -floop-strip-mine,
1384 -floop-block): Document dependences on PPL, CLooG and Graphite.
1386 2009-03-30 Jakub Jelinek <jakub@redhat.com>
1390 2009-03-27 H.J. Lu <hongjiu.lu@intel.com>
1391 * c-common.c (pointer_int_sum): Use %wd on return from
1394 2009-03-27 H.J. Lu <hongjiu.lu@intel.com>
1395 * c-common.c (pointer_int_sum): Use HOST_WIDE_INT_PRINT_DEC
1396 on return from tree_low_cst.
1398 2009-03-27 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
1400 * builtins.h (c_strlen): Do not warn here.
1401 * c-typeck.c (build_binary_op): Adjust calls to pointer_int_sum.
1402 * c-common.c (pointer_int_sum): Take an explicit location.
1403 Warn about offsets out of bounds.
1404 * c-common.h (pointer_int_sum): Adjust declaration.
1406 2009-03-29 H.J. Lu <hongjiu.lu@intel.com>
1408 Backport from mainline:
1409 2009-03-29 H.J. Lu <hongjiu.lu@intel.com>
1412 * config/i386/i386.c (classify_argument): Ignore flexible array
1413 member in struct and warn ABI change.
1415 2009-03-29 Joseph Myers <joseph@codesourcery.com>
1417 * doc/invoke.texi, doc/standards.texi: Refer to
1418 gcc-4.4/c99status.html.
1420 2009-03-28 Anatoly Sokolov <aesok@post.ru>
1422 * config/avr/avr.c (avr_mcu_t): Add atmega8c1, atmega16c1 and
1424 * config/avr/avr.h (LINK_SPEC, CRT_BINUTILS_SPECS): (Ditto.).
1425 * config/avr/t-avr (MULTILIB_MATCHES): (Ditto.)
1427 2009-03-28 Jakub Jelinek <jakub@redhat.com>
1429 * config/rs6000/rs6000-c.c (rs6000_macro_to_expand): If macro
1430 following vector keyword has expansion starting with pixel or bool
1431 keyword, expand vector to __vector and pixel or bool to __pixel or
1435 * opts.c (warning_disallowed_functions, warn_disallowed_functions,
1436 warn_if_disallowed_function_p): Removed.
1437 (common_handle_option): Don't handle OPT_Wdisallowed_function_list_.
1438 * c-parser.c (c_parser_postfix_expression_after_primary): Don't call
1439 warning_if_disallowed_function_p.
1440 * flags.h (warn_if_disallowed_function_p,
1441 warn_disallowed_functions): Removed.
1442 * common.opt (Wdisallowed-function-list=): Removed.
1443 * doc/invoke.texi (-Wdisallowed-function-list=): Removed.
1445 2009-03-27 Mark Mitchell <mark@codesourcery.com>
1447 * DEV-PHASE: Mark "prerelease".
1449 2009-03-27 Xinliang David Li <davidxl@google.com>
1451 PR tree-optimization/39557
1452 * tree-ssa.c (warn_uninitialized_vars): free postdom info.
1454 2009-03-27 Xinliang David Li <davidxl@google.com>
1456 PR tree-optimization/39548
1457 * tree-ssa-copy.c (copy_prop_visit_phi_node): Add copy
1460 2009-03-27 H.J. Lu <hongjiu.lu@intel.com>
1462 * c-common.c (pointer_int_sum): Use %wd on return from
1465 2009-03-27 H.J. Lu <hongjiu.lu@intel.com>
1467 * c-common.c (pointer_int_sum): Use HOST_WIDE_INT_PRINT_DEC
1468 on return from tree_low_cst.
1470 2009-03-27 Andrew Pinski <andrew_pinski@playstation.sony.com>
1473 * ginclude/stdarg.h (va_copy): Define also for
1474 __GXX_EXPERIMENTAL_CXX0X__.
1476 2009-03-27 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
1479 * builtins.h (c_strlen): Do not warn here.
1480 * c-typeck.c (build_binary_op): Adjust calls to pointer_int_sum.
1481 * c-common.c (pointer_int_sum): Take an explicit location.
1482 Warn about offsets out of bounds.
1483 * c-common.h (pointer_int_sum): Adjust declaration.
1485 2009-03-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1487 * doc/invoke.texi (i386 and x86-64 Windows Options): Fix texinfo
1490 2009-03-26 Jakub Jelinek <jakub@redhat.com>
1493 * opts.c (warn_if_disallowed_function_p): Don't assume
1494 get_callee_fndecl must return non-NULL.
1496 2009-03-26 Vladimir Makarov <vmakarov@redhat.com>
1498 PR rtl-optimization/39522
1499 * reload1.c (reload_as_needed): Invalidate reg_last_reload_reg too
1500 when reg_reloaded_valid is set.
1502 2009-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1504 * config/spu/divv2df3.c: New file.
1505 * config/spu/t-spu-elf (LIB2FUNCS_STATIC_EXTRA): Add it.
1506 (DPBIT_FUNCS): Filter out _div_df.
1508 2009-03-26 Bernd Schmidt <bernd.schmidt@analog.com>
1510 * config/bfin/bfin.c (bfin_optimize_loop): If the LSETUP goes before
1511 a jump insn, count that jump in the distance to the loop start.
1513 2009-03-25 Kaz Kojima <kkojima@gcc.gnu.org>
1516 * config/sh/sh.c (calc_live_regs): Fix condition for global
1517 registers except PIC_OFFSET_TABLE_REGNUM.
1519 2009-03-25 Kai Tietz <kai.tietz@onevision.com>
1522 * doc/invoke.texi (-mconsole): New.
1526 (-mnop-fun-dllimport): New.
1530 (sub section "i386 and x86-64 Windows Options"): New.
1532 2009-03-25 Ralf Corsépius <ralf.corsepius@rtems.org>
1534 * config/arm/rtems-elf.h: Remove LINK_GCC_C_SEQUENCE_SPEC.
1535 * config/rs6000/t-rtems: Remove MULTILIB_EXTRA_OPTS.
1537 2009-03-25 Richard Guenther <rguenther@suse.de>
1540 * Makefile.in (dfp.o-warn): Use -fno-strict-aliasing instead
1543 2009-03-25 Andrey Belevantsev <abel@ispras.ru>
1545 * config/ia64/ia64.c (ia64_set_sched_flags): Zero spec_info->mask when
1546 neither of haifa/selective schedulers are working.
1548 2009-03-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1550 * doc/invoke.texi (Debugging Options): Fix description of
1551 -fno-merge-debug-strings.
1553 2009-03-24 Hans-Peter Nilsson <hp@axis.com>
1555 * config/cris/libgcc.ver: New version-script.
1556 * config/cris/t-linux (SHLIB_MAPFILES): Use it.
1558 * configure.ac <GAS features, nop mnemonic>: Add pattern
1559 crisv32-*-* for "nop".
1560 <GAS features, Thread-local storage>: Add item for CRIS and
1562 * configure: Regenerate.
1564 2009-03-24 Ira Rosen <irar@il.ibm.com>
1566 PR tree-optimization/39529
1567 * tree-vect-transform.c (vect_create_data_ref_ptr): Call
1568 mark_sym_for_renaming for the tag copied to the new vector
1571 2009-03-24 Arthur Loiret <aloiret@debian.org>
1573 * config.host (alpha*-*-linux*): Use driver-alpha.o and
1575 * config/alpha/linux.h (host_detect_local_cpu): Declare, add to
1576 EXTRA_SPEC_FUNCTIONS.
1577 (MCPU_MTUNE_NATIVE_SPECS, DRIVER_SELF_SPECS): New macros.
1578 * config/alpha/driver-alpha.c, config/alpha/x-alpha: New.
1579 * doc/invoke.texi (DEC Alpha Options): Document 'native' value for
1580 -march and -mtune options.
1582 2009-03-24 Ralf Corsépius <ralf.corsepius@rtems.org>
1584 * config/m68k/t-rtems: Add m5329 multilib.
1586 2009-03-24 Dodji Seketeli <dodji@redhat.com>
1587 Jakub Jelinek <jakub@redhat.com>
1590 * dwarf2out.c (gen_variable_die): Avoid adding duplicate declaration
1593 2009-03-23 Jakub Jelinek <jakub@redhat.com>
1596 * c-parser.c (c_parser_omp_for_loop): Call c_parser_binary_expression
1597 instead of c_parser_expression_conv, if original_code isn't one of the
1598 4 allowed comparison codes, fail.
1600 2009-03-23 Richard Guenther <rguenther@suse.de>
1602 * cgraph.h (struct cgraph_node): Reorder fields for 64-bit hosts.
1603 * tree.h (struct tree_type): Likewise.
1604 * reload.h (struct insn_chain): Likewise.
1605 * dwarf2out.c (struct dw_loc_descr_struct): Likewise.
1606 * function.h (struct function): Likewise.
1607 * tree-ssa-structalias.c (struct equiv_class_label): Likewise.
1609 2009-03-23 Jakub Jelinek <jakub@redhat.com>
1611 PR tree-optimization/39516
1612 * lambda-code.c (perfect_nestify): Fix type of the uboundvar variable.
1614 2009-03-23 Bingfeng Mei <bmei@broadcom.com>
1616 * config.gcc (need_64bit_hwint): Make clear that need_64bit_hwint
1617 should be set true if BITS_PER_WORD of target is bigger than 32
1619 2009-03-22 Hans-Peter Nilsson <hp@axis.com>
1621 * config/cris/linux.h (CRIS_LINK_SUBTARGET_SPEC):
1622 Translate -B-options to -rpath-link. Correct existing
1623 rpath-link and conditionalize on !nostdlib.
1625 2009-03-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1627 * doc/extend.texi (Function Attributes, Variable Attributes):
1629 * doc/invoke.texi (Debugging Options, Optimize Options)
1630 (i386 and x86-64 Options, MCore Options): Likewise.
1632 2009-03-20 Jakub Jelinek <jakub@redhat.com>
1635 * dwarf2out.c (gen_namespace_die): Add context_die argument and use
1636 it for block local namespace aliases.
1637 (gen_decl_die): Pass context_die to gen_namespace_die.
1639 2009-03-19 Jakub Jelinek <jakub@redhat.com>
1642 * c-omp.c (c_finish_omp_for): Allow NE_EXPR with TREE_TYPE (decl)'s
1643 minimum or maximum value.
1645 2009-03-19 Alexandre Oliva <aoliva@redhat.com>
1647 * reginfo.c (globalize_reg): Recompute derived reg sets.
1649 2009-03-19 Ozkan Sezer <sezeroz@gmail.com>
1652 * libgcc2.c (mprotect): Do not use signed arguments for
1653 VirtualProtect, use DWORD arguments. Also fix the 'may
1654 be used uninitialized' warning for the np variable.
1656 2009-03-19 Jakub Jelinek <jakub@redhat.com>
1659 * config/i386/i386.c (ix86_function_regparm): Don't optimize local
1660 functions using regparm calling conventions when not optimizing.
1661 (ix86_function_sseregparm): Similarly for sseregparm calling
1664 2009-03-19 Li Feng <nemokingdom@gmail.com>
1667 * tree-data-ref.c (analyze_subscript_affine_affine): There is no
1668 dependence if the first conflict is after niter iterations.
1670 2009-03-19 Hans-Peter Nilsson <hp@axis.com>
1673 * config/cris/cris.h (FRAME_POINTER_REQUIRED): Force for all
1674 functions with dynamic stack-pointer adjustments.
1676 2009-03-19 Ben Elliston <bje@au.ibm.com>
1678 * doc/invoke.texi (RS/6000 and PowerPC Options): Fix -msdata-data
1679 option; change to -msdata=data.
1681 2009-03-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1683 * c.opt: Unify help texts for -Wdeprecated, -Wsystem-headers,
1686 2009-03-18 Eric Botcazou <ebotcazou@adacore.com>
1689 * config/sparc/sparc.md (do_builtin_setjmp_setup): Prettify asm output.
1691 2009-03-18 Sandra Loosemore <sandra@codesourcery.com>
1693 * doc/invoke.texi (Code Gen Options): Expand discussion of
1696 2009-03-18 Jakub Jelinek <jakub@redhat.com>
1698 * dse.c (struct group_info): Reorder fields for 64-bit hosts.
1699 * matrix-reorg.c (struct matrix_info): Likewise.
1700 * tree-ssa-loop-ivopts.c (struct ivopts_data): Likewise.
1701 * rtl.h (struct mem_attrs): Likewise.
1702 * df.h (struct df): Likewise.
1703 * tree-data-ref.h (struct data_dependence_relation): Likewise.
1704 * ira-int.h (struct ira_allocno): Likewise.
1705 * df-scan.c (struct df_collection_rec): Likewise.
1706 * ira.c (struct equivalence): Likewise.
1707 * function.c (struct temp_slot): Likewise.
1708 * cfgloop.h (struct loop): Likewise.
1711 * function.c (use_register_for_decl): When not optimizing, disregard
1712 register keyword for variables with types containing methods.
1714 2009-03-18 Sebastian Pop <sebastian.pop@amd.com>
1717 * graphite.c (exclude_component_ref): Renamed contains_component_ref_p.
1718 (is_simple_operand): Call contains_component_ref_p before calling data
1719 reference analysis that would fail on COMPONENT_REFs.
1721 * tree-vrp.c (search_for_addr_array): Fix formatting.
1723 2009-03-18 Richard Guenther <rguenther@suse.de>
1725 * tree-vect-transform.c (vect_loop_versioning): Fold the
1726 generated comparisons.
1727 * tree-vectorizer.c (set_prologue_iterations): Likewise.
1728 (slpeel_tree_peel_loop_to_edge): Likewise.
1730 2009-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1733 * opts.c (print_specific_help): In addition to `undocumented',
1734 accept `separate' and `joined' flags if passed alone. Describe
1735 output by the first matched one of those.
1736 (common_handle_option): Skip over empty strings.
1737 * gcc.c (display_help): Fix help string for `--help='.
1738 * doc/invoke.texi (Option Summary, Overall Options): With
1739 `--help=', classes and qualifiers can both be repeated, but
1740 only the latter can be negated. One should not pass only
1741 negated qualifiers. Fix markup and examples.
1744 2008-10-14 Jakub Jelinek <jakub@redhat.com>
1746 * opts.c (common_handle_option): Don't ICE on -fhelp=joined
1747 and -fhelp=separate.
1749 2009-03-17 Jing Yu <jingyu@google.com>
1752 * function.h (struct rtl_data): Move is_thunk from here...
1753 (struct function): ...to here.
1754 * cp/method.c (use_thunk): Change is_thunk from crtl to cfun.
1755 * varasm.c (assemble_start_function): Change is_thunk from crtl to
1757 * config/alpha/alpha.c (alpha_sa_mask): Change is_thunk from crtl to
1759 (alpha_does_function_need_gp, alpha_start_function): Likewise.
1760 (alpha_output_function_end_prologue): Likewise.
1761 (alpha_end_function, alpha_output_mi_thunk_osf): Likewise.
1762 * config/rs6000/rs6000.c (rs6000_ra_ever_killed): Likewise.
1763 (rs6000_output_function_epilogue): Likewise.
1764 * config/arm/arm.h (ARM_DECLARE_FUNCTION_NAME): Likewise.
1766 2009-03-17 Uros Bizjak <ubizjak@gmail.com>
1769 * config/i386/i386.md (*truncdfsf_mixed): Avoid combining registers
1770 from different units in a single alternative.
1771 (*truncdfsf_i387): Ditto.
1772 (*truncxfsf2_mixed): Ditto.
1773 (*truncxfdf2_mixed): Ditto.
1775 2009-03-17 Jakub Jelinek <jakub@redhat.com>
1777 * dwarf2out.c (dwarf2out_imported_module_or_decl_1): Allow
1778 non-NAMESPACE_DECL IMPORTED_DECL_ASSOCIATED_DECL.
1781 * tree-ssa-live.c (remove_unused_locals): Don't remove local
1782 unused non-artificial variables when not optimizing.
1785 * dwarf2out.c (dwarf2out_imported_module_or_decl_1): Emit
1786 DW_TAG_imported_module even if decl is IMPORTED_DECL with
1787 NAMESPACE_DECL in its DECL_INITIAL.
1790 * optabs.c (set_user_assembler_libfunc): New function.
1791 * expr.h (set_user_assembler_libfunc): New prototype.
1792 * c-common.c: Include libfuncs.h.
1793 (set_builtin_user_assembler_name): Call set_user_assembler_libfunc
1794 for memcmp, memset, memcpy, memmove and abort.
1795 * Makefile.in (c-common.o): Depend on libfuncs.h.
1798 * dwarf2out.c (gen_inlined_enumeration_type_die,
1799 gen_inlined_structure_type_die, gen_inlined_union_type_die,
1800 gen_tagged_type_instantiation_die): Removed.
1801 (gen_decl_die): For TYPE_DECL_IS_STUB with non-NULL decl_origin
1804 2009-03-17 Janis Johnson <janis187@us.ibm.com>
1807 * Makefile.in (site.exp): Rename TEST_GCC_EXEC_PREFIX and comment
1809 (check-%): Don't set GCC_EXEC_PREFIX when invoking runtest.
1810 (check-parallel-%): Ditto.
1811 (check-consistency): Ditto.
1813 2009-03-17 Kai Tietz <kai.tietz@onevision.com>
1815 * ipa-struct-reorg.c (create_general_new_stmt): Initialize
1816 local variable rhs by NULL_TREE.
1818 2009-03-17 H.J. Lu <hongjiu.lu@intel.com>
1821 * doc/extend.texi: Correct register behavior for regparm on Intel 386.
1823 2009-03-17 H.J. Lu <hongjiu.lu@intel.com>
1826 * config/i386/i386.c (ix86_function_regparm): Rewrite for 64bit.
1828 2009-03-17 H.J. Lu <hongjiu.lu@intel.com>
1831 * config/i386/i386.c (ix86_expand_call): Check extra clobbers
1832 for ms->sysv ABI calls only in 64bit mode.
1834 * config/i386/i386.md (untyped_call): Support 32bit.
1836 2009-03-16 H.J. Lu <hongjiu.lu@intel.com>
1838 * doc/extend.texi: Replace x86_65 with x86_64.
1840 2009-03-16 Jakub Jelinek <jakub@redhat.com>
1842 PR tree-optimization/39455
1843 * tree-ssa-loop-niter.c (number_of_iterations_lt_to_ne): Fix types
1844 mismatches for POINTER_TYPE_P (type).
1845 (number_of_iterations_le): Likewise.
1847 2009-03-16 Hariharan Sandanagobalane <hariharan@picochip.com>
1849 * config/picochip/picochip.c: Removed profiling support.
1850 * config/picochip/picochip.md: Removed profiling instruction.
1851 * config/picochip/picochip.h: Removed profiling builtin.
1853 2009-03-16 Joseph Myers <joseph@codesourcery.com>
1855 * doc/install.texi (--with-host-libstdcxx): Document.
1857 2009-03-14 Anatoly Sokolov <aesok@post.ru>
1860 * config/avr/avr.c (avr_handle_fndecl_attribute): Move code for
1861 generate a warning if the function name does not begin with
1862 "__vector" and the function has either the 'signal' or 'interrupt'
1863 attribute, from here to ...
1864 (avr_declare_function_name): ...here. New function.
1865 * config/avr/avr.h (ASM_DECLARE_FUNCTION_NAME): Redefine.
1866 * config/avr/avr-protos.h (avr_declare_function_name): Declare.
1868 2009-03-14 Jakub Jelinek <jakub@redhat.com>
1871 * cse.c (fold_rtx): Don't modify original const_arg1 when
1872 canonicalizing SHIFT_COUNT_TRUNCATED shift count, do it on a
1873 separate variable instead.
1874 * rtlanal.c (nonzero_bits1) <case ASHIFTRT>: Don't assume anything
1875 from out of range shift counts.
1876 (num_sign_bit_copies1) <case ASHIFTRT, case ASHIFT>: Similarly.
1878 2008-03-13 Catherine Moore <clm@codesourcery.com>
1880 * gcc/config/i386/x-mingw32 (host-mingw32.o): Replace
1881 diagnostic.h with $(DIAGNOSTIC_H).
1883 2008-03-12 Jakub Jelinek <jakub@redhat.com>
1886 * config/i386/predicates.md (cmpxchg8b_pic_memory_operand): New
1888 * config/i386/sync.md (sync_compare_and_swap<mode>,
1889 sync_compare_and_swap_cc<mode>): For DImode with -m32 -fpic check
1890 if operands[1] is cmpxchg8b_pic_memory_operand, if not force address
1892 (sync_double_compare_and_swapdi_pic,
1893 sync_double_compare_and_swap_ccdi_pic): Require operand 1 to be
1894 cmpxchg8b_pic_memory_operand instead of just memory_operand.
1896 2009-03-12 H.J. Lu <hongjiu.lu@intel.com>
1899 * config/i386/i386.c (ix86_expand_push): Don't set memory alignment.
1901 2009-03-12 H.J. Lu <hongjiu.lu@intel.com>
1904 * config/i386/sse.md (avx_addsubv8sf3): Correct item bits.
1905 (avx_addsubv4df3): Likewise.
1906 (*avx_addsubv4sf3): Likewise.
1907 (sse3_addsubv4sf3): Likewise.
1909 2009-03-12 H.J. Lu <hongjiu.lu@intel.com>
1912 * config/i386/i386.md: Compare REGNO on the new peephole2 patterns.
1914 2009-03-12 Vladimir Makarov <vmakarov@redhat.com>
1917 * ira-int.h (struct allocno): Fix comment for calls_crossed_num.
1918 * ira-conflicts.c (ira_build_conflicts): Prohibit call used
1919 registers for allocnos created from user-defined variables.
1921 2009-03-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1924 * config/spu/spu.c (spu_expand_mov): Handle invalid subregs
1925 of non-integer mode as well.
1927 2009-03-11 Adam Nemet <anemet@caviumnetworks.com>
1929 * gimplify.c (gimplify_call_expr): Don't set CALL_CANNOT_INLINE_P
1930 for functions for which the parameter types are unknown.
1932 2009-03-11 Jakub Jelinek <jakub@redhat.com>
1935 * cfgexpand.c (get_decl_align_unit): Use LOCAL_DECL_ALIGNMENT macro.
1936 * defaults.h (LOCAL_DECL_ALIGNMENT): Define if not yet defined.
1937 * config/i386/i386.h (LOCAL_DECL_ALIGNMENT): Define.
1938 * config/i386/i386.c (ix86_local_alignment): For
1939 -m32 -mpreferred-stack-boundary=2 use 32-bit alignment for
1940 long long variables on the stack to avoid dynamic realignment.
1941 Allow the first argument to be a decl rather than type.
1942 * doc/tm.texi (LOCAL_DECL_ALIGNMENT): Document.
1944 2009-03-11 Nick Clifton <nickc@redhat.com>
1947 * config/mcore/mcore.opt: Remove deprecated m4align and m8align
1949 Add description to mno-lsim option.
1950 * config/mcore/mcore.h: Remove comment about deprecated m4align
1952 (TARGET_DEFAULT): Remove deprecated MASK_M8ALIGN.
1953 * doc/invoke.texi: Add description of mno-lsim and
1954 mstack-increment options.
1956 * config/fr30/fr30.opt: Document the -mno-lsim option.
1957 * doc/invoke.texi: Add descriptions of the FR30's -msmall-model
1958 and -mno-lsim options.
1960 2009-03-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1962 * fold-const.c (fold_comparison): Only call fold_inf_compare
1963 if the mode supports infinities.
1965 2009-03-11 Jason Merrill <jason@redhat.com>
1968 * tree-nrv.c (tree_nrv): Don't do this optimization if the front
1969 end already did. Notice GIMPLE_CALL modifications of the result.
1970 Don't copy debug information from an ignored decl or a decl from
1973 2009-03-10 Richard Guenther <rguenther@suse.de>
1974 Nathan Froyd <froydnj@codesourcery.com>
1977 * libgcc2.c (__mulMODE3): Use explicit assignments to form the result.
1978 (__divMODE3): Likewise.
1980 2009-03-09 Jakub Jelinek <jakub@redhat.com>
1982 PR tree-optimization/39394
1983 * gimplify.c (gimplify_type_sizes): Gimplify DECL_SIZE and
1984 DECL_SIZE_UNIT of variable length FIELD_DECLs.
1986 2009-03-09 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1988 * recog.c (verfiy_changes): Disallow renaming of hard regs in
1989 inline asms for register asm ("") declarations.
1991 2009-03-09 Eric Botcazou <ebotcazou@adacore.com>
1993 * fold-const.c (fold_unary): Fix comment.
1995 2009-03-07 Jan Hubicka <jh@suse.cz>
1998 * tree-inline.c (setup_one_parameter): Do replacement of const
1999 argument by constant in SSA form.
2001 2009-03-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2004 * function.c (assign_parm_setup_stack): Use STACK_SLOT_ALIGNMENT to
2005 determine alignment passed to assign_stack_local.
2006 (assign_parms_unsplit_complex): Likewise.
2007 * except.c (sjlj_build_landing_pads): Likewise.
2009 2009-03-06 Jakub Jelinek <jakub@redhat.com>
2012 * tree-flow.h (add_referenced_var): Return bool instead of void.
2013 * tree-dfa.c (add_referenced_var): Return result of
2014 referenced_var_check_and_insert call.
2015 * tree-inline.c (expand_call_inline): Call add_referenced_var instead
2016 of referenced_var_check_and_insert.
2019 * dwarf2out.c (add_abstract_origin_attribute): Return origin_die.
2020 (gen_variable_die): Emit DW_AT_location on abstract static variable's
2021 DIE, don't emit it if abstract origin already has it.
2022 * tree-cfg.c (remove_useless_stmts_bind): GIMPLE_BINDs with any
2023 BLOCK_NONLOCALIZED_VARS in its gimple_bind_block aren't useless.
2025 2009-03-06 Jan-Benedict Glaw <jbglaw@lug-owl.de>
2027 * genpreds.c: (needs_variable): Fix parentheses at variable name
2029 (write_tm_constrs_h): Indent generated code.
2031 2009-03-06 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
2033 * doc/extend.texi (Function Attributes): Add documentation
2036 2009-03-06 Jakub Jelinek <jakub@redhat.com>
2039 * dwarf2out.c (dwarf2out_imported_module_or_decl_1): For IMPORTED_DECL
2040 take locus from its DECL_SOURCE_LOCATION instead of input_location.
2042 2009-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
2044 * config/bfin/bfin.c (bfin_discover_loop): When retrying fails, mark
2047 2009-03-05 Jakub Jelinek <jakub@redhat.com>
2050 * tree-cfg.c (remove_useless_stmts_bind): Don't remove GIMPLE_BINDs
2051 with blocks containing IMPORTED_DECLs in BLOCK_VARS.
2053 2009-03-05 Uros Bizjak <ubizjak@gmail.com>
2055 * config/i386/i386.md (R8_REG, R9_REG): New constants.
2056 * config/i386/i386.h (CONDITIONAL_REGISTER_USAGE): Use named
2057 constants instead of magic numbers.
2058 (HARD_REGNO_CALLER_SAVE_MODE): Ditto.
2060 * config/i386/i386.c (x86_64_int_parameter_registers): Ditto.
2061 (x86_64_ms_abi_int_parameter_registers): Ditto.
2062 (x86_64_int_return_registers): Ditto.
2063 (ix86_maybe_switch_abi): Ditto.
2064 (ix86_expand_call): Ditto for clobbered_registers array.
2065 (ix86_hard_regno_mode_ok): Ditto.
2066 (x86_extended_QIreg_mentioned_p): Ditto.
2068 2009-03-05 J"orn Rennecke <joern.rennecke@arc.com>
2070 PR tree-optimization/39349
2071 * cse.c (cse_insn): Fix loop to stop at VOIDmode.
2073 * combine.c (gen_lowpart_for_combine): Use omode when generating
2076 2009-03-04 J"orn Rennecke <joern.rennecke@arc.com>
2078 PR rtl-optimization/39235
2079 * loop-iv.c (get_simple_loop_desc): Use XCNEW.
2081 2009-03-04 Zdenek Dvorak <ook@ucw.cz>
2083 * graphite.c (nb_reductions_in_loop): Update simple_iv arguments.
2085 2009-03-04 Richard Guenther <rguenther@suse.de>
2087 PR tree-optimization/39362
2088 * tree-ssa-sccvn.c (visit_use): Stores and copies from SSA_NAMEs
2089 that occur in abnormal PHIs should be varying.
2091 2009-03-04 Zdenek Dvorak <ook@ucw.cz>
2093 * tree-scalar-evolution.c (analyze_scalar_evolution_in_loop):
2095 (simple_iv): Take loop as an argument instead of statement.
2096 * tree-scalar-evolution.h (simple_iv): Declaration changed.
2097 * tree-ssa-loop-niter.c (number_of_iterations_exit): Update calls
2099 * tree-ssa-loop-ivopts.c (determine_biv_step, find_givs_in_stmt_scev):
2101 * tree-parloops.c (loop_parallel_p, canonicalize_loop_ivs): Ditto.
2102 * matrix-reorg.c (analyze_transpose): Ditto.
2103 * tree-data-ref.c (dr_analyze_innermost): Ditto.
2104 * tree-vect-analyze.c (vect_analyze_data_refs): Ditto.
2105 * tree-predcom.c (ref_at_iteration): Ditto.
2106 * tree-ssa-loop-prefetch.c (idx_analyze_ref): Ditto.
2108 2009-03-04 Richard Guenther <rguenther@suse.de>
2110 PR tree-optimization/39358
2111 * tree-ssa-structalias.c (do_sd_constraint): Fix check for
2112 escaped_id and callused_id.
2113 (solve_graph): Likewise.
2115 2009-03-04 Richard Guenther <rguenther@suse.de>
2117 PR tree-optimization/39339
2118 * tree-sra.c (try_instantiate_multiple_fields): Make it
2119 no longer ICE on the above.
2121 2009-03-03 Joseph Myers <joseph@codesourcery.com>
2123 * emit-rtl.c (adjust_address_1): Reduce offset to a signed value
2124 that fits within Pmode.
2126 2009-03-03 Steve Ellcey <sje@cup.hp.com>
2129 * tm.texi (LIBCALL_VALUE): Update description.
2131 2009-03-03 Steve Ellcey <sje@cup.hp.com>
2134 * doc/extend.texi (section): Update description.
2136 2009-03-03 H.J. Lu <hongjiu.lu@intel.com>
2139 * tree-inline.c (remapped_type): New.
2140 (can_be_nonlocal): Call remapped_type instead of remap_type.
2142 2009-03-03 Jakub Jelinek <jakub@redhat.com>
2145 * gimplify.c (goa_stabilize_expr): Handle tcc_comparison,
2146 TRUTH_ANDIF_EXPR and TRUTH_ORIF_EXPR.
2148 2009-03-03 Richard Guenther <rguenther@suse.de>
2151 * tree.c (tree_nonartificial_location): New function.
2152 * tree.h (tree_nonartificial_location): Declare.
2153 * builtins.c (expand_builtin_memory_chk): Provide location
2154 of the call location for artificial function pieces.
2155 (maybe_emit_chk_warning): Likewise.
2156 (maybe_emit_sprintf_chk_warning): Likewise.
2157 (maybe_emit_free_warning): Likewise.
2158 * expr.c (expand_expr_real_1): Likewise.
2160 2009-03-03 Jakub Jelinek <jakub@redhat.com>
2162 PR tree-optimization/39343
2163 * tree-ssa-ccp.c (maybe_fold_offset_to_address): Don't check if
2164 COMPONENT_REF t has ARRAY_TYPE.
2166 2009-03-02 Sebastian Pop <sebastian.pop@amd.com>
2169 * tree-parloops.c (canonicalize_loop_ivs): Call fold_convert
2170 when the type precision of the induction variable should be
2171 larger than the type precision of nit.
2172 (gen_parallel_loop): Update use of canonicalize_loop_ivs.
2173 * graphite.c (graphite_loop_normal_form): Same.
2174 * tree-flow.h (canonicalize_loop_ivs): Update declaration.
2176 2009-03-02 Uros Bizjak <ubizjak@gmail.com>
2178 * config/i386/i386.md (ST?_REG, MM?_REG): New constants.
2179 (*call_1_rex64_ms_sysv): Use named constants instead of magic
2180 numbers to describe clobbered registers.
2181 (*call_value_0_rex64_ms_sysv): Ditto.
2182 * config/i386/mmx.md (mmx_emms): Ditto.
2185 2009-03-02 Richard Sandiford <rdsandiford@googlemail.com>
2187 * config/mips/mips.c (mips_mdebug_abi_name): Fix the handling
2190 2009-03-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2192 * config/spu/spu.c (TARGET_SECTION_TYPE_FLAGS): Define.
2193 (spu_section_type_flags): New function.
2195 2009-03-02 Uros Bizjak <ubizjak@gmail.com>
2197 * config/i386/i386.h (CONDITIONAL_REGISTER_USAGE): Do not copy
2198 reg_class_contents of FLOAT_REGS into a temporary.
2200 2009-03-02 Richard Guenther <rguenther@suse.de>
2201 Ira Rosen <irar@il.ibm.com>
2203 PR tree-optimization/39318
2204 * tree-vect-transform.c (vectorizable_call): Transfer the EH region
2205 information to the vectorized statement.
2207 2009-03-01 Uros Bizjak <ubizjak@gmail.com>
2209 * config/i386/i386.h (CONDITIONAL_REGISTER_USAGE): Do not shadow "i"
2210 variable. Use defined names instead of magic constants for REX SSE
2213 2009-03-01 Richard Guenther <rguenther@suse.de>
2215 PR tree-optimization/39331
2216 * omp-low.c (lower_send_shared_vars): Do not receive new
2217 values for the reference of DECL_BY_REFERENCE parms or results.
2219 2009-03-01 Jan Hubicka <jh@suse.cz>
2222 * tree.h (BLOCK_NONLOCALIZED_VARS, BLOCK_NUM_NONLOCALIZED_VARS,
2223 BLOCK_NONLOCALIZED_VAR): New macros.
2224 (tree_block): Add nonlocalized_vars.
2225 * dwarf2out.c (gen_formal_parameter_die, gen_variable_die,
2226 gen_decl_die): Add origin argument. Allow generation of die with
2227 origin at hand only.
2228 (gen_member_die, gen_type_die_with_usage, force_decl_die,
2229 declare_in_namespace, gen_namescpace_die, dwarf2out_decl): Update use
2231 (gen_block_die): Fix checking for unused blocks.
2232 (process_scope_var): Break out from .... ; work with origins only.
2233 (decls_for_scope) ... here; process nonlocalized list.
2234 (dwarf2out_ignore_block): Look for nonlocalized vars.
2235 * tree-ssa-live.c (remove_unused_scope_block_p): Look for nonlocalized
2237 (dump_scope_block): Dump them.
2238 * tree-inline.c (remap_decls): Handle nonlocalized vars.
2239 (remap_block): Likewise.
2240 (can_be_nonlocal): New predicate.
2241 (copy_bind_expr, copy_gimple_bind): Update use of remap_block.
2243 2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2245 * configure: Regenerate.
2247 2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2249 * optc-gen.awk: No need to duplicate option flags twice.
2250 Reuse help texts for duplicate options which do not have any.
2252 * gcc.c (display_help): Document --version.
2254 * gcc.c (main): If print_help_list and verbose_flag, ensure
2255 driver output comes before subprocess output.
2257 * optc-gen.awk: Assign all remaining fields to help string,
2258 space-separated, for multi-line help in *.opt.
2260 * doc/invoke.texi (Warning Options): -Wsync-nand is C/C++ only.
2261 -Wno-pedantic-ms-format is for MinGW targets only.
2263 * doc/options.texi (Option file format): Fix bad indentation,
2264 restoring dropped sentence.
2266 2009-02-28 Jan Hubicka <jh@suse.cz>
2268 * tree-inline.c (tree_function_versioning): Output debug info.
2270 2009-02-28 Jan Hubicka <jh@suse.cz>
2273 * tree-inline.c (setup_one_parameter): Do not copy propagate
2274 arguments when not optimizing.
2276 2009-02-28 H.J. Lu <hongjiu.lu@intel.com>
2279 * config/i386/sse.md (avx_addsubv8sf3): Correct item bits.
2280 (avx_addsubv4df3): Likewise.
2281 (*avx_addsubv4sf3): Likewise.
2282 (sse3_addsubv4sf3): Likewise.
2283 (*avx_addsubv2df3): Likewise.
2284 (sse3_addsubv2df3): Likewise.
2285 (avx_unpckhps256): Correct item selectors.
2286 (avx_unpcklps256): Likewise.
2287 (avx_unpckhpd256): Likewise.
2288 (avx_unpcklpd256): Likewise.
2290 2009-02-28 Jan Hubicka <jh@suse.cz>
2292 * tree-inline.c (expand_call_inline): Avoid duplicate declarations of
2294 (copy_arguments_for_versioning): If var is declared don't declare it.
2295 (tree_function_versioning): First setup substitutions and then copy
2298 2009-02-27 Jan Hubicka <jh@suse.cz>
2301 * cgraph.h (varpool_output_debug_info): Remove.
2302 * cgraphunit.c (varpool_output_debug_info): Remove.
2303 * dwarf2out.c (deferred_locations_struct): New struct
2304 (deferred_locations): New type.
2305 (deferred_locations_list): New static var.
2306 (deffer_location): New function.
2307 (gen_variable_die): Use it.
2308 (decls_for_scope): Output info on local static vars.
2309 (dwarf2out_finish): Process deferred locations.
2310 * varpool.c (varpool_output_debug_info): Remove.
2312 2009-02-27 Jan Hubicka <jh@suse.cz>
2315 * tree.h (TREE_PROTECTED): Fix comment.
2316 (BLOCK_HANDLER_BLOCK): Remove.
2317 (struct tree_block): Remove handler_block add body_block.
2318 (inlined_function_outer_scope_p): New.
2319 (is_body_block): Remove.
2320 * dbxout.c (dbxout_block): Remove BLOCK_HANDLER_BLOCK.
2321 * dwarf2out.c (is_inlined_entry_point): Remove.
2322 (add_high_low_attributes): Use inlined_function_outer_scope_p.
2323 (gen_block_die): Use is_inlined_entry_point check. Remove body block
2325 * langhooks.h (struct lang_hooks): Remove no_bodu_blocks.
2326 * gimplify.c (gimplify_expr): Gimplify body blocks.
2327 * tree-ssa-live.c (remove_unused_scope_block_p): Allow removing wrapper
2328 block with multiple subblocks.
2329 (dump_scope_block): Prettier output; dump more flags and info.
2330 (dump_scope_blocks): New.
2331 (remove_unused_locals): Use dump_scope_blocks.
2332 * tree-flow.h (dump_scope_blocks): Declare.
2333 * tree-cfg.c (execute_build_cfg): Dump scope blocks.
2334 * stmt.c (is_body_block): Remove.
2335 * tree-inline.c (remap_block): Copy BODY_BLOCK info.
2336 * langhooks-def.h (LANG_HOOKS_NO_BODY_BLOCKS): Remove.
2338 2009-02-27 Sebastian Pop <sebastian.pop@amd.com>
2341 * graphite.c (graphite_loop_normal_form): Do not call
2342 number_of_iterations_exit from a gcc_assert.
2344 2009-02-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2346 * gcc/config/s390/s390.c: (s390_swap_cmp): Look for conditional
2347 jumps if COND is NULL.
2348 (find_cond_jump): New function.
2349 (s390_z10_optimize_cmp): Handling for reg-reg compares added.
2350 * gcc/config/s390/s390.md: Remove z10_cobra attribute value.
2352 2009-02-26 Uros Bizjak <ubizjak@gmail.com>
2354 * config/alpha/alpha.h (alpha_expand_mov): Return false if
2355 force_const_mem returns NULL_RTX.
2357 2009-02-26 Jan Hubicka <jh@suse.cz>
2360 * cgraph.h (varpool_output_debug_info): Remove.
2361 * cgraphunit.c (varpool_output_debug_info): Remove.
2362 * dwarf2out.c (deferred_locations_struct): New struct
2363 (deferred_locations): New type.
2364 (deferred_locations_list): New static var.
2365 (deffer_location): New function.
2366 (gen_variable_die): Use it.
2367 (decls_for_scope): Output info on local static vars.
2368 (dwarf2out_finish): Process deferred locations.
2369 * varpool.c (varpool_output_debug_info): Remove.
2371 2009-02-25 H.J. Lu <hongjiu.lu@intel.com>
2373 PR rtl-optimization/39241
2374 * jump.c (rtx_renumbered_equal_p): Remove 2 superfluous calls
2375 to subreg_offset_representable_p.
2377 2009-02-25 Paolo Bonzini <bonzini@gnu.org>
2379 * regmove.c (regmove_optimize): Conform to struct rtl_opt_pass
2380 execute function prototype. Get f and nregs from max_reg_num
2381 and get_insns. Remove the first backward pass as it's dead,
2382 guard the forward pass by flag_expensive_optimizations.
2383 (rest_of_handle_regmove): Delete.
2384 (pass_regmove): Replace it with regmove_optimize.
2386 2009-02-25 Martin Jambor <mjambor@suse.cz>
2388 PR tree-optimization/39259
2389 * tree-inline.c (initialize_cfun): Remove asserts for calls_setjmp and
2390 calls_alloca function flags.
2391 (copy_bb): Set calls_setjmp and alls_alloca function flags if such
2394 2009-02-25 Paolo Bonzini <bonzini@gnu.org>
2396 * regmove.c (discover_flags_reg, flags_set_1, mark_flags_life_zones,
2397 flags_set_1_rtx, flags_set_1_set): Delete.
2398 (regmove_optimize): Do not call mark_flags_life_zones.
2400 2009-02-24 Julian Brown <julian@codesourcery.com>
2403 * config/arm/arm.c (require_pic_register): Only set
2404 cfun->machine->pic_reg once per function.
2406 2009-02-24 Sandra Loosemore <sandra@codesourcery.com>
2408 * doc/invoke.texi (Link Options): Document an easier way to pass
2409 options that take arguments to the GNU linker using -Xlinker and -Wl.
2411 2009-02-24 Steve Ellcey <sje@cup.hp.com>
2414 * doc/tm.texi (TARGET_C99_FUNCTIONS): Fix description.
2416 2009-02-24 Richard Guenther <rguenther@suse.de>
2419 * dwarf2out.c (gen_enumeration_type_die): Handle CONST_DECLs.
2421 2009-02-24 Richard Guenther <rguenther@suse.de>
2422 Zdenek Dvorak <ook@ucw.cz>
2424 PR tree-optimization/39233
2425 * tree-ssa-loop-ivopts.c (add_candidate_1): Do not except pointers
2426 from converting them to a generic type.
2428 2009-02-23 Sebastian Pop <sebastian.pop@amd.com>
2430 PR tree-optimization/39260
2431 * graphite.c (harmful_stmt_in_bb): Stop a SCoP when the basic block
2432 contains a condition with a real type.
2433 (build_scop_conditions_1): Conditions are always last_stmt of a bb.
2435 2009-02-23 Jason Merrill <jason@redhat.com>
2438 * varasm.c (initializer_constant_valid_p) [PLUS_EXPR]: Check
2439 narrowing_initializer_constant_valid_p.
2440 (narrowing_initializer_constant_valid_p): Don't return
2441 null_pointer_node for adding a pointer to itself.
2443 2009-02-23 Jan Hubicka <jh@suse.cz>
2446 * ggc.h (htab_create_ggc): Use ggc_free to free hashtable when
2449 2009-02-23 Jan Hubicka <jh@suse.cz>
2451 PR tree-optimization/37709
2452 * tree.c (block_ultimate_origin): Move here from dwarf2out.
2453 * tree.h (block_ultimate_origin): Declare.
2454 * dwarf2out.c (block_ultimate_origin): Move to tree.c
2455 * tree-ssa-live.c (remove_unused_scope_block_p):
2456 Eliminate blocks containig no instructions nor live variables nor
2458 (dump_scope_block): New function.
2459 (remove_unused_locals): Enable removal of dead blocks by default;
2460 enable dumping at TDF_DETAILS.
2462 2009-02-21 H.J. Lu <hongjiu.lu@intel.com>
2464 * config/i386/i386.c (classify_argument): Don't allow COImode
2466 (function_arg_advance_32): Don't allow OImode.
2467 (function_arg_32): Likewise.
2468 (function_value_32): Likewise.
2469 (return_in_memory_32): Likewise.
2470 (function_arg_64): Remove OImode comment.
2472 2009-02-21 H.J. Lu <hongjiu.lu@intel.com>
2475 * config/i386/i386.c (ix86_expand_vector_init_one_nonzero): Use
2476 ix86_expand_vector_set for V4DImode in 64bit mode only.
2477 (ix86_expand_vector_init_one_var): Likewise.
2479 2009-02-21 Sebastian Pop <sebastian.pop@amd.com>
2481 * graphite.c (graphite_trans_loop_block): Adjust tile size to 51.
2483 2009-02-21 Richard Sandiford <rdsandiford@googlemail.com>
2486 * loop-iv.c: Revert last change.
2487 * emit-rtl.c: Likewise.
2489 2009-02-21 H.J. Lu <hongjiu.lu@intel.com>
2492 * config/i386/i386.c (type_natural_mode): Remove an extra
2493 space in the warning message.
2494 (function_value_32): Handle 32-byte vector modes.
2495 (return_in_memory_32): Likewise.
2497 2009-02-21 Richard Sandiford <rdsandiford@googlemail.com>
2499 * loop-iv.c (truncate_value): New function.
2500 (iv_subreg, get_iv_value, iv_number_of_iterations): Use it instead
2502 (lowpart_subreg): Move to...
2503 * emit-rtl.c: ...here.
2505 2009-02-21 Danny Smith <dannysmith@users.sourceforge.net>
2507 * config/i386/winnt.c (i386_pe_asm_output_aligned_decl_common): Revert
2508 accidental and undocumented change at revision 140860.
2510 2009-02-21 Joseph Myers <joseph@codesourcery.com>
2512 * config/arm/arm.c (arm_gimplify_va_arg_expr): Update prototype to
2513 take gimple_seq * arguments.
2514 (arm_mangle_type): Use CONST_CAST_TREE on type argument passed to
2515 types_compatible_p langhook.
2517 2009-02-20 Mark Mitchell <mark@codesourcery.com>
2518 Joseph Myers <joseph@codesourcery.com>
2520 * config/arm/arm.c (arm_builtin_va_list): New function.
2521 (arm_expand_builtin_va_start): Likewise.
2522 (arm_gimplify_va_arg_expr): Likewise.
2523 (TARGET_BUILD_BUILTIN_VA_LIST): Define.
2524 (TARGET_BUILD_BUILTIN_VA_START): Likewise.
2525 (TARGET_BUILD_BUILTIN_VA_ARG_EXPR): Likewise.
2526 (va_list_type): New variable.
2527 (arm_mangle_type): Mangle va_list_type appropriately.
2529 2009-02-20 Jakub Jelinek <jakub@redhat.com>
2532 * Makefile.in (loop-invariant.o): Depend on $(PARAMS_H).
2533 * params.h (LOOP_INVARIANT_MAX_BBS_IN_LOOP): Define.
2534 * params.def (loop-invariant-max-bbs-in-loop): New parameter.
2535 * opts.c (decode_options): Set loop-invariant-max-bbs-in-loop
2536 parameter to 1000 for -O1 by default.
2537 * doc/invoke.texi (loop-invariant-max-bbs-in-loop): Document new
2539 * loop-invariant.c: Include params.h.
2540 (move_loop_invariants): Don't call move_single_loop_invariants on
2543 2009-02-20 Jaka Mocnik <jaka@xlab.si>
2545 * calls.c (emit_library_call_value_1): Use slot_offset instead of
2546 offset when calculating bounds for indexing stack_usage_map. Fixes
2547 a buffer overflow with certain target setups.
2549 2009-02-20 Jakub Jelinek <jakub@redhat.com>
2552 * calls.c (expand_call): Clear try_tail_call if caller and callee
2553 disagree in promotion of function return value.
2555 2009-02-19 Jakub Jelinek <jakub@redhat.com>
2558 * c-common.c (c_determine_visibility): If visibility changed and
2559 DECL_RTL has been already set, call make_decl_rtl to update symbol
2562 2009-02-19 H.J. Lu <hongjiu.lu@intel.com>
2565 * varasm.c (assemble_variable): Don't check DECL_NAME when
2566 globalizing a variable.
2568 2009-02-19 Joseph Myers <joseph@codesourcery.com>
2571 * builtins.c (gimplify_va_arg_expr): Evaluate the va_list
2572 expression before any __builtin_trap call.
2573 * c-typeck.c (build_function_call): Convert and check function
2574 arguments before generating a call to a trap. Evaluate the
2575 function arguments before the trap.
2577 2009-02-19 Uros Bizjak <ubizjak@gmail.com>
2580 * config/i386/i386.md (isinfxf2): Split from isinf<mode>2.
2581 (UNSPEC_FXAM_MEM): New unspec.
2582 (fxam<mode>2_i387_with_temp): New insn and split pattern.
2583 (isinf<mode>2): Use MODEF mode iterator. Force operand[1] through
2584 memory using fxam<mode>2_i387_with_temp to remove excess precision.
2586 2009-02-19 Richard Guenther <rguenther@suse.de>
2588 PR tree-optimization/39207
2589 PR tree-optimization/39074
2590 * tree-ssa-structalias.c (storedanything_id, var_storedanything,
2591 storedanything_tree): New.
2592 (do_ds_constraint): Simplify ANYTHING shortcutting. Update
2593 the STOREDANYTHING solution if the lhs solution contains ANYTHING.
2594 (build_succ_graph): Add edges from STOREDANYTHING to all
2596 (init_base_vars): Initialize STOREDANYTHING.
2597 (compute_points_to_sets): Free substitution info after
2598 building the succ graph.
2599 (ipa_pta_execute): Likewise.
2601 * tree-ssa-structalias.c (struct variable_info): Add may_have_pointers
2603 (do_ds_constraint): Do not add to special var or non-pointer
2605 (type_could_have_pointers): Split out from ...
2606 (could_have_pointers): ... here. For arrays use the element type.
2607 (create_variable_info_for): Initialize may_have_pointers.
2608 (new_var_info): Likewise.
2609 (handle_lhs_call): Make the HEAP variable unknown-sized.
2610 (intra_create_variable_infos): Use a type with pointers for
2611 PARM_NOALIAS, make it unknown-sized.
2613 2009-02-18 H.J. Lu <hongjiu.lu@intel.com>
2616 * config/i386/i386.c (ix86_return_in_memory): Properly check ABI.
2618 2009-02-18 Jason Merrill <jason@redhat.com>
2621 * tree-ssa-ccp.c (get_symbol_constant_value): Don't assume zero
2622 value if DECL_EXTERNAL.
2623 * tree-sra.c (sra_walk_gimple_assign): Likewise.
2624 * target.h (gcc_target::binds_local_p): Clarify "module".
2625 * tree.h (TREE_PUBLIC): Clarify "module".
2627 2009-02-17 Xuepeng Guo <xuepeng.guo@intel.com>
2630 * config/i386/i386.h (CONDITIONAL_REGISTER_USAGE): Move the hunk of
2631 initialization for MS_ABI prior to the hunk of !TARGET_MMX.
2633 2009-02-17 H.J. Lu <hongjiu.lu@intel.com>
2636 * c.opt (Wabi): Support C and ObjC.
2639 * c-opts.c (c_common_handle_option): Handle OPT_Wabi.
2641 * config/i386/i386.c (classify_argument): Warn once about the ABI
2642 change when passing union with long double.
2644 * doc/invoke.texi: Update -Wabi for warning psABI changes.
2646 2009-02-18 Joseph Myers <joseph@codesourcery.com>
2649 * c-parser.c (c_parser_compound_statement): Always enter and leave
2652 2009-02-17 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2655 * config/darwin.h (SUPPORTS_INIT_PRIORITY): Define.
2657 2009-02-18 Jakub Jelinek <jakub@redhat.com>
2659 PR tree-optimization/36922
2660 * tree-data-ref.c (initialize_matrix_A): Handle BIT_NOT_EXPR.
2661 * tree-scalar-evolution.c (interpret_rhs_expr, instantiate_scev_1):
2664 2009-02-17 Richard Sandiford <rdsandiford@googlemail.com>
2666 * config/mips/mips.c (mips_override_options): Set flag_dwarf2_cfi_asm
2669 2009-02-17 Richard Sandiford <rdsandiford@googlemail.com>
2671 * config/mips/mips.md (type): Reclassify lui_movf as "unknown".
2673 2009-02-17 Richard Sandiford <rdsandiford@googlemail.com>
2675 * config/mips/mips.c (mips_gimplify_va_arg_expr): Fix invalid
2678 2009-02-17 Ruan Beihong <ruanbeihong@gmail.com>
2679 Richard Sandiford <rdsandiford@googlemail.com>
2681 * config/mips/mips.c (CODE_FOR_loongson_biadd): Delete.
2682 * config/mips/loongson.md (reduc_uplus_<mode>): Rename to...
2683 (loongson_biadd): ...this.
2685 2009-02-17 Richard Guenther <rguenther@suse.de>
2687 PR tree-optimization/39202
2688 * tree-ssa-structalias.c (do_structure_copy): Before collapsing
2689 a var make sure to follow existing collapses.
2691 2009-02-17 Richard Guenther <rguenther@suse.de>
2694 * langhooks.c (lhd_print_error_function): Check for NULL block.
2696 2009-02-17 Richard Guenther <rguenther@suse.de>
2698 PR tree-optimization/39204
2699 * tree-ssa-pre.c (phi_translate_1): Lookup the value-number
2702 2009-02-17 Uros Bizjak <ubizjak@gmail.com>
2704 * config/soft-fp/double.h: Update from glibc CVS.
2706 2009-02-17 Richard Guenther <rguenther@suse.de>
2708 PR tree-optimization/39207
2709 * tree-ssa-structalias.c (find_what_p_points_to): Do not emit
2710 strict-aliasing warnings for pointers pointing to NULL.
2712 2009-02-16 Joseph Myers <joseph@codesourcery.com>
2715 * c-parser.c (c_parser_braced_init): Call pop_init_level when
2716 skipping until next close brace.
2718 2009-02-16 H.J. Lu <hongjiu.lu@intel.com>
2721 * config/i386/i386.c (ix86_expand_push): Set memory alignment
2722 to function argument boundary.
2724 2009-02-16 Hariharan Sandanagobalane <hariharan@picochip.com>
2726 * config/picochip/picochip.md (lea_add): Allow any nonimmediate
2727 in the lea_add. Reload eventually constraints it properly.
2728 * config/picochip/constraints.md : Remove the target constraint
2729 "b", since it is not needed anymore.
2731 2009-02-16 Jakub Jelinek <jakub@redhat.com>
2733 * gthr-dce.h: Uglify function parameter and local variable names.
2734 * gthr-gnat.h: Likewise.
2735 * gthr-mipssde.h: Likewise.
2736 * gthr-nks.h: Likewise.
2737 * gthr-posix95.h: Likewise.
2738 * gthr-posix.h: Likewise.
2739 * gthr-rtems.h: Likewise.
2740 * gthr-single.h: Likewise.
2741 * gthr-solaris.h: Likewise.
2742 * gthr-tpf.h: Likewise.
2743 * gthr-vxworks.h: Likewise.
2744 * gthr-win32.h: Likewise.
2746 2009-02-15 H.J. Lu <hongjiu.lu@intel.com>
2749 * config/i386/i386.md: Restrict the new peephole2 to move
2750 between MMX/SSE registers.
2752 2009-02-15 Richard Guenther <rguenther@suse.de>
2755 2009-02-13 Richard Guenther <rguenther@suse.de>
2757 * configure.ac: Enable LFS.
2758 * configure: Re-generate.
2759 * config.in: Likewise.
2761 2009-02-13 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2763 * config/spu/spu_internals.h (spu_sr, spu_sra, spu_srqw,
2764 spu_srqwbyte, spu_srqwbytebc): Define.
2765 * config/spu/spu-builtins.def (spu_sr, spu_sra, spu_srqw,
2766 spu_srqwbyte, spu_srqwbytebc): New overloaded builtins.
2767 * config/spu/spu.md ("shrqbybi_<mode>", "shrqbi_<mode>",
2768 "shrqby_<mode>"): New insn-and-split patterns.
2769 * config/spu/spu.c (expand_builtin_args): Determine and return
2770 number of operands using spu_builtin_description data.
2771 (spu_expand_builtin_1): Use it.
2773 2009-02-13 Steve Ellcey <sje@cup.hp.com>
2776 * config/ia64/ia64.c (ia64_function_ok_for_sibcall): Check
2779 2009-02-13 H.J. Lu <hongjiu.lu@intel.com>
2782 * config/i386/i386.c (override_options): Correct warning
2783 messages for -malign-loops, -malign-jumps and -malign-functions.
2785 2009-02-13 H.J. Lu <hongjiu.lu@intel.com>
2788 * config/i386/i386.md: Restrict the new peephole2 to move
2789 between the general purpose registers.
2791 2009-02-13 H.J. Lu <hongjiu.lu@intel.com>
2794 * config/i386/i386.c (type_natural_mode): Add a new argument.
2795 Return the original mode and warn ABI change if vector size is 32byte.
2796 (function_arg_advance): Updated.
2797 (function_arg): Likewise.
2798 (ix86_function_value): Likewise.
2799 (ix86_return_in_memory): Likewise.
2800 (ix86_sol10_return_in_memory): Likewise.
2801 (ix86_gimplify_va_arg): Likewise.
2802 (function_arg_32): Don't warn ABX ABI change here.
2803 (function_arg_64): Likewise.
2805 2009-02-13 Bernd Schmidt <bernd.schmidt@analog.com>
2807 * loop-iv.c (implies_p): In the final case, test that operands 0
2808 of the two comparisons match.
2810 * config/bfin/bfin.c (find_prev_insn_start): New function.
2811 (bfin_optimize_loop): Use it in some cases instead of PREV_INSN.
2812 (find_next_insn_start): Move.
2814 2009-02-13 Richard Guenther <rguenther@suse.de>
2816 * configure.ac: Enable LFS.
2817 * configure: Re-generate.
2818 * config.in: Likewise.
2820 2009-02-13 Joseph Myers <joseph@codesourcery.com>
2823 * c-parser.c (c_parser_parms_list_declarator): Discard pending
2824 sizes on syntax error after some arguments have been parsed.
2826 2009-02-12 Jakub Jelinek <jakub@redhat.com>
2828 * doc/invoke.texi (-fira): Remove.
2830 2009-02-12 H.J. Lu <hongjiu.lu@intel.com>
2832 * caller-save.c: Replace regclass.c with reginfo.c in comments.
2833 * recog.c: Likewise.
2836 2009-02-12 Uros Bizjak <ubizjak@gmail.com>
2838 * longlong.h (sub_ddmmss): New for ia64. Ported from GMP 4.2.
2839 (umul_ppmm): Likewise.
2840 (count_leading_zeros): Likewise.
2841 (count_trailing_zeros): Likewise.
2842 (UMUL_TIME): Likewise.
2844 2009-02-12 H.J. Lu <hongjiu.lu@intel.com>
2846 * config.gcc (ia64*-*-linux*): Add ia64/t-fprules-softfp and
2847 soft-fp/t-softfp to tmake_file.
2849 * config/ia64/ia64.c (ia64_soft_fp_init_libfuncs): New.
2850 (ia64_expand_compare): Use HPUX library for TFmode only for HPUX.
2851 (ia64_builtins) [IA64_BUILTIN_COPYSIGNQ, IA64_BUILTIN_FABSQ,
2852 IA64_BUILTIN_INFQ]: New.
2853 (ia64_init_builtins): Initialize __builtin_infq,
2854 __builtin_fabsq and __builtin_copysignq if not HPUX.
2855 (ia64_expand_builtin): Handle IA64_BUILTIN_COPYSIGNQ,
2856 IA64_BUILTIN_FABSQ and IA64_BUILTIN_INFQ.
2858 * config/ia64/lib1funcs.asm (__divtf3): Define only if
2860 (__fixtfti): Likewise.
2861 (__fixunstfti): Likewise.
2862 (__floattitf): Likewise.
2864 * config/ia64/libgcc-glibc.ver: New.
2865 * config/ia64/t-fprules-softfp: Likewise.
2866 * config/ia64/sfp-machine.h: Likewise.
2868 * config/ia64/linux.h (LIBGCC2_HAS_TF_MODE): New.
2869 (LIBGCC2_TF_CEXT): Likewise.
2870 (TF_SIZE): Likewise.
2871 (TARGET_INIT_LIBFUNCS): Likewise.
2873 * config/ia64/t-glibc (SHLINB_MAPFILES):
2874 Add $(srcdir)/config/ia64/libgcc-glibc.ver.
2876 2009-02-12 H.J. Lu <hongjiu.lu@intel.com>
2878 * config/i386/i386.c (construct_container): Rewrite processing
2879 BLKmode with X86_64_SSE_CLASS.
2881 2009-02-12 Paolo Bonzini <bonzini@gnu.org>
2884 * config/i386/i386.md: Replace simplify_replace_rtx with
2885 replace_rtx in the new peephole2.
2887 2009-02-12 Nathan Sidwell <nathan@codesourcery.com>
2889 * doc/invoke.texi (Optimize Options): Stop claiming inlining and
2890 loop unrolling do not happen at -O2.
2892 2009-02-12 Michael Matz <matz@suse.de>
2894 * gcc.c (ASM_DEBUG_SPEC): Check for -g0.
2896 2009-02-12 Jakub Jelinek <jakub@redhat.com>
2898 * dwarf2out.c (dwarf2out_finish): Force output of comp_unit_die
2901 2009-02-12 Ben Elliston <bje@au.ibm.com>
2903 * config/rs6000/rs6000.md (allocate_stack): Use _stack form of
2904 patterns when updating the back chain. Missed in the 2009-02-10
2907 2009-02-11 Janis Johnson <janis187@us.ibm.com>
2909 * doc/extend.texi (Decimal Floating Types): Update identifier of
2910 draft TR and list of missing support.
2912 2009-02-11 Jakub Jelinek <jakub@redhat.com>
2915 * gimplify.c (omp_notice_variable): If adding GOVD_SEEN
2916 bit to variable length decl's flags, add it also to its
2917 pointer replacement variable.
2919 2009-02-11 Uros Bizjak <ubizjak@gmail.com>
2920 Jakub Jelinek <jakub@redhat.com>
2923 * config/i386/i386.md (UNSPEC_MEMORY_BLOCKAGE): New constant.
2924 (memory_blockage): New expander.
2925 (*memory_blockage): New insn pattern.
2926 * config/i386/i386.c (ix86_expand_prologue): Use memory_blockage
2927 instead of general blockage at the end of function prologue when
2928 frame pointer is used to access red zone area. Do not emit blockage
2929 when profiling, it is emitted in generic code.
2930 (ix86_expand_epilogue): Emit memory_blockage at the beginning of
2931 function epilogue when frame pointer is used to access red zone area.
2933 2009-02-11 Paolo Bonzini <bonzini@gnu.org>
2936 * config/i386/i386.md: Add two new peephole2 to avoid mov followed
2937 by arithmetic with memory operands.
2938 * config/i386/predicates.md (commutative_operator): New.
2940 2009-02-10 Janis Johnson <janis187@us.ibm.com>
2942 * doc/extend.texi (Fixed-Point Types): Break long paragraphs into
2945 2009-02-10 Eric Botcazou <ebotcazou@adacore.com>
2947 * alias.h (record_alias_subset): Declare.
2948 * alias.c (record_alias_subset): Make global.
2950 2009-02-10 Nick Clifton <nickc@redhat.com>
2952 * tree-parloops.c: Change license to GPLv3.
2953 * ipa-struct-reorg.c: Change license to GPLv3.
2954 * ipa-struct-reorg.h: Change license to GPLv3.
2956 2009-02-10 Steve Ellcey <sje@cup.hp.com>
2959 * c-decl.c (start_struct): Return NULL on error.
2961 2009-02-10 Jakub Jelinek <jakub@redhat.com>
2964 * cfgloopmanip.c (remove_path): Call remove_bbs after
2965 cancel_loop_tree, not before it.
2968 * function.h (struct function): Add has_local_explicit_reg_vars bit.
2969 * gimplify.c (gimplify_bind_expr): Set it if local DECL_HARD_REGISTER
2970 VAR_DECLs were seen.
2971 * tree-ssa-live.c (remove_unused_locals): Recompute
2972 cfun->has_local_explicit_reg_vars.
2973 * tree-ssa-sink.c (statement_sink_location): Don't sink BLKmode
2974 copies or clearings if cfun->has_local_explicit_reg_vars.
2976 2009-02-10 Uros Bizjak <ubizjak@gmail.com>
2979 * config/i386/i386.c (expand_prologue): Emit blockage at the end
2980 of function prologue when frame pointer is used to access
2983 2009-02-10 Richard Guenther <rguenther@suse.de>
2986 * gimplify.c (gimple_regimplify_operands): Always look if
2987 we need to create a temporary.
2989 2009-02-10 Richard Guenther <rguenther@suse.de>
2991 PR tree-optimization/39132
2992 * tree-loop-distribution.c (todo): New global var.
2993 (generate_memset_zero): Trigger TODO_rebuild_alias.
2994 (tree_loop_distribution): Return todo.
2996 2009-02-10 H.J. Lu <hongjiu.lu@intel.com>
2999 * config/i386/i386.c (x86_64_reg_class): Remove X86_64_AVX_CLASS.
3000 (x86_64_reg_class_name): Removed.
3001 (classify_argument): Return 0 if bytes > 32. Return 0 if the
3002 first one isn't X86_64_SSE_CLASS or any other ones aren't
3003 X86_64_SSEUP_CLASS when size > 16bytes. Don't turn
3004 X86_64_SSEUP_CLASS into X86_64_SSE_CLASS if the preceded one
3005 is X86_64_SSEUP_CLASS. Set AVX modes to 1 X86_64_SSE_CLASS
3006 and 3 X86_64_SSEUP_CLASS.
3007 (construct_container): Remove X86_64_AVX_CLASS. Handle 4
3008 registers with 1 X86_64_SSE_CLASS and 3 X86_64_SSEUP_CLASS.
3010 2009-02-10 Ben Elliston <bje@au.ibm.com>
3012 * config/rs6000/rs6000.md (allocate_stack): Always use an update
3013 form instruction to update the stack back chain word, even if the
3014 user has disabled the generation of update instructions.
3015 (movdi_<mode>_update_stack): New.
3016 (movsi_update_stack): Likewise.
3017 * config/rs6000/rs6000.c (rs6000_emit_allocate_stack): Likewise,
3018 always use an update form instruction to update the stack back
3021 2009-02-09 Sebastian Pop <sebastian.pop@amd.com>
3024 * graphite.c (if_region_set_false_region): After moving a region in
3025 the false branch of a condition, remove the empty dummy basic block.
3026 (gloog): Remove wrong fix for PR38953.
3028 2009-02-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3030 * config/spu/spu.c (array_to_constant): Fix (latent) wrong-code
3031 generation due to implicit sign extension.
3033 2009-02-09 Eric Botcazou <ebotcazou@adacore.com>
3036 * tree-ssa-coalesce.c (add_coalesce): Cap the costs of coalesce pairs
3037 at MUST_COALESCE_COST-1 instead of MUST_COALESCE_COST.
3039 2009-02-09 Richard Guenther <rguenther@suse.de>
3042 * convert.c (convert_to_real): Disable (float)fn((double)x)
3043 to fnf(x) conversion if errno differences may occur and
3044 -fmath-errno is set.
3046 2009-02-07 Anatoly Sokolov <aesok@post.ru>
3048 * config/avr/avr.c (avr_mcu_t): Add ata6289 device.
3049 * config/avr/avr.h (LINK_SPEC, CRT_BINUTILS_SPECS): (Ditto.).
3050 * config/avr/t-avr (MULTILIB_MATCHES): (Ditto.).
3052 2009-02-06 Joseph Myers <joseph@codesourcery.com>
3055 * c-common.c (handle_alias_attribute): Disallow attribute for
3056 anything not a FUNCTION_DECL or VAR_DECL.
3058 2009-02-06 Janis Johnson <janis187@us.ibm.com>
3061 * real.c (do_compare): Special-case compare of zero against
3062 decimal float value.
3064 2009-02-06 Joseph Myers <joseph@codesourcery.com>
3067 * c-decl.c (grokdeclarator): Don't treat [] declarators in fields
3068 as indicating flexible array members unless the field itself is
3069 being declarared as the incomplete array.
3071 2009-02-06 Jan Hubicka <jh@suse.cz>
3073 PR tree-optimization/38844
3074 * ipa-inline.c (try_inline): Stop inlining recursion when edge
3077 2009-02-06 Richard Guenther <rguenther@suse.de>
3080 * tree-cfg.c (need_fake_edge_p): Force a fake edge for
3081 fork because we may expand it as __gcov_fork.
3083 2009-02-06 Nick Clifton <nickc@redhat.com>
3085 * config/m32c/m32c.h (PCC_BITFIELD_TYPE_MATTERS): Define to zero.
3087 2009-02-06 Paolo Bonzini <bonzini@gnu.org>
3089 PR tree-optimization/35659
3090 * tree-ssa-sccvn.c (vn_constant_eq, vn_reference_eq, vn_nary_op_eq
3091 vn_phi_eq): Shortcut if hashcode does not match.
3092 (vn_reference_op_compute_hash): Do not call iterative_hash_expr for
3094 * tree-ssa-pre.c (pre_expr_hash): Look at hashcode if available,
3095 and avoid iterative_hash_expr.
3096 (FOR_EACH_VALUE_ID_IN_SET): New.
3097 (value_id_compare): Remove.
3098 (sorted_array_from_bitmap_set): Use FOR_EACH_VALUE_ID_IN_SET to
3099 sort expressions by value id.
3101 2009-02-05 Kaz Kojima <kkojima@gcc.gnu.org>
3104 * config/sh/predicates.md (general_movsrc_operand): Don't check
3105 the subreg of system registers here.
3107 2009-02-05 Jakub Jelinek <jakub@redhat.com>
3110 * cgraphunit.c (cgraph_function_versioning): Clear also DECL_VIRTUAL_P
3113 2009-02-05 Paolo Bonzini <bonzini@gnu.org>
3115 PR rtl-optimization/39110
3116 * rtlanal.c (rtx_addr_can_trap_p_1): Shortcut unaligned
3117 addresses, not aligned ones.
3119 2009-02-05 Daniel Berlin <dberlin@dberlin.org>
3120 Richard Guenther <rguenther@suse.de>
3122 PR tree-optimization/39100
3123 * tree-ssa-structalias.c (do_ds_constraint): Actually do what the
3124 comment says and add edges.
3126 2009-02-05 Joseph Myers <joseph@codesourcery.com>
3129 * c-common.c (handle_tls_model_attribute): Ignore attribute for
3130 non-VAR_DECLs without checking DECL_THREAD_LOCAL_P.
3132 2009-02-04 Tobias Grosser <grosser@fim.uni-passau.de>
3134 * graphite.c (bb_in_sese_p, sese_build_livein_liveouts_use,
3135 sese_build_livein_liveouts_bb, sese_build_livein_liveouts,
3136 register_bb_in_sese, new_sese, free_sese): Moved.
3137 (dot_scop_1, build_scop_loop_nests, build_loop_iteration_domains,
3138 outermost_loop_in_scop, build_scop_iteration_domain,
3139 expand_scalar_variables_ssa_name, get_vdef_before_scop,
3140 limit_scops): Use bb_in_sese_p instead of bb_in_scop_p.
3141 Use loop_in_sese_p instead of loop_in_scop_p.
3142 (new_graphite_bb, gloog): Do not initialize SCOP_BBS_B.
3143 (new_scop, free_scop): Remove SCOP_LOOP2CLOOG_LOOP and SCOP_BBS_B.
3144 (scopdet_basic_block_info): Fix bug in scop detection.
3145 (new_loop_to_cloog_loop_str, hash_loop_to_cloog_loop,
3146 eq_loop_to_cloog_loop): Remove.
3147 (nb_loops_around_loop_in_scop, nb_loop
3148 ref_nb_loops): Moved here...
3149 * graphite.h (ref_nb_loops): ... from here.
3150 (struct scop): Remove bbs_b bitmap and loop2cloog_loop.
3151 (loop_domain_dim, loop_iteration_vector_dim): Remove.
3152 (SCOP_BBS_B, bb_in_scop_p, loop_in_scop_p): Removed.
3153 * testsuite/gcc.dg/graphite/scop-19.c: New
3155 2009-02-04 Paolo Bonzini <bonzini@gnu.org>
3156 Hans-Peter Nilsson <hp@axis.com>
3158 PR rtl-optimization/37889
3159 * rtlanal.c (rtx_addr_can_trap_p_1): Add offset and size arguments.
3160 Move offset handling from PLUS to before the switch. Use new
3161 arguments when considering SYMBOL_REFs too.
3162 (rtx_addr_can_trap_p): Pass dummy offset and size.
3163 (enum may_trap_p_flags): Remove.
3164 (may_trap_p_1): Pass size from MEM_SIZE.
3166 PR rtl-optimization/38921
3167 * loop-invariant.c (find_invariant_insn): Use may_trap_or_fault_p.
3168 * rtl.h (may_trap_after_code_motion_p): Delete prototype.
3169 * rtlanal.c (may_trap_after_code_motion_p): Delete.
3170 (may_trap_p, may_trap_or_fault_p): Pass 0/1 as flags.
3172 2009-02-04 H.J. Lu <hongjiu.lu@intel.com>
3174 AVX Programming Reference (January, 2009)
3175 * config/i386/sse.md (*vpclmulqdq): New.
3177 2009-02-04 Jakub Jelinek <jakub@redhat.com>
3179 PR tree-optimization/38977
3180 PR gcov-profile/38292
3181 * calls.c (special_function_p): Disregard __builtin_ prefix.
3183 2009-02-04 Hariharan Sandanagobalane <hariharan@picochip.com>
3185 * config/picochip/picochip.c (GO_IF_LEGITIMATE_ADDRESS): Disallow
3186 non-indexable addresses even before reload.
3188 2009-02-03 Joseph Myers <joseph@codesourcery.com>
3191 * c-decl.c (grokdeclarator): Mark [*] arrays in field declarators
3192 as having variable size. Do not give an error for unnamed
3193 parameters with [*] declarators. Give a warning for type names
3194 with [*] declarators and mark them as variable size.
3195 * c-parser.c (c_parser_sizeof_expression): Do not give an error
3196 for sizeof applied to [*] type names.
3198 2009-02-03 Andrew Pinski <andrew_pinski@playstation.sony.com>
3201 * convert.c (convert_to_integer): Treat OFFSET_TYPE like INTEGER_TYPE.
3203 2009-02-03 Jakub Jelinek <jakub@redhat.com>
3205 * gcc.c (process_command): Update copyright notice dates.
3206 * gcov.c (print_version): Likewise.
3207 * gcov-dump.c (print_version): Likewise.
3208 * mips-tfile.c (main): Likewise.
3209 * mips-tdump.c (main): Likewise.
3211 2009-02-03 Joseph Myers <joseph@codesourcery.com>
3214 * c-typeck.c (composite_type): Set TYPE_SIZE and TYPE_SIZE_UNIT
3215 for composite type involving a zero-length array type.
3217 2009-02-03 Jakub Jelinek <jakub@redhat.com>
3220 * function.c (match_asm_constraints_1): Skip over
3221 initial optional % in the constraint.
3224 * c-parser.c (c_parser_postfix_expression): If fixed point is not
3225 supported, don't accept FIXED_CSTs.
3226 * c-decl.c (finish_declspecs): Error if fixed point is not supported
3227 and _Sat is used without _Fract/_Accum. Set specs->type to
3228 integer_type_node for cts_fract/cts_accum if fixed point is not
3231 2009-02-02 Catherine Moore <clm@codesourcery.com>
3233 * sde.h (SUBTARGET_ARM_SPEC): Don't assemble -fpic code as -mabicalls.
3235 2009-02-02 Richard Sandiford <rdsandiford@googlemail.com>
3237 * config/mips/mips.h (FILE_HAS_64BIT_SYMBOLS): New macro.
3238 (ABI_HAS_64BIT_SYMBOLS): Use it.
3239 (DWARF2_ADDR_SIZE): Use it instead of ABI_HAS_64BIT_SYMBOLS.
3241 2009-02-02 Paul Brook <paul@codesourcery.com>
3243 * config/arm/arm.md (arm_addsi3): Add r/r/k alternative.
3245 2009-02-02 Jakub Jelinek <jakub@redhat.com>
3248 * recog.h (asm_operand_ok): Add constraints argument.
3249 * recog.c (asm_operand_ok): Likewise. If it is set, for digits
3250 recurse on matching constraint.
3251 (check_asm_operands): Pass constraints as 3rd argument to
3252 asm_operand_ok. Don't look up matching constraint here.
3253 * stmt.c (expand_asm_operands): Pass NULL as 3rd argument
3256 2009-02-02 Ben Elliston <bje@au.ibm.com>
3258 * doc/tm.texi (Storage Layout): Fix TARGET_ALIGN_ANON_BITFIELD and
3259 TARGET_NARROW_VOLATILE_BITFIELD macro names.
3261 2009-01-31 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
3263 * doc/install.texi (hppa*-hp-hpux*): Update binutils and linker
3264 information. Remove some obsolete information. Reorganize.
3266 * config/pa/fptr.c: Revert license to GPL 2.
3267 * config/pa/milli64.S: Likewise.
3269 2009-01-31 Dave Korn <dave.korn.cygwin@gmail.com>
3272 * mkmap-flat.awk (END): Use pe_dll command-line arg to pass
3273 LIBRARY name in, instead of hard-coding it.
3274 * config.gcc (i[34567]86-*-pe | i[34567]86-*-cygwin*): Add an
3275 extra target make frag to tmake_files according to EH model.
3276 (i[34567]86-*-mingw* | x86_64-*-mingw*): Likewise.
3277 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: Add new target
3278 frags that define makefile variable EH_MODEL appropriately.
3279 * config/i386/cygming.h (DWARF2_UNWIND_INFO): Add comment.
3280 * config/i386/cygwin.h (LIBGCC_EH_EXTN): Define to nothing or
3281 to "-sjlj" according to type of EH configured.
3282 (LIBGCC_SONAME): Concatenate it to shared library base name.
3283 * config/i386/mingw32.h (LIBGCC_EH_EXTN): Define to "_dw2" or
3284 to "_sjlj" according to type of EH configured.
3285 (LIBGCC_SONAME): Concatenate it to shared library base name.
3286 * config/i386/t-cygming (SHLIB_SONAME): Use EH_MODEL.
3287 (SHLIB_LINK): Add missing semicolon to if-else construct.
3288 (SHLIB_MKMAP_OPTS): Pass library name to mkmap-flat.awk as
3289 string value of "pe_dll" command-line option.
3290 * config/i386/t-cygwin (SHLIB_EH_EXTENSION): New helper.
3291 (SHLIB_SONAME): Use it when overriding t-cygming default.
3292 (SHLIB_IMPLIB): Override t-cygming default.
3293 (SHLIB_MKMAP_OPTS): Pass library name to mkmap-flat.awk as
3294 string value of "pe_dll" command-line option.
3296 2009-01-31 Dave Korn <dave.korn.cygwin@gmail.com>
3299 * config/i386/i386.c (ix86_builtin_setjmp_frame_value): New.
3300 (TARGET_BUILTIN_SETJMP_FRAME_VALUE): Override default to point at it.
3302 2009-01-31 Richard Guenther <rguenther@suse.de>
3304 PR tree-optimization/38937
3305 * tree-ssa-structalias.c (do_sd_constraint): Do not shortcut
3306 computing the transitive closure.
3308 2009-01-30 Richard Guenther <rguenther@suse.de>
3310 PR tree-optimization/39041
3311 * tree-ssa-forwprop.c (forward_propagate_addr_expr_1):
3312 Propagate variable indices only if the types match for this stmt.
3314 2009-01-30 Jakub Jelinek <jakub@redhat.com>
3317 * c-decl.c (pop_scope): Set DECL_EXTERNAL for functions declared
3318 inline but never defined.
3320 2009-01-30 Wolfgang Gellerich <gellerich@de.ibm.com>
3322 * config/s390/s390.md (*insv<mode>_reg_extimm): Removed.
3323 (*insv_h_di_reg_extimm): New insn.
3324 (*insv_l<mode>_reg_extimm): New insn.
3326 2009-01-30 Hariharan Sandanagobalane <hariharan@picochip.com>
3328 * config/picochip/picochip.c (flag_conserve_stack): set
3329 PARAM_LARGE_STACK_FRAME and PARAM_STACK_FRAME_GROWTH to zero under
3330 fconserve-stack. Reduce call-overhead used by inliner.
3332 2009-01-30 Hariharan Sandanagobalane <hariharan@picochip.com>
3335 * common.opt (flag_conserve_stack): Initialised to zero.
3337 2009-01-30 Kai Tietz <kai.tietz@onevision.com>
3340 * config/i386/i386.c (ix86_can_use_return_insn_p): Check for nsseregs.
3341 (ix86_expand_epilogue): Take nsseregs in account to use proper restore
3344 2009-01-29 H.J. Lu <hongjiu.lu@intel.com>
3346 * ira-color.c (allocno_reload_assign): Update comments.
3347 * regmove.c (regmove_optimize): Likewise.
3351 2009-01-29 Robert Millan <rmh@aybabtu.com>
3353 * gcc/config.gcc: Recognize GNU/kOpenSolaris (*-*-kopensolaris*-gnu).
3354 * gcc/config/i386/kopensolaris-gnu.h: New file. Undefine
3355 `MD_UNWIND_SUPPORT'.
3356 * gcc/config/kopensolaris-gnu.h: New file (based on kfreebsd-gnu.h).
3358 2009-01-29 Kazu Hirata <kazu@codesourcery.com>
3360 PR tree-optimization/39007
3361 * tree-loop-distribution.c (generate_builtin): Use
3362 recompute_dominator to compute the immediate dominator of the
3363 basic block just after the loop.
3365 2009-01-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3367 * config/i386/sol2-10.h [!HAVE_AS_IX86_DIFF_SECT_DELTA]
3368 (ASM_OUTPUT_DWARF_PCREL): Define.
3370 2009-01-29 Vladimir Makarov <vmakarov@redhat.com>
3372 * doc/tm.texi (TARGET_IRA_COVER_CLASSES): Modify description.
3373 * doc/passes.texi: Remove entries about regclass, local-alloc, and
3374 global. Modify entries about regmove and IRA.
3376 * ra-conflict.c: Remove the file.
3378 * reload.c (push_reload, find_dummy_reload): Remove flag_ira.
3380 * tree-pass.h (pass_local_alloc, pass_global_alloc): Remove.
3381 (pass_regclass_init): Rename to pass_reginfo_init.
3383 * cfgloopanal.c (estimate_reg_pressure_cost): Remove flag_ira.
3385 * toplev.h (flag_ira): Remove.
3387 * caller-save.c (setup_save_areas): Remove flag_ira.
3389 * ira-color.c (ira_reuse_stack_slot, ira_mark_new_stack_slot): Ditto.
3391 * global.c: Remove the file.
3393 * opts.c: (decode_options): Remove flag_ira.
3395 * hard-reg-set.h (losing_caller_save_reg_set): Remove.
3397 * regmove.c: Modify file description.
3398 (find_use_as_address, try_auto_increment): Define them only if
3399 AUTO_INC_DEC is defined.
3400 (replacement_quality, replace_in_call_usage, fixup_match_1,
3401 stable_and_no_regs_but_for_p): Remove.
3402 (reg_set_in_bb): Make it static.
3403 (regmove_optimize): Remove flag_ira and code which worked for
3406 * local-alloc.c: Remove the file.
3408 * common.opt (fira): Remove.
3410 * ira.c: Include except.h.
3411 (eliminable_regset): Move from global.c.
3412 (mark_elimination): Ditto. Remove flag_ira.
3413 (reg_renumber, struct equivalence, reg_equiv, equiv_mem,
3414 equiv_mem_modified, validate_equiv_mem_from_store,
3415 validate_equiv_mem, equiv_init_varies_p, equiv_init_movable_p,
3416 contains_replace_regs, memref_referenced_p, memref_used_between_p,
3417 no_equiv, recorded_label_ref): Move from local-alloc.c.
3418 (update_equiv_regs): Ditto. Make it static.
3419 (print_insn_chain, print_insn_chains): Move it from global.c.
3420 (pseudo_for_reload_consideration_p): Ditto. Remove flag_ira.
3421 (build_insn_chain): Ditto. Make it static.
3422 (ra_init_live_subregs): Move from ra-conflict.c. Make it static.
3423 Rename to init_live_subregs.
3424 (gate_ira): Remove flag_ira.
3426 * regclass.c: Rename reginfo.c. Change file description.
3427 (FORBIDDEN_INC_DEC_CLASSES): Remove.
3428 (reg_class_superclasses, forbidden_inc_dec_class, in_inc_dec): Remove.
3429 (init_reg_sets_1): Remove code for evaluation of
3430 reg_class_superclasses and losing_caller_save_reg_set.
3431 (init_regs): Remove init_reg_autoinc.
3432 (struct costs, costs, init_cost, ok_for_index_p_nonstrict,
3433 ok_for_base_p_nonstrict): Remove.
3434 (regclass_init): Rename to reginfo_init. Don't initialize init_cost.
3435 (pass_regclass_init): Rename to pass_reginfo_init. Modify
3436 corresponding entries.
3437 (dump_regclass, record_operand_costs, scan_one_insn,
3438 init_reg_autoinc, regclass, record_reg_classes, copy_cost,
3439 record_address_regs, auto_inc_dec_reg_p): Remove.
3440 (gt-regclass.h): Rename to gt-reginfo.h.
3442 * rtl.h (dump_global_regs, retry_global_alloc,
3443 build_insn_chain, dump_local_alloc, update_equiv_regs): Remove.
3445 * Makefile.in (RA_H): Remove.
3446 (OBJS-common): Remove global.o, local-alloc.o, and ra-conflict.o.
3447 Rename regclass.o to reginfo.o.
3448 (regclass.o): Rename to reginfo.o. Rename gt-regclass.h to
3450 (global.o, local-alloc.o, ra-conflict.o): Remove entries.
3451 (GTFILES): Rename regclass.c to reginfo.c.
3453 * passes.c (init_optimization_passes): Remove pass_local_alloc and
3454 pass_global_alloc. Rename pass_regclass_init to pass_reginfo_init.
3456 * reload1.c (compute_use_by_pseudos, reload, count_pseudo,
3457 count_spilled_pseudo, find_reg, alter_reg, delete_output_reload):
3459 (finish_spills): Ditto. Remove code for !flag_ira.
3461 2009-01-29 Kenneth Zadeck <zadeck@naturalbridge.com>
3464 * doc/invoke.texi (rtl debug options): Complete rewrite.
3465 * auto-inc-dec.c (pass_inc_dec): Rename pass from "auto-inc-dec"
3467 * mode-switching.c (pass_mode_switching): Rename pass from
3468 "mode-sw" to "mode_sw".
3469 * except.c (pass_convert_to_eh_ranges): Rename pass from
3470 "eh-ranges" to "eh_ranges".
3471 * lower-subreg.c (pass_lower_subreg): Renamed pass from "subreg"
3474 2009-01-29 Andrey Belevantsev <abel@ispras.ru>
3475 Alexander Monakov <amonakov@ispras.ru>
3478 * sel-sched.c (count_occurrences_1): Check that *cur_rtx is a hard
3480 (move_exprs_to_boundary): Change return type and pass through
3481 should_move from move_op. Relax assert. Update usage ...
3482 (schedule_expr_on_boundary): ... here. Use should_move instead of
3484 (move_op_orig_expr_found): Indicate that insn was disconnected from
3486 (code_motion_process_successors): Do not call after_merge_succs
3487 callback if original expression was not found when traversing any of
3489 (code_motion_path_driver): Change return type. Update prototype.
3490 (move_op): Update comment. Add a new parameter (should_move). Update
3491 prototype. Set *should_move based on indication provided by
3492 move_op_orig_expr_found.
3494 2009-01-28 Pat Haugen <pthaugen@us.ibm.com>
3496 * doc/invoke.texi (avoid-indexed-addresses): Document new option.
3497 * config/rs6000/rs6000-protos.h (avoiding_indexed_address_p): Declare.
3498 * config/rs6000/rs6000.opt (avoid-indexed-addresses): New option.
3499 * config/rs6000/rs6000.c (rs6000_override_options): Default
3500 avoid-indexed-addresses on for Power6, off for everything else.
3501 (avoiding_indexed_address_p): New function.
3502 (rs6000_legitimize_address): Use it.
3503 (rs6000_legitimate_address): Likewise.
3504 * config/rs6000/rs6000.md (movXX_updateX): Likewise
3506 2009-01-28 Kazu Hirata <kazu@codesourcery.com>
3508 PR tree-optimization/38997
3509 * tree-loop-distribution.c (generate_memset_zero): Use
3510 POINTER_PLUS_EXPR for a pointer addition.
3512 2009-01-28 Andreas Krebbel <krebbel1@de.ibm.com>
3514 * config/s390/s390.md (bswap<mode>2): New pattern added.
3516 2009-01-28 Wolfgang Gellerich <gellerich@de.ibm.com>
3518 * config/s390/s390.md (*tls_load_31): Added type attribute.
3520 2009-01-28 Wolfgang Gellerich <gellerich@de.ibm.com>
3522 * config/s390/s390.md: Fix a few comments.
3524 2009-01-28 Wolfgang Gellerich <gellerich@de.ibm.com>
3526 * config/s390/s390.md (*tmsi_reg): Fixed z10prop attribute.
3527 (*tm<mode>_full): Fixed z10prop attribute.
3528 (*tst<mode>_extimm): Fixed z10prop attribute.
3529 (*tst<mode>_cconly_extimm): Fixed z10prop attribute.
3530 (*tstqiCCT_cconly): Fixed z10prop attribute.
3531 (*cmpsi_ccu_zerohi_rlsi): Fixed z10prop attribute.
3532 (*movsi_larl): Fixed z10prop attribute.
3533 (*movsi_zarch): Fixed z10prop attribute.
3534 (*movsi_eas): Fixed z10prop attribute.
3535 (*movhi): Fixed z10prop attribute.
3536 (*movqi): Fixed z10prop attribute.
3537 (*movstrictqi): Fixed z10prop attribute.
3538 (*mov<mode>): Fixed z10prop attribute.
3539 (*movcc): Fixed z10prop attribute.
3540 (*sethighpartdi_64): Fixed z10prop attribute.
3541 (*zero_extendhi<mode>2_z10): Fixed z10prop attribute.
3542 (*negdi2_sign_cc): Fixed z10prop attribute.
3543 (*negdi2_sign): Fixed z10prop attribute.
3544 (*absdi2_sign_cc): Fixed z10prop attribute.
3545 (*absdi2_sign): Fixed z10prop attribute.
3546 (*negabsdi2_sign_cc): Fixed z10prop attribute.
3547 (*negabsdi2_sign): Fixed z10prop attribute.
3548 (*cmp_and_trap_signed_int<mode>): Fixed z10prop attribute.
3549 (*cmp_and_trap_unsigned_int<mode>): Fixed z10prop attribute.
3550 (doloop_si64): Fixed z10prop attribute.
3551 (doloop_si31): Fixed z10prop attribute.
3552 (doloop_long): Fixed z10prop attribute.
3553 (indirect_jump): Fixed z10prop attribute.
3554 (nop): Fixed z10prop attribute.
3555 (main_base_64): Fixed z10prop attribute.
3556 (reload_base_64): Fixed z10prop attribute.
3558 2009-01-28 Jakub Jelinek <jakub@redhat.com>
3560 PR rtl-optimization/38740
3561 * reorg.c (gate_handle_delay_slots): Avoid dbr scheduling
3563 * config/mips/mips.c (mips_reorg): Likewise.
3565 2009-01-28 Richard Guenther <rguenther@suse.de>
3567 PR tree-optimization/38926
3568 * tree-ssa-pre.c (add_to_value): Assert we add only expressions
3569 with the correct value id to a value.
3570 (do_regular_insertion): Use the value number of edoubleprime
3571 for the value number of the expr.
3574 2008-08-21 Richard Guenther <rguenther@suse.de>
3576 * tree-ssa-pre.c (insert_into_preds_of_block): Before inserting
3577 a PHI ask VN if it is already available.
3578 * tree-ssa-sccvn.h (vn_phi_lookup): Declare.
3579 * tree-ssa-sccvn.c (vn_phi_lookup): Export.
3581 2009-01-28 Jakub Jelinek <jakub@redhat.com>
3584 * tree-vrp.c (extract_range_from_assert): For LE_EXPR and LT_EXPR
3585 set to varying whenever max has TREE_OVERFLOW set, similarly
3586 for GE_EXPR and GT_EXPR and TREE_OVERFLOW min.
3588 2009-01-28 Richard Guenther <rguenther@suse.de>
3591 * tree-ssa.c (warn_uninitialized_var): Do not warn for seemingly
3592 uninitialized aggregate uses in call arguments.
3594 2009-01-28 Paolo Bonzini <bonzini@gnu.org>
3596 PR tree-optimization/38984
3597 * tree-ssa-structalias.c (get_constraints_for_1): Do not use
3598 the nothing_id variable if -fno-delete-null-pointer-checks.
3600 2009-01-28 Uros Bizjak <ubizjak@gmail.com>
3603 * config/i386/i386.md (set_rip_rex64): Wrap operand 1 in label_ref.
3604 (set_got_offset_rex64): Ditto.
3606 2009-01-27 H.J. Lu <hongjiu.lu@intel.com>
3609 * doc/extend.texi: Improve local variable with asm reg.
3611 2009-01-27 Adam Nemet <anemet@caviumnetworks.com>
3613 * c.opt (Wpacked-bitfield-compat): Change init value to -1.
3614 * c-opts.c (c_common_post_options): If -W*packed-bitfield-compat
3615 was not supplied then set warn_packed_bitfield_compat to the
3617 * stor-layout.c (place_field): Check warn_packed_bitfield_compat
3620 2009-01-27 Richard Guenther <rguenther@suse.de>
3622 PR tree-optimization/38503
3623 * cfgexpand.c (expand_gimple_basic_block): Ignore
3624 GIMPLE_CHANGE_DYNAMIC_TYPE during expansion.
3625 * tree-ssa-structalias.c (set_uids_in_ptset): Do not prune
3626 variables that cannot have TBAA applied.
3627 (compute_points_to_sets): Do not remove GIMPLE_CHANGE_DYNAMIC_TYPE
3630 2009-01-27 Uros Bizjak <ubizjak@gmail.com>
3633 * calls.c (initialize_argument_information): Do not wrap complex
3634 arguments in SAVE_EXPR.
3636 2009-01-26 Andreas Tobler <a.tobler@schweiz.org>
3638 * config/t-vxworks (LIBGCC2_INCLUDES): Fix typo.
3639 (INSTALL_LIBGCC): Revert typo commit.
3641 2009-01-26 Richard Guenther <rguenther@suse.de>
3643 PR tree-optimization/38745
3644 * tree-ssa-alias.c (update_alias_info_1): Exclude RESULT_DECL
3645 from special handling.
3647 2009-01-26 Richard Guenther <rguenther@suse.de>
3649 PR tree-optimization/38745
3650 * tree-ssa.c (execute_update_addresses_taken): Do not include
3651 variables that cannot possibly be a register in not_reg_needs.
3652 Do not clear TREE_ADDRESSABLE on vars that may not become
3654 * tree-ssa.c (update_alias_info_1): Include those in the set
3655 of addressable vars.
3657 2009-01-26 Richard Guenther <rguenther@suse.de>
3660 * Makefile.in (tree-ssa-dse.o): Add langhooks.h.
3661 * tree-ssa-dse.c: Include langhooks.h
3662 (execute_simple_dse): Remove stores with zero size.
3664 2009-01-24 Jakub Jelinek <jakub@redhat.com>
3667 * c-typeck.c (c_finish_return): Handle POINTER_PLUS_EXPR the same way
3670 2009-01-24 Julian Brown <julian@codesourcery.com>
3672 * config/arm/t-linux-eabi (LIB2FUNCS_STATIC_EXTRA): Add
3673 config/arm/linux-atomic.c.
3674 * config/arm/linux-atomic.c: New.
3676 2009-01-24 Eric Botcazou <ebotcazou@adacore.com>
3678 * config/sparc/linux.h (DBX_REGISTER_NUMBER): Delete.
3679 * config/sparc/linux64.h (DBX_REGISTER_NUMBER): Likewise.
3680 * config/sparc/sysv4.h (DBX_REGISTER_NUMBER): Likewise.
3682 2009-01-24 H.J. Lu <hongjiu.lu@intel.com>
3685 * c-opts.c (c_common_handle_option): Update warn_pointer_sign
3688 2009-01-24 Sebastian Pop <sebastian.pop@amd.com>
3690 PR tree-optimization/38953
3691 * graphite.c (graphite_verify): Add a call to verify_loop_closed_ssa.
3692 (scop_adjust_phis_for_liveouts): Initialize false_i to zero.
3693 (gloog): Split the exit of the scop when the scop exit is a loop exit.
3694 (graphite_transform_loops): Only call cleanup_tree_cfg if gloog
3697 2009-01-24 Paul Brook <paul@codesourcery.com>
3699 * config/arm/neon.md (neon_type): Move to arm.md.
3700 (neon_mov<VSTRUCT>): Add neon_type attribute.
3701 * config/arm/arm.md (neon_type): Move to here.
3702 (conds): Add "unconditioal" and use as default for NEON insns.
3704 2009-01-24 Ben Elliston <bje@au.ibm.com>
3706 * bitmap.h (BITMAP_FREE): Eliminate `implicit conversion from
3707 void *' warning from -Wc++-compat.
3708 * Makefile.in (dominance.o-warn): Remove.
3710 2009-01-23 Paolo Bonzini <bonzini@gnu.org>
3712 PR tree-optimization/38932
3713 * fold-const.c (fold_unary_ignore_overflow): New.
3714 * tree.h (fold_unary_ignore_overflow): Declare.
3715 * tree-ssa-ccp.c (ccp_fold): Use fold_unary_ignore_overflow.
3716 * tree-ssa-sccvn.c (visit_reference_op_load,
3717 simplify_unary_expression): Likewise.
3719 2009-01-22 Adam Nemet <anemet@caviumnetworks.com>
3721 * c-decl.c (finish_struct): Move code to set DECL_PACKED after
3722 DECL_BIT_FIELD is alreay known. Also inherit packed for bitfields
3723 regardless of their type.
3724 * c-common.c (handle_packed_attribute): Don't ignore packed on
3726 * c.opt (Wpacked-bitfield-compat): New warning option.
3727 * stor-layout.c (place_field): Warn if offset of a field changed.
3728 * doc/extend.texi (packed): Mention the ABI change.
3729 * doc/invoke.texi (-Wpacked-bitfield-compat): Document.
3730 (Warning Options): Add it to the list.
3732 2009-01-22 H.J. Lu <hongjiu.lu@intel.com>
3734 * c-opts.c (c_common_post_options): Fix a typo in comments.
3736 2009-01-22 Steve Ellcey <sje@cup.hp.com>
3739 * gimplify.c (gimplify_init_constructor): Fix promotion of const
3740 variables to static.
3741 * doc/invoke.texi (-fmerge-all-constants): Update description.
3743 2009-01-22 Uros Bizjak <ubizjak@gmail.com>
3746 * config/i386/i386.md (*movsi_1): Use type "mmx" for alternative 2.
3747 (*movdi_1_rex64): Use type "mmx" for alternative 5.
3749 2009-01-22 Richard Earnshaw <rearnsha@arm.com>
3751 * arm.h (DATA_ALIGNMENT): Align structures, unions and arrays to
3753 (LOCAL_ALIGNMENT): Similarly.
3755 2009-01-22 Mark Shinwell <shinwell@codesourcery.com>
3756 Joseph Myers <joseph@codesourcery.com>
3758 * config/arm/arm.c (all_architectures): Add iWMMXt2 entry.
3759 * config/arm/arm-cores.def: New ARM_CORE entry for iWMMXt2.
3760 * config/arm/arm-tune.md: Regenerate.
3761 * doc/invoke.texi (ARM Options): Document -mcpu=iwmmxt2 and
3764 2009-01-22 Mark Shinwell <shinwell@codesourcery.com>
3766 * config/arm/bpabi.h (SUBTARGET_EXTRA_ASM_SPEC): Bump EABI
3767 version number to five.
3769 2009-01-22 Dodji Seketeli <dodji@redhat.com>
3772 * c-decl.c: (clone_underlying_type): Revert PR c++/26693 changes.
3773 * c-common.c (set_underlying_type): Likewise.
3774 (is_typedef_decl ): Likewise
3776 (set_underlying_type): Likewise.
3777 (is_typedef_type): Likewise.
3779 2009-01-21 Vladimir Makarov <vmakarov@redhat.com>
3782 * ira-color.c (coalesce_spill_slots): Don't coalesce allocnos
3785 2009-01-21 Dave Korn <dave.korn.cygwin@gmail.com>
3788 * config/i386/cygwin.h (SHARED_LIBGCC_SPEC): New helper macro.
3789 (LIBGCC_SPEC): Don't define.
3790 (REAL_LIBGCC_SPEC): Define instead, using SHARED_LIBGCC_SPEC.
3792 2009-01-21 Uros Bizjak <ubizjak@gmail.com>
3794 PR rtl-optimization/38879
3795 * alias.c (base_alias_check): Unaligned access via AND address can
3796 alias all surrounding object types except those with sizes equal
3797 or wider than the size of unaligned access.
3799 2009-01-21 Dodji Seketeli <dodji@redhat.com>
3802 * c-decl.c: (clone_underlying_type): Move this ...
3803 * c-common.c (set_underlying_type): ... here.
3804 Also, make sure the function properly sets TYPE_STUB_DECL() on
3805 the newly created typedef variant type.
3806 (is_typedef_decl ): New entry point.
3807 * tree.h: Added a new member member_types_needing_access_check to
3808 struct tree_decl_non_common.
3809 (set_underlying_type): New entry point.
3810 (is_typedef_type): Likewise.
3812 2009-01-21 Bingfeng Mei <bmei@broadcom.com>
3814 * alias.c (walk_mems_1, walk_mems_2, insn_alias_sets_conflict_p):
3815 Check whether two instructions have memory references that
3816 belong to conflicting alias sets. walk_mems_1 and walk_mems_2
3817 are helper functions for traversing.
3818 * alias.h (insn_alias_sets_confilict_p): New prototypes.
3819 * ddg.c (add_inter_loop_mem_dep): Call insn_alias_sets_conflict_p
3820 not to draw dependency edge for instructions with non-conflicting
3823 2009-01-20 Joseph Myers <joseph@codesourcery.com>
3826 * longlong.h: Update copyright years. Use soft-fp license notice.
3827 Sync __clz_tab declaration with glibc.
3829 2009-01-20 Steve Ellcey <sje@cup.hp.com>
3832 * doc/extend.texi (syscall_linkage): New.
3833 (version_id): Modify.
3835 2009-01-20 Andrew Pinski <andrew_pinski@playstation.sony.com>
3836 Richard Guenther <rguenther@suse.de>
3838 PR tree-optimization/38747
3839 PR tree-optimization/38748
3840 * tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Disable the VCE
3841 conversion if the base address is an indirect reference and the
3842 aliasing sets could cause issues.
3844 2009-01-20 Sebastian Pop <sebastian.pop@amd.com>
3846 * common.opt (fgraphite, fgraphite-identity): Add comment for
3847 explaining why these options are not documented.
3849 2009-01-20 Sebastian Pop <sebastian.pop@amd.com>
3851 * graphite.c (stmt_simple_for_scop_p): Also handle cases when
3852 gimple_call_lhs is NULL.
3854 2009-01-20 Paolo Bonzini <bonzini@gnu.org>
3857 * emit-rtl.c (adjust_address_1): Make sure memref is never
3860 2009-01-20 Ben Elliston <bje@au.ibm.com>
3862 * libgcov.c (__gcov_execl, __gcov_execlp, __gcov_execle): Remove
3863 const qualifier from arg parameter. Remove unnecessary cast to char *.
3864 * gcov-io.h (__gcov_execl, __gcov_execlp, __gcov_execle): Remove
3865 const qualifier from arg 2.
3867 2009-01-19 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
3869 * config/darwin.h: Add static-libgfortran to LINK_SPEC.
3871 2009-01-19 Vladimir Makarov <vmakarov@redhat.com>
3874 * rtl.h (reinit_regs): New prototype.
3875 * regclass.c: Include ira.h.
3877 * Makefile.in (regclass.o): Add ira.h.
3878 * config/i386/i386.c (ix86_maybe_switch_abi): Use reinit_regs.
3880 2009-01-18 H.J. Lu <hongjiu.lu@intel.com>
3883 * c-common.c (handle_aligned_attribute): Use
3884 ATTRIBUTE_ALIGNED_VALUE instead of BIGGEST_ALIGNMENT for
3885 default alignment value.
3887 * c-cppbuiltin.c (c_cpp_builtins): Define __BIGGEST_ALIGNMENT__.
3889 * defaults.h (ATTRIBUTE_ALIGNED_VALUE): New.
3890 * config/i386/i386.h (ATTRIBUTE_ALIGNED_VALUE): Likewise.
3892 * doc/extend.texi: Update __attribute__ ((aligned)). Document
3893 __BIGGEST_ALIGNMENT__.
3895 * doc/tm.texi: Document ATTRIBUTE_ALIGNED_VALUE.
3897 2009-01-18 Richard Guenther <rguenther@suse.de>
3899 PR tree-optimization/38819
3900 * tree-flow.h (operation_could_trap_helper_p): Declare.
3901 * tree-eh.c (operation_could_trap_helper_p): Export.
3902 * tree-ssa-sccvn.h (vn_nary_may_trap): Declare.
3903 * tree-ssa-sccvn.c (vn_nary_may_trap): New function.
3904 * tree-ssa-pre.c (insert_into_preds_of_block): Check if we
3905 are about to insert a possibly trapping instruction and fail
3908 2009-01-18 Andreas Schwab <schwab@suse.de>
3910 * doc/install.texi (Configuration): Remove obsolete paragraph
3911 about use of --with-gnu-ld with --with-gnu-as.
3913 2009-01-18 Kazu Hirata <kazu@codesourcery.com>
3915 * doc/extend.texi, doc/gimple.texi, doc/invoke.texi,
3916 doc/md.texi, doc/sourcebuild.texi, doc/tm.texi: Fix typos.
3917 Follow spelling conventions.
3919 2009-01-18 Ben Elliston <bje@au.ibm.com>
3921 * bitmap.c (bitmap_obstack_alloc_stat): Adjust cast to eliminate
3922 C++ warning about implicit conversion from void * to struct
3924 (bitmap_obstack_free): Likewise for bitmap_element *.
3925 * Makefile.in (bitmap.o-warn): Remove.
3927 2009-01-17 Dave Korn <dave.korn.cygwin@gmail.com>
3929 * Makefile.in (BACKENDLIBS): Reorder to match dependencies.
3931 2009-01-17 Sebastian Pop <sebastian.pop@amd.com>
3932 Tobias Grosser <tobi.grosser@amd.com>
3934 * graphite.c (graphite_trans_scop_block): Do not block single
3937 2009-01-16 Alexandre Oliva <aoliva@redhat.com>
3939 * ebitmap.h (ebitmap_iter_init): Initialize all fields.
3940 * ipa-struct-reorg.c (gen_struct_type): Replace known-true
3941 test with assertion.
3943 2009-01-16 Richard Guenther <rguenther@suse.de>
3945 PR tree-optimization/38835
3947 * fold-const.c (fold_binary): Remove PTR + INT -> (INT)(PTR p+ INT)
3948 and INT + PTR -> (INT)(PTR p+ INT) folding.
3949 * tree-ssa-address.c (create_mem_ref): Properly use POINTER_PLUS_EXPR.
3951 2009-01-16 Adam Nemet <anemet@caviumnetworks.com>
3954 * expmed.c (expand_shift): With SHIFT_COUNT_TRUNCATED, don't lift
3955 the subreg from a lowpart subreg if it is also casting the value.
3957 2009-01-16 Sebastian Pop <sebastian.pop@amd.com>
3958 Tobias Grosser <tobi.grosser@amd.com>
3960 * graphite.c (compare_prefix_loops): New.
3961 (build_scop_canonical_schedules): Rewritten.
3962 (graphite_transform_loops): Move build_scop_canonical_schedules
3963 after build_scop_iteration_domain.
3965 2009-01-16 Sebastian Pop <sebastian.pop@amd.com>
3966 Tobias Grosser <tobi.grosser@amd.com>
3968 * graphite.c (add_conditions_to_domain): Add the loops to
3969 the dimension of the iteration domain. Do copy the domain
3970 only when it exists.
3971 (build_scop_conditions_1): Do not call add_conditions_to_domain.
3972 (add_conditions_to_constraints): New.
3973 (can_generate_code_stmt, can_generate_code): Removed.
3974 (gloog): Do not call can_generate_code.
3975 (graphite_transform_loops): Call add_conditions_to_constraints
3976 after building the iteration domain.
3978 2009-01-16 Jakub Jelinek <jakub@redhat.com>
3980 PR tree-optimization/38789
3981 * tree-ssa-threadedge.c
3982 (record_temporary_equivalences_from_stmts_at_dest): Ignore calls to
3983 __builtin_constant_p.
3985 2009-01-16 Kenneth Zadeck <zadeck@naturalbridge.com>
3987 * dce.c (delete_unmarked_insns): Reversed the order that insns are
3988 examined before deleting them.
3990 2009-01-16 Richard Earnshaw <rearnsha@arm.com>
3992 * function.c (aggregate_value_p): Correctly extract the function
3993 type from CALL_EXPR_FN lookup.
3995 2009-01-16 Hariharan Sandanagobalane <hariharan@picochip.com>
3997 * config/picochip/picochip.c (picochip_override_options): Revert
3998 CFI asm flag disable commited previously.
4000 2009-01-15 Sebastian Pop <sebastian.pop@amd.com>
4001 Tobias Grosser <tobi.grosser@amd.com>
4002 Jan Sjodin <jan.sjodin@amd.com>
4004 * graphite.c (scan_tree_for_params): On substractions negate
4005 all the coefficients of the term.
4006 (clast_to_gcc_expression_red): New. Handle reduction expressions
4007 of more than two operands.
4008 (clast_to_gcc_expression): Call clast_to_gcc_expression_red.
4009 (get_vdef_before_scop): Handle also the case of default definitions.
4011 2009-01-15 Richard Sandiford <rdsandiford@googlemail.com>
4013 * caller-save.c (add_used_regs_1, add_used_regs): New functions.
4014 (insert_one_insn): Use them instead of REG_DEAD and REG_INC notes.
4015 Also use them when walking CALL_INSN_FUNCTION_USAGE.
4017 2009-01-15 H.J. Lu <hongjiu.lu@intel.com>
4018 Joey Ye <joey.ye@intel.com>
4021 * cfgexpand.c (expand_stack_alignment): Don't update stack
4022 boundary nor check incoming stack boundary here.
4023 (gimple_expand_cfg): Update stack boundary and check incoming
4024 stack boundary here.
4026 2009-01-15 Kenneth Zadeck <zadeck@naturalbridge.com>
4028 * dce.c (find_call_stack_args, delete_unmarked_insns): Fixed comments.
4030 2009-01-14 Jakub Jelinek <jakub@redhat.com>
4032 PR rtl-optimization/38245
4033 * calls.c (expand_call): Add stack arguments to
4034 CALL_INSN_FUNCTION_USAGE even for pure calls (when
4035 ACCUMULATE_OUTGOING_ARGS) and even for args partially passed
4036 in regs and partially in memory or BLKmode arguments.
4037 (emit_library_call_value_1): Add stack arguments to
4038 CALL_INSN_FUNCTION_USAGE even for pure calls (when
4039 ACCUMULATE_OUTGOING_ARGS).
4040 * dce.c: Include tm_p.h.
4041 (find_call_stack_args): New function.
4042 (deletable_insn_p): Call it for CALL_P insns. Add ARG_STORES
4044 (mark_insn): Call find_call_stack_args for CALL_Ps.
4045 (prescan_insns_for_dce): Walk insns backwards in bb rather than
4046 forwards. Allocate and free arg_stores bitmap if needed, pass it
4047 down to deletable_insn_p, don't mark stores set in arg_stores
4048 bitmap, clear the bitmap at the beginning of each bb.
4049 * Makefile.in (dce.o): Depend on $(TM_P_H).
4051 2009-01-14 Michael Meissner <gnu@the-meissners.org>
4054 * config/i386/i386.c (print_operand): Add tests for 'D', 'C', 'F', 'f'
4055 to make sure the insn is a conditional test (bug 22599). Reformat a
4058 2009-01-14 Sebastian Pop <sebastian.pop@amd.com>
4061 * graphite.c (get_vdef_before_scop, scop_adjust_vphi): New.
4062 (scop_adjust_phis_for_liveouts): Call scop_adjust_vphi.
4063 (gloog): Do not call cleanup_tree_cfg.
4064 (graphite_transform_loops): Call cleanup_tree_cfg after all
4065 scops have been code generated.
4067 2009-01-14 Basile Starynkevitch <basile@starynkevitch.net>
4068 * doc/gty.texi (Invoking the garbage collector): Added new node
4069 and section documenting ggc_collect.
4071 2009-01-14 Richard Guenther <rguenther@suse.de>
4073 PR tree-optimization/38826
4075 * tree-ssa-structalias.c (emit_alias_warning): Emit the pointer
4076 initialization notes only if we actually emitted a warning.
4077 (intra_create_variable_infos): Add constraints for a result decl
4078 that is passed by hidden reference.
4079 (build_pred_graph): Mark all related variables non-direct on
4082 2009-01-14 Nick Clifton <nickc@redhat.com>
4084 * ira-conflicts.c: Include addresses.h for the definition of
4086 (ira_build_conflicts): Use base_reg_class instead of BASE_REG_CLASS.
4087 * Makefile.in: Add a dependency of ira-conflicts.o on addresses.h.
4089 2009-01-13 Vladimir Makarov <vmakarov@redhat.com>
4092 * Makefile.in (ira-lives.o): Add except.h.
4094 * ira-lives.c: Include except.h.
4095 (process_bb_node_lives): Process can_throw_internal.
4097 2009-01-13 Jakub Jelinek <jakub@redhat.com>
4099 PR rtl-optimization/38774
4100 * combine.c (simplify_set): When undoing cc_use change, don't do
4101 PUT_CODE on the newly created comparison, but instead put back the
4104 2009-01-13 Joseph Myers <joseph@codesourcery.com>
4106 * doc/invoke.texi (ARM Options): Update lists of -mcpu and -march
4107 values. Remove duplicate arm8 entry.
4109 2009-01-13 Sebastian Pop <sebastian.pop@amd.com>
4111 PR tree-optimization/38786
4112 * graphite.c (expand_scalar_variables_ssa_name): New, outlined from
4113 the SSA_NAME case of expand_scalar_variables_expr.
4114 Set the type of an expression to the type of its assign statement.
4115 (expand_scalar_variables_expr): Also gather the scalar computation
4116 used to index the memory access. Do not pass loop_p.
4117 Fix comment. Stop recursion on tcc_constant or tcc_declaration.
4118 (expand_scalar_variables_stmt): Pass to expand_scalar_variables_expr
4119 the gimple_stmt_iterator where it inserts new code.
4121 (copy_bb_and_scalar_dependences): Do not pass loop_p.
4122 (translate_clast): Update call to copy_bb_and_scalar_dependences.
4124 2009-01-13 Sebastian Pop <sebastian.pop@amd.com>
4126 * graphite.h (debug_value): Removed.
4127 * graphite.c (debug_value): Removed.
4129 2009-01-13 Richard Earnshaw <rearnsha@arm.com>
4131 * config/arm/arm.c (output_move_double): Don't synthesize thumb-2
4132 ldrd/strd with two 32-bit instructions.
4134 2009-01-13 Richard Earnshaw <rearnsha@arm.com>
4136 * config/arm/arm.c (struct processors): Pass for speed down into
4137 cost helper functions.
4138 (const_ok_for_op): Handle COMPARE and inequality nodes.
4139 (arm_rtx_costs_1): Rewrite.
4140 (arm_size_rtx_costs): Update prototype.
4141 (arm_rtx_costs): Pass speed down to helper functions.
4142 (arm_slowmul_rtx_costs): Rework cost calculations.
4143 (arm_fastmul_rtx_costs, arm_xscale_rtx_costs): Likewise.
4144 (arm_9e_rtx_costs): Likewise.
4146 2009-01-13 Uros Bizjak <ubizjak@gmail.com>
4148 * config/alpha/alpha.c (alpha_legitimate_address_p): Explicit
4149 relocations of local symbols wider than UNITS_PER_WORD are not valid.
4150 (alpha_legitimize_address): Do not split local symbols wider than
4151 UNITS_PER_WORD into HIGH/LO_SUM parts.
4153 2009-01-13 Danny Smith <dannysmith@users.sourceforge.net>
4156 * gcc.c (process_command): Replace call to execvp with calls
4157 to pex_one and exit.
4159 2009-01-03 Anatoly Sokolov <aesok@post.ru>
4162 * config/avr/t-avr (LIB1ASMFUNCS): Add _tablejump_elpm.
4163 * config/avr/libgcc.S (__do_global_ctors, __do_global_dtors): Add
4164 variant for devices with 3-byte PC.
4165 (__tablejump_elpm__) : New.
4167 2009-01-12 Jakub Jelinek <jakub@redhat.com>
4170 * c-parser.c (c_parser_postfix_expression): Allow `->' in
4171 offsetof member-designator, handle it as `[0].'.
4173 2009-01-12 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
4175 * pa.c (pa_asm_output_mi_thunk): Use pc-relative branch to thunk
4176 function when not using named sections on targets with named sections
4177 if branch distance is less than 262132.
4179 2009-01-12 Richard Earnshaw <rearnsha@arm.com>
4181 * combine.c (combine_instructions): Recompute
4182 optimize_this_for_speed_p for each BB in the main combine loop.
4184 2009-01-12 Tomas Bily <tbily@suse.cz>
4187 * tree-loop-distribution.c (prop_phis): New function.
4188 (generate_builtin): Call prop_phis.
4189 * testsuite/gcc.dg/tree-ssa/pr38385.c: New file.
4191 2009-01-12 Jakub Jelinek <jakub@redhat.com>
4193 PR tree-optimization/38807
4194 * tree-ssa-reassoc.c (remove_visited_stmt_chain): Don't look at
4195 gimple_visited_p unless stmt is GIMPLE_ASSIGN.
4197 2009-01-11 Adam Nemet <anemet@caviumnetworks.com>
4199 * expmed.c (store_bit_field_1): Properly truncate the paradoxical
4200 subreg of op0 to the original op0.
4202 2009-01-11 Laurent GUERBY <laurent@guerby.net>
4204 * doc/sourcebuild.texi (Source Tree): Move up intl and fixinc.
4206 2009-01-11 Markus Schoepflin <markus.schoepflin@comsoft.de>
4209 * gcc/mips-tfile.c (parse_def): Fix parsing of def strings
4210 starting with digits.
4212 2009-01-10 Jakub Jelinek <jakub@redhat.com>
4215 * config/arm/arm.c (arm_is_long_call_p): Don't call
4216 arm_function_in_section_p if decl isn't a FUNCTION_DECL.
4218 2009-01-09 Steven Bosscher <steven@gcc.gnu.org>
4220 * regrename.c (regrename_optimize): Fix dumping.
4221 (find_oldest_value_reg): Preserve REG_POINTER.
4222 (copy_hardreg_forward_1): Likewise.
4224 2009-01-09 Diego Novillo <dnovillo@google.com>
4226 * gimple.h (struct gimple_statement_base) <uid>: Document
4227 the restrictions on its use.
4229 (gimple_set_uid): Tidy.
4231 2009-01-09 Jakub Jelinek <jakub@redhat.com>
4233 * config/i386/i386.c (ix86_expand_movmem, ix86_expand_setmem): Add
4234 zero guard even if align_bytes != 0 and count is smaller than
4237 2009-01-09 Vladimir Makarov <vmakarov@redhat.com>
4239 PR rtl-optimization/38495
4240 * ira-emit.c (print_move_list, ira_debug_move_list): New functions.
4241 (add_range_and_copies_from_move_list): Print all added ranges.
4242 Add ranges to memory optimized destination.
4244 2009-01-09 Jakub Jelinek <jakub@redhat.com>
4248 * config/i386/i386.c (override_options): Reject
4249 -mstringop-strategy=rep_8byte with -m32.
4250 (ix86_expand_movmem): For size_needed == 1 set epilogue_size_needed
4251 to 1. Do count comparison against epilogue_size_needed at compile
4252 time even when count_exp was constant forced into register. For
4253 size_needed don't jump to epilogue, instead just avoid aligning
4254 and invoke the body algorithm. If need_zero_guard, add zero guard
4255 even if count is non-zero, but smaller than size_needed + number of
4256 bytes that could be stored for alignment.
4257 (ix86_expand_setmem): For size_needed == 1 set epilogue_size_needed
4258 to 1. If need_zero_guard, add zero guard even if count is non-zero,
4259 but smaller than size_needed + number of bytes that could be stored
4260 for alignment. Compare size_needed with epilogue_size_needed instead
4261 of desired_align - align, don't adjust size_needed, pass
4262 epilogue_size_needed to the epilogue expanders.
4265 * c-pretty-print.c (pp_c_expression): Handle GOTO_EXPR like BIND_EXPR.
4267 2009-01-09 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
4269 * pa.c (last_address): Change to unsigned.
4270 (update_total_code_bytes): Change argument to unsigned. Don't
4271 check if insn addresses are set.
4272 (pa_output_function_epilogue): Set last_address to UINT_MAX if insn
4273 addresses are not set.
4274 (pa_asm_output_mi_thunk): Handle wrap when updating last_address.
4276 2009-01-09 Nick Clifton <nickc@redhat.com>
4278 * config/sh/symbian.c: Replace uses of DECL_INLINE with
4279 DECL_DECLARED_INLINE_P.
4281 2009-01-09 Jakub Jelinek <jakub@redhat.com>
4284 * dojump.c (do_jump_by_parts_zero_rtx): Use mode instead of
4285 GET_MODE (op0) in operand_subword_force calls.
4288 * fold-const.c (fold_unary): For COMPOUND_EXPR and COND_EXPR,
4289 fold_convert arg0 operands to TREE_TYPE (op0) first.
4291 2009-01-08 Vladimir Makarov <vmakarov@redhat.com>
4293 * params.def (ira-max-conflict-table-size): Decrease default value
4296 2009-01-08 Jakub Jelinek <jakub@redhat.com>
4298 PR tree-optimization/37031
4299 * lambda-code.c (lambda_collect_parameters): Call pointer_set_destroy
4301 (build_access_matrix): Reserve correct size for AM_MATRIX vector,
4302 allocate it using gc instead of heap, use VEC_quick_push instead of
4304 * graphite.c (build_access_matrix): Allocate AM_MATRIX vector using gc
4305 instead of heap, use VEC_quick_push instead of VEC_safe_push.
4306 * tree-data-ref.h (struct access_matrix): Change matrix to gc
4307 allocated vector from heap allocated.
4308 * lambda.h: Add DEF_VEC_ALLOC_P for gc allocated lambda_vector.
4309 * tree-loop-linear.c (linear_transform_loops): Allocate nest
4310 vector only after perfect_loop_nest_depth call.
4312 2009-01-08 Sebastian Pop <sebastian.pop@amd.com>
4313 Jan Sjodin <jan.sjodin@amd.com>
4315 PR tree-optimization/38559
4316 * graphite.c (debug_value, copy_constraint,
4317 swap_constraint_variables, scale_constraint_variable, ): New.
4318 (get_lower_bound, get_upper_bound): Removed.
4319 (graphite_trans_bb_strip_mine): Clean up this code that works
4320 only for constant number of iterations. Fully copy upper and
4321 lower bound constraints, not only the constant part of them.
4322 * graphite.h (debug_value): Declared.
4324 2009-01-08 Ira Rosen <irar@il.ibm.com>
4326 PR tree-optimization/37194
4327 * tree-vect-transform.c (vect_estimate_min_profitable_iters):
4328 Don't add the cost of cost model guard in prologue to scalar
4329 outside cost in case of known number of iterations.
4331 2009-01-07 Nathan Froyd <froydnj@codesourcery.com>
4332 Alan Modra <amodra@bigpond.net.au>
4334 * config/rs6000/rs6000.c (rs6000_legitimize_address): Check for
4335 non-word-aligned REG+CONST addressing.
4337 2009-01-07 Uros Bizjak <ubizjak@gmail.com>
4340 * config/alpha/alpha.c (alpha_end_function): For TARGET_ABI_OSF, call
4341 free_after_compilation when outputting a thunk.
4342 (alpha_output_mi_thunk_osf): Assert that we are processing a thunk.
4343 Do not call free_after_compilation here.
4345 2009-01-07 Uros Bizjak <ubizjak@gmail.com>
4347 * config/i386/i386.c (ix86_target_string): Use ARRAY_SIZE.
4348 (ix86_valid_target_attribute_inner_p): Ditto.
4350 2009-01-07 Jan Sjodin <jan.sjodin@amd.com>
4352 PR tree-optimization/38492
4353 PR tree-optimization/38498
4354 * tree-check.c (operator_is_linear, scev_is_linear_expression): New.
4355 * tree-chrec.h (scev_is_linear_expression): Declared.
4356 * graphite.c (graphite_cannot_represent_loop_niter): New.
4357 (scopdet_basic_block_info): Call graphite_cannot_represent_loop_niter.
4358 (graphite_loop_normal_form): Use gcc_assert.
4359 (scan_tree_for_params): Use CASE_CONVERT.
4360 (phi_node_is_iv, bb_contains_non_iv_scalar_phi_nodes): New.
4361 (build_scop_conditions_1): Call bb_contains_non_iv_scalar_phi_nodes.
4362 Use gcc_assert. Discard scops that contain unhandled cases.
4363 (build_scop_conditions): Return a boolean status for unhandled cases.
4364 (strip_mine_profitable_p): Print the loop number, not its depth.
4365 (is_interchange_valid): Pass the depth of the loop nest, don't
4366 recompute it wrongly.
4367 (graphite_trans_bb_block): Same.
4368 (graphite_trans_bb_block): Print tentative of loop blocking.
4369 (graphite_trans_scop_block): Do not print that the loop has been
4371 (graphite_transform_loops): Do not handle scops that contain condition
4374 2009-01-07 H.J. Lu <hongjiu.lu@intel.com>
4376 AVX Programming Reference (December, 2008)
4377 * config/i386/avxintrin.h (_mm256_stream_si256): New.
4378 (_mm256_stream_pd): Likewise.
4379 (_mm256_stream_ps): Likewise.
4381 * config/i386/i386.c (ix86_builtins): Add IX86_BUILTIN_MOVNTDQ256,
4382 IX86_BUILTIN_MOVNTPD256 and IX86_BUILTIN_MOVNTPS256.
4383 (ix86_special_builtin_type): Add VOID_FTYPE_PV4DI_V4DI.
4384 (bdesc_special_args): Add __builtin_ia32_movntdq256,
4385 __builtin_ia32_movntpd256 and __builtin_ia32_movntps256.
4386 (ix86_init_mmx_sse_builtins): Handle VOID_FTYPE_PV4DI_V4DI.
4387 (ix86_expand_special_args_builtin): Likewise.
4389 * config/i386/sse.md (AVXMODEDI): New.
4390 (avx_movnt<mode>): Likewise.
4391 (avx_movnt<mode>): Likewise.
4392 (<sse>_movnt<mode>): Remove AVX support.
4393 (sse2_movntv2di): Likewise.
4395 2009-01-07 Richard Guenther <rguenther@suse.de>
4398 * fold-const.c (extract_muldiv): Remove obsolete comment.
4399 (fold_plusminus_mult_expr): Undo MINUS_EXPR
4400 to PLUS_EXPR canonicalization for the canonicalization.
4402 2009-01-07 Gerald Pfeifer <gerald@pfeifer.com>
4404 * doc/install.texi (alpha*-dec-osf*): Remove note on 32-bit
4405 hosted cross-compilers generating less efficient code.
4407 2009-01-06 Richard Sandiford <rdsandiford@googlemail.com>
4409 * function.h (rtl_data): Add a dbr_scheduled_p field.
4410 * reorg.c (dbr_schedule): Set it.
4411 (gate_handle_delay_slots): Check it.
4412 * config/mips/mips.c (mips_base_delayed_branch): Delete.
4413 (mips_reorg): Check flag_delayed_branch instead of
4414 mips_base_delayed_branch.
4415 (mips_override_options): Don't set mips_base_delayed_branch
4416 or flag_delayed_branch.
4418 2009-01-06 Richard Sandiford <rdsandiford@googlemail.com>
4420 PR rtl-optimization/38426.
4421 * ira.c (ira): Set current_function_is_leaf earlier.
4423 2009-01-06 Jakub Jelinek <jakub@redhat.com>
4425 PR rtl-optimization/38722
4426 * combine.c (try_combine): Don't modify PATTERN (i3) and notes
4427 too early, only set a flag and modify after last possible
4430 2009-01-06 Janis Johnson <janis187@us.ibm.com>
4433 * ginclude/float.h: Rename DECnn_DEN to DECnn_SUBNORMAL_MIN.
4434 * real.c (decimal_single_format): Correct values of emin and emax.
4435 (decimal_double_format): Ditto.
4436 (decimal_quad_format): Ditto.
4437 * c-cppbuiltin.c (builtin_define_decimal_float_constants): Adjust
4438 computation of DECnn_MIN and DECnn_MAX for corrected values of
4439 emin and emax. Define __DECnn_SUBNORMAL_MIN__ instead of
4440 __DECnn_MIN__, and adjust its computation for the corrected value
4443 2009-01-06 Jan Hubicka <jh@suse.cz>
4446 * config/i386/i386.c (ix86_expand_call): Use ARRAY_SIZE.
4448 2009-01-06 Gerald Pfeifer <gerald@pfeifer.com>
4450 * doc/contrib.texi (Contributors): Slightly adjust the end note.
4451 Add Robert Clark to the list of testers.
4453 2009-01-06 Jan Hubicka <jh@suse.cz>
4454 Kai Tietz <kai.tietz@onevision.com>
4456 * config/i386/i386.md (*msabi_syvabi): Add SSE regs clobbers.
4457 * config/i386/i386.c (ix86_expand_call): Add clobbers.
4459 2009-01-06 Jan Hubicka <jh@suse.cz>
4460 Kai Tietz <kai.tietz@onevision.com>
4462 * config/i386/i386.h (CONDITIONAL_CALL_USAGE): SSE regs are not used
4464 * config/i386/i386.c (struct ix86_frame): Add padding0 and nsseregs.
4465 (ix86_nsaved_regs): Count only general purpose regs.
4466 (ix86_nsaved_sseregs): New.
4467 (ix86_compute_frame_layout): Update nsseregs; set preferred alignment
4468 to 16 for w64; compute padding and size of sse reg save area.
4469 (ix86_emit_save_regs, ix86_emit_save_regs_using_mov): Save only
4470 general purpose regs.
4471 (ix86_emit_save_sse_regs_using_mov): New.
4472 (ix86_expand_prologue): Save SSE regs if needed.
4473 (ix86_emit_restore_regs_using_mov): Use only general purpose regs.
4474 (ix86_emit_restore_sse_regs_using_mov): New.
4475 (ix86_expand_epilogue): Save SSE regs if needed.
4477 2009-01-06 Jan Hubicka <jh@suse.cz>
4478 Kai Tietz <kai.tietz@onevision.com>
4480 * config/i386/i386.h (ACCUMULATE_OUTGOING_ARGS): Enable for MSABI
4481 * config/i386/i386.c (init_cumulative_args): Disallow calls of MSABI
4482 functions when accumulate outgoing args is off.
4484 2009-01-06 H.J. Lu <hongjiu.lu@intel.com>
4487 * ira-color.c (ira_reuse_stack_slot): Check ENABLE_IRA_CHECKING
4488 before using pseudos_have_intersected_live_ranges_p.
4490 * ira-int.h (ira_assert): Always define.
4492 2009-01-06 H.J. Lu <hongjiu.lu@intel.com>
4494 AVX Programming Reference (December, 2008)
4495 * config/i386/avxintrin.h (_mm_permute2_pd): Removed.
4496 (_mm256_permute2_pd): Likewise.
4497 (_mm_permute2_ps): Likewise.
4498 (_mm256_permute2_ps): Likewise.
4499 * config/i386/i386.md (UNSPEC_VPERMIL2): Likewise.
4500 * config/i386/sse.md (avx_vpermil2<mode>3): Likewise.
4502 * config/i386/i386.c (ix86_builtins): Remove
4503 IX86_BUILTIN_VPERMIL2PD, IX86_BUILTIN_VPERMIL2PS,
4504 IX86_BUILTIN_VPERMIL2PD256 and IX86_BUILTIN_VPERMIL2PS256.
4505 (ix86_builtin_type): Remove V8SF_FTYPE_V8SF_V8SF_V8SI_INT,
4506 V4DF_FTYPE_V4DF_V4DF_V4DI_INT, V4SF_FTYPE_V4SF_V4SF_V4SI_INT
4507 and V2DF_FTYPE_V2DF_V2DF_V2DI_INT.
4508 (bdesc_args): Remove __builtin_ia32_vpermil2pd,
4509 __builtin_ia32_vpermil2ps, __builtin_ia32_vpermil2pd256 and
4510 __builtin_ia32_vpermil2ps256.
4511 (ix86_init_mmx_sse_builtins): Updated.
4512 (ix86_expand_args_builtin): Likewise.
4514 2009-01-05 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
4516 * pa.c (output_call): Relocate non-jump insns in the delay slot of
4517 long absolute calls when generating PA 2.0 code.
4519 2009-01-05 Vladimir Makarov <vmakarov@redhat.com>
4521 PR rtl-optimization/38583
4522 * params.h (IRA_MAX_CONFLICT_TABLE_SIZE): New macro.
4524 * params.def (ira-max-conflict-table-size): New.
4526 * doc/invoke.texi (ira-max-conflict-table-size): Decribe.
4528 * ira.h (ira_conflicts_p): New external definition.
4530 * ira-conflicts.c (build_conflict_bit_table): Do not build too big
4531 table. Report this. Return result of building.
4532 (ira_build_conflicts): Use ira_conflicts_p. Check result of
4533 building conflict table.
4535 * ira-color.c (fast_allocation): Use num instead of ira_allocnos_num.
4536 (ira_color): Use ira_conflicts_p.
4538 * global.c: Include ira.h.
4539 (pseudo_for_reload_consideration_p, build_insn_chain): Use
4542 * Makefile.in (global.o): Add ira.h.
4544 * ira-build.c (mark_all_loops_for_removal,
4545 propagate_some_info_from_allocno): New.
4546 (remove_unnecessary_allocnos): Call
4547 propagate_some_info_from_allocno.
4548 (remove_low_level_allocnos): New.
4549 (remove_unnecessary_regions): Add parameter. Call
4550 mark_all_loops_for_removal and remove_low_level_allocnos. Pass
4551 parameter to remove_unnecessary_regions.
4552 (ira_build): Remove all regions but root if the conflict table was
4553 not built. Update conflict hard regs for allocnos crossing calls.
4555 * ira.c (ira_conflicts_p): New global.
4556 (ira): Define and use ira_conflicts_p.
4558 * reload1.c (compute_use_by_pseudos, reload, count_pseudo,
4559 count_spilled_pseudo, find_reg, alter_reg, finish_spills,
4560 emit_input_reload_insns, delete_output_reload): Use ira_conflicts_p.
4562 2009-01-06 Ben Elliston <bje@au.ibm.com>
4564 * gengtype-lex.l (YY_NO_INPUT): Define.
4566 2009-01-05 Andrew Pinski <andrew_pinski@playstation.sony.com>
4569 * c-common.c (handle_vector_size_attribute): Also reject
4572 2009-01-05 Sebastian Pop <sebastian.pop@amd.com>
4574 PR tree-optimization/38492
4575 * graphite.c (rename_map_elt, debug_rename_elt,
4576 debug_rename_map_1, debug_rename_map, new_rename_map_elt,
4577 rename_map_elt_info, eq_rename_map_elts,
4578 get_new_name_from_old_name, bb_in_sese_p): Moved around.
4579 (sese_find_uses_to_rename_use): Renamed sese_build_livein_liveouts_use.
4580 (sese_find_uses_to_rename_bb): Renamed sese_build_livein_liveouts_bb.
4581 (sese_build_livein_liveouts): New.
4582 (new_sese, free_sese): New.
4583 (new_scop): Call new_sese.
4584 (free_scop): Call free_sese.
4585 (rename_variables_from_edge, rename_phis_end_scop): Removed.
4586 (register_old_new_names): Renamed register_old_and_new_names.
4587 (register_scop_liveout_renames, add_loop_exit_phis,
4588 insert_loop_close_phis, struct igp,
4589 default_liveout_before_guard, add_guard_exit_phis,
4590 insert_guard_phis, copy_renames): New.
4591 (translate_clast): Call insert_loop_close_phis and insert_guard_phis.
4592 (sese_add_exit_phis_edge): Renamed scop_add_exit_phis_edge.
4593 (rewrite_into_sese_closed_ssa): Renamed scop_insert_phis_for_liveouts.
4594 (scop_adjust_phis_for_liveouts): New.
4595 (gloog): Call scop_adjust_phis_for_liveouts.
4597 * graphite.h (struct sese): Documented. Added fields liveout,
4599 (SESE_LIVEOUT, SESE_LIVEIN, SESE_LIVEIN_VER, SESE_NUM_VER): New.
4600 (new_sese, free_sese, sese_build_livein_liveouts): Declared.
4601 (struct scop): Added field liveout_renames.
4602 (SCOP_LIVEOUT_RENAMES): New.
4604 2009-01-05 Harsha Jagasia <harsha.jagasia@amd.com>
4606 PR tree-optimization/38510
4607 * graphite.c (recompute_all_dominators): Call mark_irreducible_loops.
4608 (translate_clast): Call recompute_all_dominators before
4610 (gloog): Call recompute_all_dominators before graphite_verify.
4612 2009-01-05 Harsha Jagasia <harsha.jagasia@amd.com>
4613 Jan Sjodin <jan.sjodin@amd.com>
4615 PR tree-optimization/38500
4616 * graphite.c (create_sese_edges): Call fix_loop_structure after
4619 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
4621 * config.gcc: Add m32r*-*-rtems*.
4622 * config/m32r/rtems.h: New file.
4624 2009-01-05 Ben Elliston <bje@au.ibm.com>
4626 * Makefile.in (.po.gmo): Use mkinstalldirs, not test -d || mkdir.
4627 (.po.pox): Likewise.
4628 (po/gcc.pot): Likewise.
4630 2009-01-04 David S. Miller <davem@davemloft.net>
4632 * config/sparc/sparc.h (SECONDARY_MEMORY_NEEDED_RTX): Delete.
4633 (STARTING_FRAME_OFFSET): Always set to zero.
4635 2009-01-04 Richard Sandiford <rdsandiford@googlemail.com>
4637 * tree.def (LSHIFT_EXPR, RSHIFT_EXPR): Add commentary.
4638 * tree-cfg.c (verify_gimple_assign_binary): Allow shifts of
4639 fixed-point types, and vectors of the same.
4641 2009-01-04 Richard Sandiford <rdsandiford@googlemail.com>
4643 * config/mips/sync.md (*mb_barrier): Rename to...
4644 (*memory_barrier): ...this.
4646 2009-01-04 Jonathan Wakely <jwakely.gcc@gmail.com>
4648 * doc/extend.texi (Function Attributes): Move @cindex after @item
4649 for 'artificial' and 'flatten'. Fix grammar for 'externally_visible'
4650 and put in alphabetical order. Fix 'target' name and put in order.
4651 * doc/invoke.texi (-Wstrict-null-sentinel, -fipa-matrix-reorg): Fix
4654 2009-01-04 Uros Bizjak <ubizjak@gmail.com>
4656 * config/s390/s390.md (UNSPEC_MB): Rename from UNSPECV_MB.
4657 (memory_barrier): Expand as unspec instead of unspec_volatile.
4658 Remove mem:BLK from insn operands. Use Pmode scratch register.
4659 (*memory_barrier): Define as unspec instead of unspec_volatile.
4660 Use (match_dup 0) as input operand.
4662 * config/sparc/sparc.md (UNSPEC_MEMBAR): Rename from UNSPECV_MEMBAR.
4663 * config/sparc/sync.md (memory_barrier): Expand as unspec instead of
4664 unspec_volatile. Remove mem:BLK from insn operands. Use Pmode
4665 scratch register. Remove operand 1.
4666 (*stbar): Define as unspec instead of unspec_volatile.
4667 Use (match_dup 0) as input operand, remove (const_int 8).
4668 (*membar): Define as unspec instead of unspec_volatile.
4669 Use (match_dup 0) as input operand, remove input operand 2.
4671 * config/xtensa/xtensa.md (UNSPEC_MEMW): Rename from UNSPECV_MEMW.
4672 (memory_barrier): Expand as unspec instead of unspec_volatile.
4673 Remove mem:BLK from insn operands. Use Pmode scratch register.
4674 (*memory_barrier): Define as unspec instead of unspec_volatile.
4675 Use (match_dup 0) as input operand.
4677 * config/ia64/sync.md (memory_barrier): Redefine as expander pattern.
4678 Remove mem:BLK from insn operands. Use Pmode scratch register.
4679 Set volatile flag on operand 0.
4680 (*memory_barrier): New insn pattern.
4682 * config/rs6000/sync.md (memory_barrier): Remove mem:BLK from
4684 (*memory_barrier): Use (match_dup 0) as input operand.
4686 * config/mips/sync.md (memory_barrier): Redefine as expander pattern.
4687 Remove mem:BLK from insn operands. Use Pmode scratch register.
4688 Set volatile flag on operand 0.
4689 (*mb_internal): New insn pattern.
4691 * config/alpha/sync.md (*memory_barrier): Rename from *mb_internal.
4693 2009-01-04 Steven Bosscher <steven@gcc.gnu.org>
4696 * function.c (struct temp_slot): Move to the section of the file
4697 that deals with temp slots. Remove field 'address'.
4698 (temp_slot_address_table): New hash table of address -> temp slot.
4699 (struct temp_slot_address_entry): New struct, items for the table.
4700 (temp_slot_address_compute_hash, temp_slot_address_hash,
4701 temp_slot_address_eq, insert_temp_slot_address): Support functions
4703 (find_temp_slot_from_address): Rewrite to use the new hash table.
4704 (remove_unused_temp_slot_addresses): Remove addresses of temp
4705 slots that have been made available.
4706 (remove_unused_temp_slot_addresses_1): Call-back for htab_traverse,
4707 worker function for remove_unused_temp_slot_addresses.
4708 (assign_stack_temp_for_type): Don't clear the temp slot address list.
4709 Add the temp slot address to the address -> temp slot map.
4710 (update_temp_slot_address): Update via insert_temp_slot_address.
4711 (free_temp_slots): Call remove_unused_temp_slot_addresses.
4712 (pop_temp_slots): Likewise.
4713 (init_temp_slots): Allocate the address -> temp slot map, or empty
4714 the map if it is already allocated.
4715 (prepare_function_start): Initialize temp slot processing.
4717 2009-01-04 Steven Bosscher <steven@gcc.gnu.org>
4720 * cfgexpand.c (estimate_stack_frame_size): Simplify the estimate:
4721 Calculate the size of all stack vars assuming no packing of stack
4722 vars will happen, replacing a quadratic algorithm with a linear one.
4724 2009-01-03 Jakub Jelinek <jakub@redhat.com>
4727 * expmed.c (store_bit_field_1): Don't modify op0 if movstrict insn
4730 2009-01-03 Diego Novillo <dnovillo@google.com>
4732 * doc/contrib.texi: Update contributions.
4734 2009-01-03 Jakub Jelinek <jakub@redhat.com>
4737 * builtins.c (fold_builtin_memory_op): Give up if either operand
4738 is volatile. Set srctype or desttype to non-qualified version
4742 * builtins.c (fold_builtin_expect): Only check DECL_WEAK for VAR_DECLs
4745 2009-01-02 Kenneth Zadeck <zadeck@naturalbridge.com>
4747 PR rtl-optimization/35805
4748 * df-problems.c (df_lr_finalize): Add recursive call to resolve lr
4749 problem if fast dce is able to remove any instructions.
4750 * dce.c (dce_process_block): Fix dump message.
4752 2009-01-02 Mark Mitchell <mark@codesourcery.com>
4755 * tree-ssa-pre.c (compute_antic): Correct loop bounds.
4757 2009-01-02 Jakub Jelinek <jakub@redhat.com>
4760 * tree-flow.h (op_code_prio, op_prio): New prototypes.
4761 * tree-pretty-print.c (op_code_prio): New function.
4762 (op_prio): No longer static. Use op_code_prio.
4763 * gimple-pretty-print.c (dump_unary_rhs, dump_binary_rhs):
4764 Use op_prio and op_code_prio to determine if () should be
4765 printed around operand(s) or not.
4767 * gimple-pretty-print.c (dump_unary_rhs, dump_binary_rhs,
4768 dump_gimple_call, dump_gimple_switch, dump_gimple_cond,
4769 dump_gimple_label, dump_gimple_try, dump_symbols, dump_gimple_phi,
4770 dump_gimple_mem_ops, dump_bb_header, dump_bb_end, pp_cfg_jump): Use
4771 pp_character instead of pp_string for single letter printing.
4773 2009-01-02 Richard Sandiford <rdsandiford@googlemail.com>
4775 * doc/extend.texi: Fix '#pragma GCC option' typo.
4777 2009-01-02 Richard Guenther <rguenther@suse.de>
4779 * doc/install.texi (--enable-checking): Mention different
4781 (--enable-stage1-checking): Document.
4783 2009-01-01 Andrew Pinski <pinskia@gmail.com>
4786 * tree-cfg.c (verify_expr): Add INDIRECT_REF case. Change MODIFY_EXPR
4787 case to be an error.
4789 2009-01-02 Ben Elliston <bje@au.ibm.com>
4791 * config/fp-bit.h (pack_d): Constify argument.
4792 * config/fp-bit.c (makenan): Constify return type. Remove casts.
4793 (isnan): Constify argument.
4797 (_fpadd_parts): Constify return type.
4798 (_fpmul_parts): Likewise.
4799 (_fpdiv_parts): Likewise.
4801 2009-01-01 Jakub Jelinek <jakub@redhat.com>
4804 * c-typeck.c (add_pending_init): Add IMPLICIT argument. Only
4805 warn about overwriting initializer with side-effects or
4806 -Woverride-init if !IMPLICIT.
4807 (output_init_element): Likewise. Pass IMPLICIT down to
4809 (process_init_element): Add IMPLICIT argument. Pass it down
4810 to output_init_element.
4811 (push_init_element, pop_init_level, set_designator): Adjust
4812 process_init_element callers.
4813 (set_nonincremental_init, set_nonincremental_init_from_string):
4814 Adjust add_pending_init callers.
4815 (output_pending_init_elements): Adjust output_init_element callers.
4816 * c-tree.h (process_init_element): Adjust prototype.
4817 * c-parser.c (c_parser_initelt, c_parser_initval): Adjust
4818 process_init_element callers.