1. 01 Apr, 2010 15 commits
  2. 31 Mar, 2010 25 commits
    • ioparm.def: Update copyright. · 0a261912
      2010-03-31  Paul Thomas  <pault@gcc.gnu.org>
      
      	* ioparm.def : Update copyright.
      	* lang.opt : ditto
      	* trans-array.c : ditto
      	* trans-array.h : ditto
      	* expr.c: ditto
      	* trans-types.c: ditto
      	* dependency.c : ditto
      	* gfortran.h : ditto
      	* options.c : ditto
      	* trans-io.c : ditto
      	* trans-intrinsic.c : ditto
      	* libgfortran.h : ditto
      	* invoke.texi : ditto
      	* intrinsic.texi : ditto
      	* trans.c : ditto
      	* trans.h : ditto
      	* intrinsic.c : ditto
      	* interface.c : ditto
      	* iresolve.c : ditto
      	* trans-stmt.c : ditto
      	* trans-stmt.h : ditto
      	* parse,c : ditto
      	* match.h : ditto
      	* error.c : ditto
      
      From-SVN: r157895
      Paul Thomas committed
    • Add ChangeLog entries. · 25d635d9
      From-SVN: r157890
      Sebastian Pop committed
    • Fix PR43464: copyprop should maintain loop close phi nodes with multiple arguments. · 3cbf7085
      2010-03-30  Richard Guenther  <rguenther@suse.de>
      	    Zdenek Dvorak  <ook@ucw.cz>
      	    Sebastian Pop  <sebastian.pop@amd.com>
      
      	PR middle-end/43464
      	* tree-ssa-copy.c (init_copy_prop): Handle loop close phi nodes
      	with multiple arguments.
      	(execute_copy_prop): Remove call to rewrite_into_loop_closed_ssa.
      
      Co-Authored-By: Sebastian Pop <sebastian.pop@amd.com>
      Co-Authored-By: Zdenek Dvorak <ook@ucw.cz>
      
      From-SVN: r157889
      Richard Guenther committed
    • Add a verbosity parameter to clean up the comments of pretty printers. · 40bf935e
      2010-03-23  Sebastian Pop  <sebastian.pop@amd.com>
      
      	* graphite-dependences.c (print_pddr): Call print_pdr with an
      	extra argument.
      	* graphite-poly.c (debug_pdr): Add an extra argument for the
      	verbosity level.
      	(print_pdr): Same.
      	(print_pbb_domain): Same.
      	(print_pbb): Same.
      	(print_scop_context): Same.
      	(print_scop): Same.
      	(print_cloog): Same.
      	(debug_pbb_domain): Same.
      	(debug_pbb): Same.
      	(print_pdrs): Same.
      	(debug_pdrs): Same.
      	(debug_scop_context): Same.
      	(debug_scop): Same.
      	(debug_cloog): Same.
      	(print_scop_params): Same.
      	(debug_scop_params): Same.
      	(print_iteration_domain): Same.
      	(print_iteration_domains): Same.
      	(debug_iteration_domain): Same.
      	(debug_iteration_domains): Same.
      	(print_scattering_function): Same.
      	(print_scattering_functions): Same.
      	(debug_scattering_function): Same.
      	(debug_scattering_functions): Same.
      	* graphite-poly.h (debug_pdr): Update declaration.
      	(print_pdr): Same.
      	(print_pbb_domain): Same.
      	(print_pbb): Same.
      	(print_scop_context): Same.
      	(print_scop): Same.
      	(print_cloog): Same.
      	(debug_pbb_domain): Same.
      	(debug_pbb): Same.
      	(print_pdrs): Same.
      	(debug_pdrs): Same.
      	(debug_scop_context): Same.
      	(debug_scop): Same.
      	(debug_cloog): Same.
      	(print_scop_params): Same.
      	(debug_scop_params): Same.
      	(print_iteration_domain): Same.
      	(print_iteration_domains): Same.
      	(debug_iteration_domain): Same.
      	(debug_iteration_domains): Same.
      	(print_scattering_function): Same.
      	(print_scattering_functions): Same.
      	(debug_scattering_function): Same.
      	(debug_scattering_functions): Same.
      
      From-SVN: r157888
      Sebastian Pop committed
    • Print SCoPs under CLooG format. · 730a9846
      2010-03-23  Sebastian Pop  <sebastian.pop@amd.com>
      
      	* graphite-poly.c (print_scattering_function_1): New.
      	(print_scattering_function): Call it.
      	(print_scop_params): Remove spaces at the end of lines.
      	(print_cloog): New.
      	(debug_cloog): New.
      	* graphite-poly.h (print_cloog): Declared.
      	(debug_cloog): Declared.
      
      From-SVN: r157887
      Sebastian Pop committed
    • Add testcases for PR43464. · 9c0c34c2
      Co-Authored-By: Richard Guenther <rguenther@suse.de>
      
      From-SVN: r157886
      Sebastian Pop committed
    • canonicalize_loop_ivs should add the IV bump in loop->header. · c80a5403
      2010-03-16  Sebastian Pop  <sebastian.pop@amd.com>
      
      	* graphite-sese-to-poly.c (graphite_loop_normal_form): Add the IV bump
      	in loop->header.
      	* tree-flow.h (canonicalize_loop_ivs): Updated declaration.
      	* tree-parloops.c (gen_parallel_loop): Add the IV bump in loop->latch.
      	* tree-ssa-loop-manip.c (canonicalize_loop_ivs): Add a new parameter
      	to switch between adding the IV bump in loop->latch or in loop->header.
      
      From-SVN: r157885
      Sebastian Pop committed
    • Add pass_copy_prop after Graphite. · caaf41d0
      2010-03-16  Sebastian Pop  <sebastian.pop@amd.com>
      
      	* passes.c (init_optimization_passes): Add pass_copy_prop
      	after Graphite.
      
      From-SVN: r157884
      Sebastian Pop committed
    • Make print_scop output the scoplib format. · 03922af3
      2010-03-16  Sebastian Pop  <sebastian.pop@amd.com>
      
      	* graphite-poly.c (print_scattering_function): Pretty print following
      	the scoplib format.
      	(print_pdr): Same.
      	(print_pbb_domain): Same.
      	(dump_gbb_cases): Same.
      	(dump_gbb_conditions): Same.
      	(print_pdrs): Same.
      	(print_pbb): Same.
      	(print_scop_params): Same.
      	(print_scop_context): Same.
      	(print_scop): Same.
      	(print_pbb_body): New.
      	(lst_indent_to): New.
      	(print_lst): Start new lines with a #.
      	* graphite-poly.h (pbb_bb): New.
      	(pbb_index): Use pbb_bb.
      	* graphite-ppl.c (ppl_print_powerset_matrix): Print the number of
      	disjuncts.
      	* tree-data-ref.c (dump_data_reference): Start new lines with a #.
      
      From-SVN: r157883
      Sebastian Pop committed
    • Add testcase for PR43351. · 7da9e6ed
      2010-03-13  Sebastian Pop  <sebastian.pop@amd.com>
      
      	PR middle-end/43351
      	* gcc.dg/graphite/id-pr43351.c
      
      From-SVN: r157882
      Sebastian Pop committed
    • * MAINTAINERS: Remove myself. · 895522b6
      From-SVN: r157877
      Janis Johnson committed
    • gcc_release (build_tarfiles): Make directories mode 755, not 777. · d49d9a7d
      	* gcc_release (build_tarfiles): Make directories mode 755, not
      	777.
      
      From-SVN: r157874
      Joseph Myers committed
    • re PR objc/35165 (Massive failures of objc on i686-apple-darwin9) · 03af6e44
      2010-03-31  Iain Sandoe  <iain.sandoe@sandoe-acoustics.co.uk>
      
      	PR testsuite/35165
      	* obj-c++.dg/try-catch-9.mm: Don't XFAIL m32 NeXT runtime.
      	* obj-c++.dg/try-catch-2.mm: Ditto.
      	* obj-c++.dg/lookup-2.mm: Ditto.
      	* obj-c++.dg/encode-8.m: Ditto.
      	* obj-c++.dg/cxx-ivars-2.mm: Ditto.
      	* obj-c++.dg/cxx-ivars-3.mm: Skip for GNU, XFail for m64 NeXT.
      	* obj-c++.dg/const-str-10.mm: Skip for GNU, match .quad for m64 NeXT.
      	* obj-c++.dg/const-str-11.mm: Ditto.
      	* obj-c++.dg/const-str-9.mm: Ditto.
      	* obj-c++.dg/bitfield-3.mm: Skip for GNU runtime.
      	* obj-c++.dg/bitfield-2.mm: XFAIL run for m64 NeXT runtime.
      	* obj-c++.dg/except-1.mm: Ditto.
      	* obj-c++.dg/const-str-7.mm: Ditto.
      	* obj-c++.dg/cxx-ivars-1.mm: Ditto.
      	* obj-c++.dg/const-str-3.mm: Ditto.
      	* obj-c++.dg/const-str-7.mm: Ditto.
      	* obj-c++.dg/stubify-2.mm: Change dump file name.
      
      From-SVN: r157873
      Iain Sandoe committed
    • re PR objc++/23613 (obj-c++.dg/isa-field-1.mm fails with the GNU runtime) · 2981f206
      2010-03-31  Iain Sandoe  <iain.sandoe@sandoe-acoustics.co.uk>
      
      	PR objc++/23613
      	* gcc/testsuite/objc-obj-c++-shared/next-mapping.h (CLASSPTRFIELD):
      	New macro.
      	* gcc/testsuite/obj-c++.dg/isa-field-1.mm: Use new CLASSPTRFIELD macro.
      	Remove dg-xfail-if.
      
      From-SVN: r157872
      Iain Sandoe committed
    • dwarf2out.c (size_of_die): For -gdwarf-4 use uleb128 size instead of fixed 1 or… · 290d8971
      dwarf2out.c (size_of_die): For -gdwarf-4 use uleb128 size instead of fixed 1 or 2 for dw_val_class_loc and...
      
      	* dwarf2out.c (size_of_die): For -gdwarf-4 use
      	uleb128 size instead of fixed 1 or 2 for dw_val_class_loc
      	and 0 instead of 1 for dw_val_class_flag.
      	(value_format): For -gdwarf-4 use DW_FORM_sec_offset for
      	dw_val_class_range_list, dw_val_class_loc_list,
      	dw_val_class_lineptr and dw_val_class_macptr, use
      	DW_FORM_flag_present for dw_val_class_flag and
      	DW_FORM_exprloc for dw_val_class_loc.
      	(output_die): For -gdwarf-4 print dw_val_class_loc
      	size as uleb128 instead of 1 or 2 bytes and don't print
      	anything for dw_val_class_flag.
      
      From-SVN: r157871
      Jakub Jelinek committed
    • var-tracking.c (vt_init_cfa_base): Use cselib_lookup_from_insn instead of… · 109f4af3
      var-tracking.c (vt_init_cfa_base): Use cselib_lookup_from_insn instead of cselib_lookup following by tweaking...
      
      	* var-tracking.c (vt_init_cfa_base): Use cselib_lookup_from_insn
      	instead of cselib_lookup following by tweaking locs->setting_insn.
      
      From-SVN: r157870
      Jakub Jelinek committed
    • re PR bootstrap/43596 (Failed to boostrap) · 2080bd29
      	PR bootstrap/43596
      	* cselib.c (cselib_process_insn): Clear cselib_current_insn
      	even before returning from label, setjmp call or volatile asm
      	handling.
      
      From-SVN: r157869
      Jakub Jelinek committed
    • re PR middle-end/43600 (Segmentation fault for large C file (24MB)) · 33283dad
      2010-03-31  Richard Guenther  <rguenther@suse.de>
      
      	PR middle-end/43600
      	* cgraphunit.c (cgraph_output_in_order): Do not allocate
      	temporary data on stack.
      
      From-SVN: r157867
      Richard Guenther committed
    • inline-params.c: Disable early inlining. · 9bae1881
      2010-03-31  Martin Jambor  <mjambor@suse.cz>
      
      	* gcc.dg/guality/inline-params.c: Disable early inlining.  Xfail run
      	only with -O2, -O3 or -Os and not with -fwhopr.
      
      From-SVN: r157863
      Martin Jambor committed
    • sysv4.h (PUSHSECTION_FORMAT): Remove undef. · a0c21029
      	* config/sparc/sysv4.h (PUSHSECTION_FORMAT): Remove undef.
      	(PUSHSECTION_ASM_OP): Remove.
      	(POPSECTION_ASM_OP): Remove.
      	(PUSHSECTION_FORMAT): Remove.
      	* config/sol2.h (PUSHSECTION_FORMAT): Define.
      	* config/sparc/sol2.h [!USE_GAS] (PUSHSECTION_FORMAT): Redefine.
      	* config/sol2.c (solaris_output_init_fini): Use it.
      
      From-SVN: r157861
      Rainer Orth committed
    • re PR middle-end/43574 (Revision 157795 failed gcc.dg/lto/20090914-1 c_lto_20090914-1_0.o) · a3f410a2
      	PR 43574
      	* opt-functions.awk (var_type_struct): Use signed char type
      	for simple variables.
      
      From-SVN: r157859
      Jie Zhang committed
    • inclhack.def (alpha_assert): Allow for more whitespace in select. · 1a3a6aec
      	* inclhack.def (alpha_assert): Allow for more whitespace in
      	select.
      	* fixincl.x: Regenerate.
      
      From-SVN: r157858
      Rainer Orth committed
    • re PR c++/43558 (Rejects specialization) · d7df0b91
      Fix PR c++/43558
      
      gcc/cp/ChangeLog:
      	PR c++/43558
      	* cp-tree.h (TEMPLATE_TYPE_PARM_SIBLING_PARMS): New accessor macro.
      	* pt.c (end_template_parm_list): Store sibling template parms of
      	each TEMPLATE_TYPE_PARMs into its TEMPLATE_TYPE_PARM_SIBLING_PARMS.
      	(push_template_decl_real): Don't store the containing template decl
      	into the DECL_CONTEXT of TEMPLATE_TYPE_PARMs anymore.
      	* typeck.c (get_template_parms_of_dependent_type): Get sibling parms
      	of a TEMPLATE_TYPE_PARM from TEMPLATE_TYPE_PARM_SIBLING_PARMS.
      	Simplify the logic.
      
      gcc/testsuite/ChangeLog:
      	PR c++/43558
      	* g++.dg/template/typedef31.C: New test.
      
      From-SVN: r157857
      Dodji Seketeli committed
    • sol2.c: Include output.h. · f0c01ffd
      	gcc:
      	* config/sol2.c: Include output.h.
      	(solaris_assemble_visibility): New function.
      	* config/t-sol2 (sol2.o): Add output.h dependency.
      	* config/sol2-protos.h (solaris_assemble_visibility): Declare.
      	* config/sol2.h [!USE_GAS] (TARGET_ASM_ASSEMBLE_VISIBILITY):
      	Redefine.
      
      	gcc/testsuite:
      	* g++.dg/ext/visibility/pragma-override1.C: Allow for .hidden in
      	assembler output on *-*-solaris2*.
      	* g++.dg/ext/visibility/pragma-override2.C: Likewise.
      
      From-SVN: r157856
      Rainer Orth committed