Commit Graph

98906 Commits

Author SHA1 Message Date
GCC Administrator 9fd6e05c4a Daily bump.
From-SVN: r157445
2010-03-14 00:16:41 +00:00
Sebastian Pop 7f93150096 Add ChangeLog entries.
From-SVN: r157441
2010-03-13 17:35:52 +00:00
Sebastian Pop 6492b6940b Fix PR43354: Correctly handle default definitions.
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-13 17:35:45 +00:00
Sebastian Pop 113081e4d9 Add testcase from PR43349.
2010-03-11  Sebastian Pop  <sebastian.pop@amd.com>

	PR middle-end/43349
	* gfortran.dg/graphite/pr43349.f: New.

From-SVN: r157439
2010-03-13 17:35:37 +00:00
Sebastian Pop 248081bc93 Use ssizetype when long_long_integer_type_node is NULL.
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-13 17:35:29 +00:00
Sebastian Pop d97c90ae33 Fix documentation of the new parameters.
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-13 17:35:22 +00:00
Sebastian Pop a5a59b11a9 Cleanup: remove FIXMEs, add new function.
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-13 17:35:15 +00:00
Sebastian Pop 9d19891386 Document PARAM_LOOP_BLOCK_TILE_SIZE.
2010-03-09  Sebastian Pop  <sebastian.pop@amd.com>

	* doc/invoke.texi (PARAM_LOOP_BLOCK_TILE_SIZE): Document.

