1. 03 Sep, 2008 9 commits
  2. 02 Sep, 2008 27 commits
    • pr33009.c: xfail on hppa*-*-*. · 24ce68ee
      	* gcc.c-torture/compile/pr33009.c: xfail on hppa*-*-*.
      	* gcc.c-torture/compile/pr11832.c: Likewise.
      
      From-SVN: r139919
      John David Anglin committed
    • Fix previous changelog entry. · 13eaee4a
      From-SVN: r139918
      Adam Nemet committed
    • * sel-sched.c (fur_orig_expr_found): Mark arguments unused. · a20d7130
      From-SVN: r139916
      Adam Nemet committed
    • Add the Graphite merge entry. · b328f3af
      From-SVN: r139912
      Sebastian Pop committed
    • dwarf2out.c (tree_add_const_value_attribute): Only handle VAR_DECL and CONST_DECL. · dd4bf866
      	* dwarf2out.c (tree_add_const_value_attribute): Only handle
      	VAR_DECL and CONST_DECL.
      
      From-SVN: r139911
      Jakub Jelinek committed
    • i386.c (X86_64_VARARGS_SIZE): Removed. · 4aab97f9
      	* config/i386/i386.c (X86_64_VARARGS_SIZE): Removed.
      	(setup_incoming_varargs_64): Assume cum != NULL. Set/check
      	ix86_varargs_gpr_size and ix86_varargs_fpr_size.  Use
      	ix86_varargs_gpr_size instead of X86_64_REGPARM_MAX.
      	Don't set ix86_save_varrargs_registers.
      	(ix86_setup_incoming_varargs): Assume cum != NULL.
      	(ix86_va_start): Check ix86_varargs_gpr_size and
      	ix86_varargs_fpr_size instead of cfun->va_list_gpr_size and
      	cfun->va_list_fpr_size, respectively.  Subtract 8*X86_64_REGPARM_MAX
      	from frame pointer if ix86_varargs_gpr_size == 0.
      	(ix86_compute_frame_layout): Updated.
      	* config/i386/i386.h (ix86_save_varrargs_registers): Removed.
      	(ix86_varargs_gpr_size): Define.
      	(ix86_varargs_fpr_size): Likewise.
      	(machine_function): Remove save_varrargs_registers.
      	Add varargs_gpr_size and varargs_fpr_size.
      
      	* gcc.target/i386/amd64-abi-3.c: New test.
      	* gcc.target/i386/amd64-abi-4.c: Likewise.
      	* gcc.target/i386/amd64-abi-5.c: Likewise.
      	* gcc.target/i386/amd64-abi-6.c: Likewise.
      
      Co-Authored-By: Jakub Jelinek <jakub@redhat.com>
      
      From-SVN: r139910
      H.J. Lu committed
    • alpha.c (va_list_skip_additions, [...]): Tuplify. · 777b1fbe
      	* config/alpha/alpha.c (va_list_skip_additions,
      	alpha_stdarg_optimize_hook, alpha_gimplify_va_arg_1): Tuplify.
      	(alpha_gimplify_va_arg): Call unshare_expr on second use of
      	offset_field.
      
      From-SVN: r139909
      Jakub Jelinek committed
    • re PR tree-optimization/36766 (natGC.cc:229: internal compiler error: Segmentation fault) · 833ee764
      	PR tree-optimization/36766
      	* tree-cfg.c (gimple_purge_all_dead_eh_edges): Do nothing
      	for already removed basic blocks.
      
      	* g++.dg/tree-ssa/pr36766.C: New test.
      
      From-SVN: r139908
      Jakub Jelinek committed
    • re PR testsuite/36332 (FAIL: gcc.dg/torture/type-generic-1.c execution test on powerpc-*) · c83c7e7e
      	PR target/36332
      	* real.c (real_maxval): Clear a lower bit to make real_maxval
      	match get_max_float for IBM long double format.
      
      	* gcc.c-torture/execute/ieee/pr36332.c: New test.
      
      From-SVN: r139906
      Jakub Jelinek committed
    • configure.ac: Use m4_quote to quote the expansion of m4_do. · 75c9cbe3
      * configure.ac: Use m4_quote to quote the expansion of m4_do.
      * configure: Regenerate.
      
      From-SVN: r139905
      Andreas Schwab committed
    • re PR c/37171 (Canonical spelling optimization dependency) · ef66fb29
      	PR c/37171
      	* g++.dg/ext/attrib34.C: New test.
      
      From-SVN: r139904
      Jakub Jelinek committed
    • simplify-rtx.c (simplify_binary_operation_1): Check for CONST... · dd59ef13
      gcc/
      	* simplify-rtx.c (simplify_binary_operation_1): Check for CONST,
      	SYMBOL_REF and LABEL_REF when applying plus_constant, instead of
      	checking for a non-VOID CONSTANT_P.
      
      From-SVN: r139903
      Richard Sandiford committed
    • * predict.c (pass_strip_predict_hints): Avoid bugs dump file. · edcfeaee
      From-SVN: r139898
      Jan Hubicka committed
    • expr.c (emit_group_store): Don't assert stack temp mode size. · e0978eba
      2008-09-02  H.J. Lu  <hongjiu.lu@intel.com>
      
      	* expr.c (emit_group_store): Don't assert stack temp mode size.
      
      From-SVN: r139894
      H.J. Lu committed
    • backport: configure: Regenerate. · f8bf9252
      2008-09-02  Sebastian Pop  <sebastian.pop@amd.com>
      	    Tobias Grosser  <grosser@fim.uni-passau.de>
      	    Jan Sjodin  <jan.sjodin@amd.com>
      	    Harsha Jagasia  <harsha.jagasia@amd.com>
      	    Dwarakanath Rajagopal  <dwarak.rajagopal@amd.com>
      	    Konrad Trifunovic  <konrad.trifunovic@inria.fr>
      	    Adrien Eliche  <aeliche@isty.uvsq.fr>
      
      	Merge from graphite branch.
      	* configure: Regenerate.
      	* Makefile.in: Regenerate.
      	* configure.ac (host_libs): Add ppl and cloog.
      	Add checks for PPL and CLooG.
      	* Makefile.def (ppl, cloog): Added modules and dependences.
      	* Makefile.tpl (PPLLIBS, PPLINC, CLOOGLIBS, CLOOGINC): New.
      	(HOST_PPLLIBS, HOST_PPLINC, HOST_CLOOGLIBS, HOST_CLOOGINC): New.
      
      gcc/
      	* graphite.c: New.
      	* graphite.h: New.
      	* tree-loop-linear.c (perfect_loop_nest_depth): Export.
      	* doc/invoke.texi (-floop-block, -floop-interchange,
      	-floop-strip-mine): Document new flags.
      	* tree-into-ssa.c (gimple_vec): Moved...
      	* tree-loop-distribution.c (rdg_component): Moved...
      	* cfgloopmanip.c: Include tree-flow.h.
      	(update_dominators_in_loop): New.
      	(create_empty_if_region_on_edge): New.
      	(create_empty_loop_on_edge): New.
      	(loopify): Use update_dominators_in_loop.
      	* tree-pass.h (pass_graphite_transforms): Declared.
      	* configure: Regenerate.
      	* tree-phinodes.c (make_phi_node): Export.
      	(add_phi_node_to_bb): New, split from create_phi_node.
      	* tree-chrec.c (for_each_scev_op): New.
      	* tree-chrec.h (for_each_scev_op): Declared.
      	* tree-ssa-loop-ivopts.c (get_phi_with_result): New.
      	(remove_statement): Call get_phi_with_result.
      	* config.in (HAVE_cloog): Undef.
      	* gdbinit.in (pgg): New.
      	* timevar.def (TV_GRAPHITE_TRANSFORMS): New.
      	* tree-ssa-loop.c (graphite_transforms): New.
      	(gate_graphite_transforms): New.
      	(pass_graphite_transforms): New.
      	* configure.ac (PPLLIBS, PPLINC, CLOOGLIBS, CLOOGINC,
      	HAVE_cloog): Defined.
      	* tree-vectorizer.c (rename_variables_in_bb): Export.
      	* tree-data-ref.c (dr_may_alias_p): Export.
      	(stmt_simple_memref_p): New.
      	(find_data_references_in_stmt): Export.
      	(find_data_references_in_loop): Export.
      	(create_rdg_edge_for_ddr): Initialize RDGE_RELATION.
      	(create_rdg_edges_for_scalar): Initialize RDGE_RELATION.
      	(create_rdg_vertices): Export.
      	(build_empty_rdg): New.
      	(build_rdg): Call build_empty_rdg.  Free dependence_relations.
      	* tree-data-ref.h (rdg_component): ... here.
      	(scop_p): New.
      	(struct data_reference): Add a field scop.
      	(DR_SCOP): New.
      	(find_data_references_in_loop): Declared.
      	(find_data_references_in_stmt): Declared.
      	(create_rdg_vertices): Declared.
      	(dr_may_alias_p): Declared.
      	(stmt_simple_memref_p): Declared.
      	(struct rdg_edge): Add a field ddr_p relation.
      	(build_empty_rdg): Declared.
      	* lambda.h (lambda_matrix): Declare a VEC of.
      	(find_induction_var_from_exit_cond): Declared.
      	(lambda_vector_compare): New.
      	* common.opt (fgraphite, floop-strip-mine,
      	floop-interchange, floop-block): New flags.
      	* lambda-code.c (find_induction_var_from_exit_cond): Export.
      	* cfgloop.c (is_loop_exit): New.
      	* cfgloop.h (is_loop_exit): Declared.
      	(create_empty_if_region_on_edge): Declared.
      	(create_empty_loop_on_edge): Declared.
      	* tree-flow.h (add_phi_node_to_bb): Declared.
      	(make_phi_node): Declared.
      	(rename_variables_in_bb): Declared.
      	(perfect_loop_nest_depth): Declared.
      	(graphite_transform_loops): Declared.
      	* Makefile.in (cfgloopmanip.o): Depend on TREE_FLOW_H.
      	(graphite.o-warn): Add -Wno-error.
      	(PPLLIBS, PPLINC, CLOOGLIBS, CLOOGINC): Declared.
      	(LIBS): Add GMPLIBS, CLOOGLIBS, PPLLIBS.
      	(INCLUDES): Add PPLINC, CLOOGINC.
      	(OBJS-common): Add graphite.o.
      	(graphite.o): Add rule.
      	* gimple.h (gimple_vec): ... here.
      	* tree-cfg.c (print_loops): Start printing at ENTRY_BLOCK_PTR.
      	* passes.c (init_optimization_passes): Schedule 
      	pass_graphite_transforms.
      
      testsuite/
      
      	* gcc.dg/graphite/scop-{0,1,2,3,4,5,6,7,8,9,
      	10,11,12,13,14,15,16,17,18}.c: New.
      	* gcc.dg/graphite/graphite.exp: New.
      	* gcc.dg/graphite/scop-matmult.c: New.
      	* gcc.dg/graphite/block-0.c: New.
      	* lib/target-supports.exp (check_effective_target_fgraphite): New.
      	* gfortran.dg/graphite/block-1.f90: New.
      	* gfortran.dg/graphite/scop-{1,2}.f: New.
      	* gfortran.dg/graphite/block-{1,3,4}.f90: New.
      	* gfortran.dg/graphite/graphite.exp: New.
      
      
      Co-Authored-By: Adrien Eliche <aeliche@isty.uvsq.fr>
      Co-Authored-By: Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
      Co-Authored-By: Harsha Jagasia <harsha.jagasia@amd.com>
      Co-Authored-By: Jan Sjodin <jan.sjodin@amd.com>
      Co-Authored-By: Konrad Trifunovic <konrad.trifunovic@inria.fr>
      Co-Authored-By: Tobias Grosser <grosser@fim.uni-passau.de>
      
      From-SVN: r139893
      Sebastian Pop committed
    • re PR target/37283 (Cannot build crtbegin.o for ARM) · 57b08d04
          gcc/
      	PR target/37283
      	* opts.c (decode_options): Move processing of -fno-unit-at-a-time
      	and -fno-toplevel-reorder after handle_options.
      
      From-SVN: r139892
      Samuel Tardieu committed
    • arm.c (arm_tune_cortex_a9): Define. · 7612f14d
      2008-09-02  Paul Brook  <paul@codesourcery.com>
      
      	* config/arm/arm.c (arm_tune_cortex_a9): Define.
      	(arm_override_options): Set arm_tune_cortex_a9.
      	(arm_rtx_costs_1): Make register shifts more expensive on Cortex-A9.
      	(arm_issue_rate): Handle cortexa9.
      	* config/arm/arm.h (arm_tune_cortex_a9): Declare.
      	* config/arm/arm-cores.def: Add cortex-a9.
      	* config/arm/arm-tune.md: Regenerate.
      	* config/arm/arm.md: Include cortex-a9.md.
      	(generic_sched, generic_vfp): Add cortexa9.
      	* config/arm/cortex-a9.md: New file.
      
      From-SVN: r139891
      Paul Brook committed
    • re PR tree-optimization/37327 (another ice in set_value_range, at tree-vrp.c:397) · a1b969a0
      2008-09-02  Richard Guenther  <rguenther@suse.de>
      
      	PR tree-optimization/37327
      	* tree-vrp.c (register_new_assert_for): Make sure to not have
      	TREE_OVERFLOW set on the bound.
      
      	* gcc.c-torture/compile/pr37327.c: New testcase.
      
      From-SVN: r139890
      Richard Guenther committed
    • Fixed typo in date of the 2008-09-01 MOVE_RATIO commit. · 7ab5df48
      2008-09-02  Alexander Monakov  <amonakov@ispras.ru>
      
              Fixed typo in date of the 2008-09-01 MOVE_RATIO commit.
      
              * config/ia64/ia64.opt (msched-ar-data-spec): Default to 1.
              * config/ia64/ia64.c (ia64_set_sched_flags): Always initialize
              spec_info->mask.
      
      From-SVN: r139889
      Andrey Belevantsev committed
    • spu.md (divdf3): Removed. · f6d5e84a
      2008-09-02  Victor Kaplansky  <victork@il.ibm.com>
      
        * gcc/config/spu/spu.md (divdf3): Removed.
      
      Testsuite Changelog:
      
        * gcc.dg/fastmath-2.c: New.
      
      From-SVN: r139888
      Victor Kaplansky committed
    • re PR tree-optimization/37095 (Trouble with covariant return) · 1aeaf0f7
      	PR tree-optimization/37095
      	* cgraph.c (cgraph_node): When creating new cgraph node after
      	assembler_name_hash has been populated, record it in the hash
      	table.
      
      	* g++.dg/inherit/thunk9.C: New test.
      
      From-SVN: r139887
      Jakub Jelinek committed
    • re PR fortran/37228 (F2008: Support g0.<d> edit descriptor) · 900e887f
      2008-09-01  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      
      	PR fortran/37228
      	* io.c (check_format): Allow specifying precision with g0 format.
      
      2008-09-01  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      
      	PR libfortran/37301
      	PR libfortran/37228
      	* io/io.h (write_real_g0): Declare new function to handle g0.d format.
      	* io/transfer.c (formatted_transfer_scalar): Use new function.
      	* io/format.c (parse_format_list): Enable g0.d.
      	* io/write.c (write_a_char4): Delete unused var.
      	(set_fnode_default): New function to set the default fnode w, d, and e
      	factored from write_real. (write_real): Use new factored function.
      	(write_real_g0): New function that sets d to that passed by g0.d format
      	specifier and set format to ES.  Default values for w and e are used
      	from the new function, set_fnode_default.
      
      2008-09-01  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      
      	PR fortran/37228
      	* gfortran.dg/fmt_g0_4.f08: Revised test.
      
      From-SVN: r139886
      Jerry DeLisle committed
    • gfortran.h (struct gfc_namespace): New member `implicit_loc'. · 52f49934
      2008-09-02  Daniel Kraft  <d@domob.eu>
      
      	* gfortran.h (struct gfc_namespace): New member `implicit_loc'.
      	(gfc_add_abstract): New method.
      	* decl.c (gfc_get_type_attr_spec): Match ABSTRACT attribute.
      	(gfc_match_derived_decl): Copy abstract attribute in derived symbol.
      	* dump-parse-tree.c (show_attr): Show ABSTRACT attribute as `ABSTRACT'
      	only to allow for ABSTRACT types.
      	* parse.c (parse_interface): Use new gfc_add_abstract.
      	* primary.c (gfc_match_structure_constructor): Check that no ABSTRACT
      	type is constructed.
      	* resolve.c (resolve_typespec_used): New method.
      	(resolve_fl_derived): Check type in respect to ABSTRACT attribute and
      	check that no component is of an ABSTRACT type.
      	(resolve_symbol): Check that no symbol is of an ABSTRACT type.
      	(resolve_types): Check IMPLICIT declarations for ABSTRACT types.
      	* symbol.c (gfc_merge_new_implicit): Remember loci of IMPLICIT's.
      	(gfc_add_abstract): New method.
      
      2008-09-02  Daniel Kraft  <d@domob.eu>
      
      	* gfortran.dg/abstract_type_1.f90: New test.
      	* gfortran.dg/abstract_type_2.f03: New test.
      	* gfortran.dg/abstract_type_3.f03: New test.
      	* gfortran.dg/abstract_type_4.f03: New test.
      
      From-SVN: r139885
      Daniel Kraft committed
    • invoke.texi: Document -mword-relocations. · 571191af
      2008-09-01  Paul Brook  <paul@codesourcery.com>
      
      	* doc/invoke.texi: Document -mword-relocations.
      	* config/arm/uclinux-elf.h (TARGET_DEFAULT_WORD_RELOCATIONS): Define.
      	* config/arm/symbian.h (TARGET_DEFAULT_WORD_RELOCATIONS): Define.
      	* config/arm/vxworks.h (TARGET_DEFAULT_WORD_RELOCATIONS): Define.
      	* config/arm/arm.c (arm_split_constant): Use arm_emit_movpair.
      	(arm_rtx_costs_1, arm_size_rtx_costs): Handle HIGH and LO_SUM.
      	(arm_emit_movpair): New function.
      	(arm_print_operand <c>): Handle sybolic addresses.
      	* config/arm/arm.h (TARGET_USE_MOVT): Define.
      	(TARGET_DEFAULT_WORD_RELOCATIONS): Define.
      	* config/arm/arm-protos.h (arm_emit_movpair): Add prototype.
      	* config/arm/arm.opt: Add -mword-relocations.
      	* config/arm/arm.md (movsi): Use arm_emit_movpair.
      	(arm_movt, arm_movw): New.
      
      From-SVN: r139881
      Paul Brook committed
    • error.c: Fix cast for printf. · 4e2eb53c
      2008-09-01  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      
      	* runtime/error.c: Fix cast for printf.
      
      From-SVN: r139880
      Jerry DeLisle committed
    • Daily bump. · 4385cc71
      From-SVN: r139878
      GCC Administrator committed
  3. 01 Sep, 2008 4 commits