aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2010-03-16* ada/acats/run_all.sh: Log start and end times.Rainer Orth2-0/+8
From-SVN: r157485
2010-03-16* gnat.dg/socket1.adb: Disable on *-*-solaris2*.Rainer Orth2-1/+5
From-SVN: r157484
2010-03-16Add missing ChangeLog entries.H.J. Lu2-0/+10
From-SVN: r157479
2010-03-16re PR tree-optimization/43379 (ICE: error: SSA_NAME_OCCURS_IN_ABNORMAL_PHI ↵Richard Guenther4-0/+26
should be set with -O2 -ftracer) 2010-03-16 Richard Guenther <rguenther@suse.de> PR middle-end/43379 * tree-cfg.c (gimple_merge_blocks): When propagating virtual PHI operands make sure to merge SSA_NAME_OCCURS_IN_ABNORMAL_PHI properly. * gcc.dg/pr43379.c: New testcase. From-SVN: r157478
2010-03-16re PR tree-optimization/42917 ("-fcompare-debug failure" with ↵Aldy Hernandez3-2/+30
-ftree-loop-linear) PR tree-optimization/42917 * lambda-code.c (remove_iv): Skip debug statements. (lambda_loopnest_to_gcc_loopnest): Likewise. (not_interesting_stmt): Debug statements are not interesting. Co-Authored-By: Alexandre Oliva <aoliva@redhat.com> From-SVN: r157477
2010-03-16re PR debug/43051 (VTA causes a stack living parameter unavailable in most ↵Jakub Jelinek15-215/+710
of the function) PR debug/43051 PR debug/43092 * cselib.c (cselib_preserve_constants, cfa_base_preserved_val): New static variables. (preserve_only_constants): New function. (cselib_reset_table): If cfa_base_preserved_val is non-NULL, don't clear its REG_VALUES. If cselib_preserve_constants, don't empty the whole hash table, but preserve there VALUEs with constants, cfa_base_preserved_val and cfa_base_preserved_val plus constant. (cselib_preserve_cfa_base_value): New function. (cselib_invalidate_regno): Don't invalidate cfa_base_preserved_val. (cselib_init): Change argument to int bitfield. Set cselib_preserve_constants to whether CSELIB_PRESERVE_CONSTANTS is in it. (cselib_finish): Clear cselib_preserve_constants and cfa_base_preserved_val. * cselib.h (enum cselib_record_what): New enum. (cselib_init): Change argument to int. (cselib_preserve_cfa_base_value): New prototype. * postreload.c (reload_cse_regs_1): Adjust cselib_init caller. * dse.c (dse_step1): Likewise. * cfgcleanup.c (thread_jump): Likewise. * sched-deps.c (sched_analyze): Likewise. * gcse.c (local_cprop_pass): Likewise. * simplify-rtx.c (simplify_replace_fn_rtx): Add argument to callback. If FN is non-NULL, call the callback always and whenever it returns non-NULL just return that. Only do rtx_equal_p if FN is NULL. * rtl.h (simplify_replace_fn_rtx): Add argument to callback. * combine.c (propagate_for_debug_subst): Add old_rtx argument, compare from with old_rtx and if it isn't rtx_equal_p, return NULL. * Makefile.in (var-tracking.o): Depend on $(RECOG_H). * var-tracking.c: Include recog.h. (bb_stack_adjust_offset): Remove. (vt_stack_adjustments): Don't call it, instead just gather the adjustments using insn_stack_adjust_offset_pre_post on each bb insn. (adjust_stack_reference): Remove. (compute_cfa_pointer): New function. (hard_frame_pointer_adjustment, cfa_base_rtx): New static variables. (struct adjust_mem_data): New type. (adjust_mems, adjust_mem_uses, adjust_mem_stores, adjust_insn): New functions. (get_address_mode): New function. (replace_expr_with_values): Use it. (use_type): Don't do cselib_lookup for VAR_LOC_UNKNOWN_P. Use get_address_mode. For cfa_base_rtx return MO_CLOBBER. (adjust_sets): Remove. (add_uses): Don't add extra MO_VAL_USE for cfa_base_rtx plus constant. Use get_address_mode. (get_adjusted_src): Remove. (add_stores): Don't call it. Never reuse expr SET. Don't add extra MO_VAL_USE for cfa_base_rtx plus constant. Use get_address_mode. (add_with_sets): Don't call adjust_sets. (fp_setter, vt_init_cfa_base): New functions. (vt_initialize): Change return type to bool. Move most of pool etc. initialization to the beginning of the function from end. Pass CSELIB_RECORD_MEMORY | CSELIB_PRESERVE_CONSTANTS to cselib_init. If !frame_pointer_needed, call vt_stack_adjustment before mos vector is filled, call vt_init_cfa_base if argp/framep has been eliminated to sp. If frame_pointer_needed and argp/framep has been eliminated to hard frame pointer, set hard_frame_pointer_adjustment and call vt_init_cfa_base after encountering fp setter in the prologue. For MO_ADJUST, call log_op_type before pusing the op into mos vector, not afterwards. Call adjust_insn before cselib_process_insn/add_with_sets, call cancel_changes (0) afterwards. (variable_tracking_main_1): Adjust for vt_initialize calling vt_stack_adjustments and returning whether it succeeded or not. * gcc.dg/guality/pr43051-1.c: New test. From-SVN: r157476
2010-03-16Daily bump.GCC Administrator1-1/+1
From-SVN: r157470
2010-03-15re PR testsuite/43363 (FAIL: g++.dg/ext/altivec-17.C)Janis Johnson2-1/+6
PR testsuite/43363 * g++.dg/ext/altivec-17.C: Handle changes to error message. From-SVN: r157467
2010-03-15graphite-sese-to-poly.c (rewrite_cross_bb_scalar_deps): Skip debug statements.Aldy Hernandez2-1/+7
* graphite-sese-to-poly.c (rewrite_cross_bb_scalar_deps): Skip debug statements. From-SVN: r157465
2010-03-15dwarf2out.c (dwarf2out_frame_debug): Don't assert drap_reg has been set.Jakub Jelinek2-6/+13
* dwarf2out.c (dwarf2out_frame_debug): Don't assert drap_reg has been set. (based_loc_descr): Use DW_OP_fbreg for vdrap_reg even when drap_reg has not been set. From-SVN: r157463
2010-03-15re PR middle-end/43300 (ICE: in emit_move_insn, at expr.c:3432)Michael Matz4-9/+61
PR middle-end/43300 * tree-outof-ssa.c (emit_partition_copy): New argument sizeexp, use it to expand block copies. (insert_partition_copy_on_edge, insert_rtx_to_part_on_edge, insert_part_to_rtx_on_edge): Adjust callers of emit_partition_copy. (insert_value_copy_on_edge): Use store_expr for BLKmode values. testsuite/ * gcc.dg/pr43300.c: New testcase. From-SVN: r157461
2010-03-15re PR tree-optimization/43367 (ice: in may_propagate_copy, at ↵Richard Guenther4-20/+46
tree-ssa-copy.c:85) 2010-03-15 Richard Guenther <rguenther@suse.de> PR tree-optimization/43367 * tree-cfg.c (gimple_can_merge_blocks_p): Simplify PHI elimination check. * gcc.c-torture/compile/pr43367.c: New testcase. From-SVN: r157458
2010-03-15re PR tree-optimization/43317 (ICE: Segmentation fault with ↵Richard Biener4-1/+27
-fipa-struct-reorg -g) 2010-03-15 Richard Guenther <rguenther@suse.de> PR tree-optimization/43317 * ipa-struct-reorg.c (create_new_general_access): Update stmt. * gcc.dg/pr43317.c: New testcase. From-SVN: r157457
2010-03-15PR tree/optimization/43141Martin Jambor2-0/+27
2010-03-15 Martin Jambor <mjambor@suse.cz> PR tree/optimization/43141 * tree-sra.c (create_abstract_origin): New function. (modify_function): Call create_abstract_origin. From-SVN: r157456
2010-03-15Makefile.in (stmp-int-hdrs): Don't chmod include/stdint.h if it wasn't copied.Chris Demetriou2-1/+7
2010-03-15 Chris Demetriou <cgd@google.com> * Makefile.in (stmp-int-hdrs): Don't chmod include/stdint.h if it wasn't copied. From-SVN: r157454
2010-03-15Daily bump.GCC Administrator1-1/+1
From-SVN: r157452
2010-03-14* Fix previous ChangeLog entry.Uros Bizjak1-1/+1
From-SVN: r157449
2010-03-14packed1.C: Expect warning on the alpha*-*-*.Uros Bizjak4-12/+20
* g++.dg/abi/packed1.C: Expect warning on the alpha*-*-*. * g++.dg/graphite/pr43026.C (dg-options): Remove -m32. From-SVN: r157448
2010-03-14re PR fortran/43362 (ICE with structure constuctor with DT component)Tobias Burnus4-0/+52
2010-03-14 Tobias Burnus <burnus@net-b.de> PR fortran/43362 * resolve.c (resolve_structure_cons): Add missing PURE * constraint. (resolve_ordinary_assign): Add check to avoid segfault. 2010-03-14 Tobias Burnus <burnus@net-b.de> PR fortran/43362 * gfortran.dg/impure_constructor_1.f90: New test. From-SVN: r157447
2010-03-14Daily bump.GCC Administrator1-1/+1
From-SVN: r157445
2010-03-13Add ChangeLog entries.Sebastian Pop2-0/+74
From-SVN: r157441
2010-03-13Fix PR43354: Correctly handle default definitions.Sebastian Pop3-2/+28
2010-03-13 Sebastian Pop <sebastian.pop@amd.com> PR middle-end/43354 * graphite-sese-to-poly.c (rewrite_close_phi_out_of_ssa): Do not call insert_out_of_ssa_copy for default definitions. * gfortran.dg/graphite/id-pr43354.f: New. From-SVN: r157440
2010-03-13Add testcase from PR43349.Sebastian Pop2-0/+40
2010-03-11 Sebastian Pop <sebastian.pop@amd.com> PR middle-end/43349 * gfortran.dg/graphite/pr43349.f: New. From-SVN: r157439
2010-03-13Use ssizetype when long_long_integer_type_node is NULL.Sebastian Pop3-6/+22
2010-03-11 Sebastian Pop <sebastian.pop@amd.com> * graphite-clast-to-gimple.c (my_long_long): Defined. (gcc_type_for_cloog_iv): Use it instead of long_long_integer_type_node. * graphite-sese-to-poly.c (my_long_long): Defined. (scop_ivs_can_be_represented): Use it. From-SVN: r157438
2010-03-13Fix documentation of the new parameters.Sebastian Pop3-9/+21
2010-03-10 Sebastian Pop <sebastian.pop@amd.com> * doc/invoke.texi: Fix documentation of graphite-max-nb-scop-params, graphite-max-bbs-per-function, and loop-block-tile-size. * params.def (PARAM_GRAPHITE_MAX_NB_SCOP_PARAMS): Replace "maximal" with "maximum". (PARAM_GRAPHITE_MAX_BBS_PER_FUNCTION): Same. From-SVN: r157437
2010-03-13Cleanup: remove FIXMEs, add new function.Sebastian Pop3-61/+78
2010-03-10 Sebastian Pop <sebastian.pop@amd.com> * graphite-clast-to-gimple.c (gcc_type_for_iv_of_clast_loop): Remove forward declaration. * graphite-sese-to-poly.c (reduction_phi_p): Remove FIXME comment. (add_upper_bounds_from_estimated_nit): New. (build_loop_iteration_domains): Use it. From-SVN: r157436
2010-03-13Document PARAM_LOOP_BLOCK_TILE_SIZE.Sebastian Pop2-8/+21
2010-03-09 Sebastian Pop <sebastian.pop@amd.com> * doc/invoke.texi (PARAM_LOOP_BLOCK_TILE_SIZE): Document. From-SVN: r157435
2010-03-13Fix PR43306: correct evolution_function_right_is_integer_cst.Sebastian Pop3-7/+21
2010-03-09 Sebastian Pop <sebastian.pop@amd.com> PR middle-end/43306 * tree-chrec.c (evolution_function_right_is_integer_cst): CHREC_RIGHT should be an INTEGER_CST. Also handle CASE_CONVERT. * gcc.dg/graphite/pr43306.c: New. From-SVN: r157434
2010-03-13Add PARAM_GRAPHITE_MAX_BBS_PER_FUNCTION.Sebastian Pop4-1/+20
2010-03-09 Sebastian Pop <sebastian.pop@amd.com> * graphite.c (graphite_initialize): To bound the number of bbs per function, use PARAM_GRAPHITE_MAX_BBS_PER_FUNCTION. * params.def (PARAM_GRAPHITE_MAX_BBS_PER_FUNCTION): Declared. * doc/invoke.texi: Document it. From-SVN: r157433
2010-03-13Make build_poly_scop not return a bool.Sebastian Pop3-8/+13
2010-03-09 Sebastian Pop <sebastian.pop@amd.com> * graphite-sese-to-poly.c (build_poly_scop): Do not return bool. * graphite-sese-to-poly.h (build_poly_scop): Same. From-SVN: r157432
2010-03-13Limit the number of parameters per SCoP.Sebastian Pop4-0/+24
2010-03-09 Sebastian Pop <sebastian.pop@amd.com> * graphite-sese-to-poly.c (build_poly_scop): Limit scops following the number of parameters in the scop. Use as an upper bound PARAM_GRAPHITE_MAX_NB_SCOP_PARAMS. * params.def (PARAM_GRAPHITE_MAX_NB_SCOP_PARAMS): Declared. * doc/invoke.texi: Document it. From-SVN: r157431
2010-03-13Correct ChangeLog entry.H.J. Lu1-1/+1
From-SVN: r157425
2010-03-13Makefile.in (TEXI_GCCINT_FILES): Remove c-tree.texi.Jerry Quinn7-2979/+3188
2010-03-13 Jerry Quinn <jlquinn@optonline.net> * Makefile.in (TEXI_GCCINT_FILES): Remove c-tree.texi. * doc/c-tree.texi: Remove. * doc/generic.texi: Merge c-tree.texi here. * doc/gccint.texi (Trees): Remove menu entry. (c-tree.texi): Remove @include. * doc/rtl.texi (Reading RTL): Update pxref from Trees to GENERIC. * doc/languages.texi (Reading RTL): Ditto. From-SVN: r157419
2010-03-1220090313_0.c: Add -mcpu=v9 to dg-lto-options on sparc.David S. Miller2-0/+6
* gcc.dg/lto/20090313_0.c: Add -mcpu=v9 to dg-lto-options on sparc. From-SVN: r157416
2010-03-13sibcall-1.c: Allow PLT to appear with pic code.Kaveh R. Ghazi2-1/+6
* gcc.target/arm/sibcall-1.c: Allow PLT to appear with pic code. From-SVN: r157415
2010-03-13Daily bump.GCC Administrator1-1/+1
From-SVN: r157414
2010-03-12re PR fortran/43291 ([OOP] Type mismatch in argument; passed CLASS(t1) to ↵Paul Thomas4-26/+117
CLASS(t2)) 2010-03-12 Paul Thomas <pault@gcc.gnu.org> PR fortran/43291 PR fortran/43326 * resolve.c (resolve_compcall): Add new boolean dummy argument 'class_members'. Only resolve expression at end if false. Remove redundant, static variable 'class_object'. (check_class_members): Add extra argument to call of resolve_compcall. (resolve_typebound_function): Renamed resolve_class_compcall. Do all the detection of class references here. Correct calls to resolve_compcall for extra argument. (resolve_typebound_subroutine): resolve_class_typebound_call renamed. Otherwise same as resolve_typebound_function. (gfc_resolve_expr): Call resolve_typebound_function. (resolve_code): Call resolve_typebound_subroutine. 2010-03-12 Paul Thomas <pault@gcc.gnu.org> PR fortran/43291 PR fortran/43326 * gfortran.dg/dynamic_dispatch_7.f03: New test. From-SVN: r157411
2010-03-12re PR target/42869 (GOMP_critical_start wrong on Itanium due to __sync ↵Steve Ellcey2-1/+6
miscompilation) 2010-03-12 Steve Ellcey <sje@cup.hp.com> PR target/42869 * config/ia64/sync.md (sync_compare_and_swap): Move memory fence. From-SVN: r157410
2010-03-12Remove band-aid no longer needed by the fix in PR 43431Michael Meissner2-26/+6
From-SVN: r157408
2010-03-12default_format_denormal_1.f90: Don't assume fail for *-*-mingw* targets.Kai Tietz2-1/+6
2010-03-12 Kai Tietz <kai.tietz@onevision.com> * gfortran.dg/default_format_denormal_1.f90: Don't assume fail for *-*-mingw* targets. From-SVN: r157406
2010-03-12cselib.c (LONG_TERM_PRESERVED_VALUE_P): Remove.Jakub Jelinek4-422/+214
* cselib.c (LONG_TERM_PRESERVED_VALUE_P): Remove. (cselib_preserve_definitely, cselib_clear_preserve): Remove. (cselib_preserve_only_values): Remove retain argument, don't traverse hash table with cselib_{preserve_definitely,clear_preserve}. * cselib.h (cselib_preserve_only_values): Remove retain argument. * var-tracking.c (micro_operation): Move insn field before union. Add DEF_VEC_O and DEF_VEC_ALLOC_O for this type. (struct variable_tracking_info_def): Remove n_mos field, change mos into a vector of micro_operations. (count_uses, count_uses_1, count_stores, count_with_sets): Remove. (bb_stack_adjust_offset, log_op_type, add_uses, add_stores, compute_bb_dataflow, emit_notes_in_bb): Adjust for VTI (bb)->mos changing into a vector. (add_with_sets): Likewise. Ensure MO_VAL_USE uops from add_stores come before all other uops generated by add_stores. (vt_add_function_parameters): Adjust for cselib_preserve_only_values argument removal. (vt_initialize): Likewise. Adjust for VTI (bb)->mos changing into a vector. Run just one pass over the bbs instead of separate counting and computation phase. (vt_finalize): Free VTI (bb)->mos vector instead of array. From-SVN: r157403
2010-03-12re PR debug/43329 (Early inlining causes suboptimal debug info)Jakub Jelinek6-20/+93
PR debug/43329 * tree-inline.c (remap_decls): Put old_var rather than origin_var into *nonlocalized_list vector. * dwarf2out.c (gen_formal_parameter_die): Call decl_ultimate_origin even if origin is non-NULL. (gen_variable_die): Likewise. (process_scope_var): Don't change origin. (gen_decl_die): Likewise. * tree-cfgcleanup.c (remove_forwarder_block): Check single_pred_p before adding new edges instead of after it, fix moving over debug stmts. * gcc.dg/guality/pr43329-1.c: New test. From-SVN: r157402
2010-03-11configure.ac (gcc_cv_as_cfi_advance_working): Skip a multiple of four.David S. Miller3-4/+9
* configure.ac (gcc_cv_as_cfi_advance_working): Skip a multiple of four. * configure: Rebuild. From-SVN: r157397
2010-03-12Daily bump.GCC Administrator1-1/+1
From-SVN: r157396
2010-03-11re PR tree-optimization/43257 (IPA-SRA changes DECL_ASSEMBLER_NAME)Martin Jambor6-20/+77
2010-03-11 Martin Jambor <mjambor@suse.cz> PR tree-optimization/43257 * tree.c (assign_assembler_name_if_neeeded): New function. (free_lang_data_in_cgraph): Assembler name assignment moved to the above new function. * tree.h (assign_assembler_name_if_neeeded): Declare. * cgraphunit.c (cgraph_analyze_function): Create an assembler name for the function if needed. * testsuite/g++.dg/torture/pr43257.C: New test. From-SVN: r157393
2010-03-11Makefile.in (stmp-int-hdrs): Make include/unwind.h, include/stdint-gcc.h, ↵Chris Demetriou2-0/+8
and include/stdint.h world-readable. 2010-03-11 Chris Demetriou <cgd@google.com> * Makefile.in (stmp-int-hdrs): Make include/unwind.h, include/stdint-gcc.h, and include/stdint.h world-readable. From-SVN: r157392
2010-03-11re PR fortran/43228 (NAMELIST I/O: Reading at 2 dimensions (rank) array values.)Tobias Burnus2-0/+40
2010-03-11 Tobias Burnus <burnus@net-b.de> PR fortran/43228 * io/list_read.c (nml_parse_qualifier): Disable expanded_read for array sections. 2010-03-11 Tobias Burnus <burnus@net-b.de> PR fortran/43228 * gfortran.dg/namelist_61.f90: New test. From-SVN: r157389
2010-03-11re PR middle-end/43255 (ICE in extract_range_from_assert, at tree-vrp.c:1423)Richard Guenther4-0/+48
2010-03-11 Richard Guenther <rguenther@suse.de> PR tree-optimization/43255 * tree-vrp.c (process_assert_insertions_for): Do not insert asserts for trivial conditions. * gcc.c-torture/compile/pr43255.c: New testcase. From-SVN: r157388
2010-03-11re PR tree-optimization/43280 (gcc4.5 -m32 -O2: misoptimizes sha256!)Andreas Krebbel5-10/+68
2010-03-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> PR tree-optimization/43280 * tree-ssa-math-opts.c (find_bswap_1): Modify symbolic number generation. Move calculation of size out of the if branch. (find_bswap): Modify compare number generation. 2010-03-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * gcc.dg/optimize-bswapdi-1.c: Add OpenSSL bswap variant. * gcc.dg/pr43280.c: New testcase. From-SVN: r157386
2010-03-11re PR lto/43200 ([LTO] tree check: expected array_type, have pointer_type in ↵Richard Guenther5-9/+68
array_ref_low_bound) 2010-03-11 Richard Guenther <rguenther@suse.de> PR lto/43200 * lto-streamer-in.c (maybe_fixup_decls): Simplify. (input_gimple_stmt): Fixup handled component types during operand read. Also fix up decls in ADDR_EXPRs. * gcc.dg/lto/20100227-1_0.c: New testcase. * gcc.dg/lto/20100227-1_1.c: Likewise. From-SVN: r157385