From-SVN: r157435
2010-03-13 17:35:08 +00:00
Sebastian Pop 1f3803148f Fix PR43306: correct evolution_function_right_is_integer_cst.
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-13 17:34:59 +00:00
Sebastian Pop b6bb0094b2 Add PARAM_GRAPHITE_MAX_BBS_PER_FUNCTION.
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-13 17:34:51 +00:00
Sebastian Pop e84aaa3320 Make build_poly_scop not return a bool.
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-13 17:34:44 +00:00
Sebastian Pop 4e7dd37645 Limit the number of parameters per SCoP.
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-13 17:34:38 +00:00
H.J. Lu d7ba5c3301 Correct ChangeLog entry.
From-SVN: r157425
2010-03-13 08:39:48 -08:00
Matthias Klose e1ab4b422f re PR libgcj/42676 (javah doesn't generate the header files as checked in in the archive)
2010-03-13  Matthias Klose  <doko@ubuntu.com>

        PR libgcj/42676
        * Regenerate .h files for anonymous inner classes.

From-SVN: r157422
2010-03-13 14:27:27 +00:00
Paolo Carlini e962c1b0f4 array (swap(array<>&, array<>&)): Use member swap.
2010-03-13  Paolo Carlini  <paolo.carlini@oracle.com>

	* include/tr1_impl/array (swap(array<>&, array<>&)): Use member swap.
	
	* include/bits/stl_algo.h: Improve comment.

From-SVN: r157421
2010-03-13 12:47:09 +00:00
Jerry Quinn 929769f4ea Makefile.in (TEXI_GCCINT_FILES): Remove c-tree.texi.
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-13 05:38:08 +00:00
David S. Miller c6012045d5 20090313_0.c: Add -mcpu=v9 to dg-lto-options on sparc.
* gcc.dg/lto/20090313_0.c: Add -mcpu=v9 to dg-lto-options on
	sparc.

From-SVN: r157416
2010-03-12 17:32:32 -08:00
Kaveh R. Ghazi 3119bda384 sibcall-1.c: Allow PLT to appear with pic code.
* gcc.target/arm/sibcall-1.c: Allow PLT to appear with pic code.

From-SVN: r157415
2010-03-13 01:27:06 +00:00
GCC Administrator 813ba192bc Daily bump.
From-SVN: r157414
2010-03-13 00:16:40 +00:00
Paul Thomas 6a943ee764 re PR fortran/43291 ([OOP] Type mismatch in argument; passed CLASS(t1) to 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-12 22:00:52 +00:00
Steve Ellcey 9c8cab4478 re PR target/42869 (GOMP_critical_start wrong on Itanium due to __sync 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-12 18:19:14 +00:00
Benjamin Kosnik 60f8b2e2ff run_doxygen: Adjust.
2010-03-12  Benjamin Kosnik  <bkoz@redhat.com>

	* scripts/run_doxygen: Adjust.
	* doc/doxygen/user.cfg.in: Adjust latex, xml prefs.
	* doc/xml/api.xml: Update.
	* doc/Makefile.am: Re-do stamp rules.
	* doc/Makefile.in: Regenerate.

From-SVN: r157409
2010-03-12 17:35:19 +00:00
Michael Meissner 08f9d72574 Remove band-aid no longer needed by the fix in PR 43431
From-SVN: r157408
2010-03-12 15:11:25 +00:00
Kai Tietz b2ef02df53 format.c (parse_format_list): Add to ERROR, WARNING, SILENT enumerators NOTIFICATION_ prefix.
2010-03-12  Kai Tietz  <kai.tietz@onevision.com>

        PR/42950
        * io/format.c (parse_format_list): Add to ERROR, WARNING,
        SILENT enumerators NOTIFICATION_ prefix.
        * runtime/error.c (notification_std): Likewise.
        * libgfortran.h (notification): Likewise.
        (GFC_LARGEST_BUF): Check for HAVE_GFC_INTEGER_16.

From-SVN: r157407
2010-03-12 15:43:55 +01:00
Kai Tietz 6ac0538d37 default_format_denormal_1.f90: Don't assume fail for *-*-mingw* targets.
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-12 15:40:42 +01:00
Jakub Jelinek 0de3e43f1f cselib.c (LONG_TERM_PRESERVED_VALUE_P): Remove.
* 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-12 14:27:43 +01:00
Jakub Jelinek 70235ab941 re PR debug/43329 (Early inlining causes suboptimal debug info)
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-12 14:04:37 +01:00
Bruce Korb d76f631a86 Add comment about changing directory references.
From-SVN: r157401
2010-03-12 05:21:19 +00:00
Bruce Korb b2071557ce Restore the "#undef" in the test text, too.
From-SVN: r157400
2010-03-12 04:09:29 +00:00
Bruce Korb 41279bc8c5 undo some of the damage
From-SVN: r157399
2010-03-12 04:00:32 +00:00
Bruce Korb bbf92edb2c the fixinc directory is now "fixincludes"
From-SVN: r157398
2010-03-12 03:49:08 +00:00
David S. Miller 7ac22e176e configure.ac (gcc_cv_as_cfi_advance_working): Skip a multiple of four.
* configure.ac (gcc_cv_as_cfi_advance_working): Skip a multiple of four.
	* configure: Rebuild.

From-SVN: r157397
2010-03-11 18:54:17 -08:00
GCC Administrator d9f84cba64 Daily bump.
From-SVN: r157396
2010-03-12 00:17:11 +00:00
Martin Jambor 0e0a135920 re PR tree-optimization/43257 (IPA-SRA changes DECL_ASSEMBLER_NAME)
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-11 23:27:26 +01:00
Chris Demetriou 1d9edd01f5 Makefile.in (stmp-int-hdrs): Make include/unwind.h, include/stdint-gcc.h, 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-11 12:31:01 -08:00
Tobias Burnus 2f4d643dab re PR fortran/43228 (NAMELIST I/O: Reading at 2 dimensions (rank) array values.)
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-11 17:06:37 +01:00
Richard Guenther ff0a0c1d88 re PR middle-end/43255 (ICE in extract_range_from_assert, at tree-vrp.c:1423)
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-11 15:08:24 +00:00
Andreas Krebbel b509e1fcea re PR tree-optimization/43280 (gcc4.5 -m32 -O2: misoptimizes sha256!)
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-11 13:51:00 +00:00
Richard Guenther 108ba00bcf re PR lto/43200 ([LTO] tree check: expected array_type, have pointer_type in 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
2010-03-11 13:13:53 +00:00
Jerry DeLisle 1aeffaf598 Fix entry note.
From-SVN: r157379
2010-03-11 02:28:33 +00:00
Jerry DeLisle e1061681b9 re PR libfortran/43320 (200.sixtrack fails setup)
2010-03-10  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libfortran/43320
	PR libfortran/43265
	* gfortran.dg/read_eof_6.f: New test
	* gfortran.dg/read_x_eof.f90: Update test.
	* gfortran.dg/read_x_past.f: Update test.

From-SVN: r157378
2010-03-11 02:26:36 +00:00
Jerry DeLisle b7137299f1 re PR libfortran/43320 (200.sixtrack fails setup)
2010-03-10  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libfortran/43320
	* io/transfer.c (next_record_r): Add hit_eof based on item_count
	condition.

From-SVN: r157377
2010-03-11 02:15:33 +00:00
GCC Administrator 78a50f698f Daily bump.
From-SVN: r157376
2010-03-11 00:17:00 +00:00
Paolo Carlini 9155c0e3df hashtable_policy.h (_Rehash_base<_Prime_rehash_policy, [...]): Add, per DR 1189.
2010-03-10  Paolo Carlini  <paolo.carlini@oracle.com>

	* include/bits/hashtable_policy.h (_Rehash_base<_Prime_rehash_policy,
	_Hashtable>::reserve): Add, per DR 1189.
	* include/bits/hashtable.h (_Hashtable<>::size_type,
	_Hashtable<>::difference_type): Do not typedef from _Allocator.
	* testsuite/23_containers/unordered_map/dr1189.cc: New.
	* testsuite/23_containers/unordered_set/dr1189.cc: Likewise.
	* testsuite/23_containers/unordered_multimap/dr1189.cc: Likewise.
	* testsuite/23_containers/unordered_multiset/dr1189.cc: Likewise.

From-SVN: r157373
2010-03-10 23:49:28 +00:00
Eric Botcazou f37f5bb93a sol2-bi.h (CC1_SPEC): Default to -mcpu=v9 for -m32.
* config/sparc/sol2-bi.h (CC1_SPEC): Default to -mcpu=v9 for -m32.
	* config/sparc/t-sol2-64 (MULTILIB_DIRNAMES): Use sparcv8plus.
ada/
	* gcc-interface/Makefile.in (SPARC/Solaris): Use sparcv8plus.

From-SVN: r157372
2010-03-10 23:25:37 +00:00
Jan Hubicka e9fecf0ecc re PR c/43288 (ICE in function_and_variable_visibility, at ipa.c:415)
PR c/43288
	* ipa.c (function_and_variable_visibility) Normalize COMMON bits.
	* varasm.c (get_variable_section): Don't do that here...
	(make_decl_rtl): ... and here.
	(do_assemble_alias): Produce decl RTL.
	(assemble_alias): Likewise.

	* gcc.dg/compile/pr43288.c: New test.

From-SVN: r157366
2010-03-10 19:33:37 +00:00
Kaveh R. Ghazi 7d8c152886 asm1.C: Don't detect pic via looking for the -fpic/-fPIC flags.
* g++.old-deja/g++.pt/asm1.C: Don't detect pic via looking for the
	-fpic/-fPIC flags.
	* g++.old-deja/g++.pt/asm2.C: Likewise.
	* gcc.c-torture/compile/20000804-1.c: Likewise.
	* gcc.target/i386/clobbers.c: Likewise.

From-SVN: r157365
2010-03-10 19:29:50 +00:00
Tobias Burnus abf4d60b54 2010-03-10 Tobias Burnus <burnus@net-b.de
PR fortran/43303
        * symbol.c (get_iso_c_sym): Set sym->result.

2010-03-10  Tobias Burnus  <burnus@net-b.de

        PR fortran/43303
        * gfortran.dg/c_assoc_3.f90: New test.

From-SVN: r157364
2010-03-10 19:56:46 +01:00
Jakub Jelinek 23f39b3788 re PR debug/43290 (ICE in dwarf2out_frame_debug_expr)
PR debug/43290
	* reg-notes.def (REG_CFA_SET_VDRAP): New note.
	* dwarf2out.c (dwarf2out_frame_debug_expr): Remove rule 20 - setting
	of fde->vdrap_reg.
	(dwarf2out_frame_debug): Handle REG_CFA_SET_VDRAP note.
	(based_loc_descr): Only express drap or vdrap regno based expressions
	using DW_OP_fbreg when not optimizing.
	* config/i386/i386.c (ix86_get_drap_rtx): When not optimizing,
	make the vDRAP = DRAP assignment RTX_FRAME_RELATED_P and add
	REG_CFA_SET_VDRAP note.

	PR debug/36728
	* gcc.dg/guality/pr36728-1.c: New test.
	* gcc.dg/guality/pr36728-2.c: New test.

From-SVN: r157363
2010-03-10 19:17:10 +01:00
Kaushik Phatak 8bb025f55a h8300-div-delay-slot.c: New test.
* gcc.dg/h8300-div-delay-slot.c: New test.

From-SVN: r157340
2010-03-10 08:48:52 -07:00