Skip to content
Snippets Groups Projects
  1. Oct 17, 2009
    • Ralf Wildenhues's avatar
      Fix libgomp without --enable-languages=fortran. · 0046b1a7
      Ralf Wildenhues authored
      libgomp/:
      	PR libgomp/41418
      	* configure.ac: Set FC to "no" if $GFORTRAN starts with "no"
      	or a hyphen (happens with fortran language disabled).
      	* configure: Regenerate.
      
      From-SVN: r152931
      0046b1a7
    • Jakub Jelinek's avatar
      re PR debug/40521 (-g causes GCC to generate .eh_frame) · 3df9609a
      Jakub Jelinek authored
      	PR debug/40521
      	* debug.h (struct gcc_debug_hooks): Add assembly_start hook.
      	* cgraphunit.c (cgraph_optimize): Call it.
      	* dwarf2out.c (dwarf2out_init): Move .cfi_sections printing into...
      	(dwarf2out_assembly_start): ... here.  New hook.
      	(dwarf2out_debug_hooks): Add dwarf2out_assembly_start.
      	* debug.c (do_nothing_debug_hooks): Do nothing for assembly_start
      	hook.
      	* dbxout.c (dbx_debug_hooks, xcoff_debug_hooks): Likewise.
      	* sdbout.c (sdb_debug_hooks): Likewise.
      	* vmsdbgout.c (vmsdbg_debug_hooks): Add vmsdbgout_assembly_start.
      	(vmsdbgout_assembly_start): New hook.
      
      From-SVN: r152930
      3df9609a
    • Alexandre Oliva's avatar
      * rtl.h (RTL_LOCATION): Fix typo. · 15f01e4a
      Alexandre Oliva authored
      From-SVN: r152929
      15f01e4a
    • Alexandre Oliva's avatar
      print-rtl.c (print_rtx): Print locators in asm_operands and asm_input. · da1e1503
      Alexandre Oliva authored
      * print-rtl.c (print_rtx): Print locators in asm_operands
      and asm_input.
      
      From-SVN: r152928
      da1e1503
    • Alexandre Oliva's avatar
      re PR debug/41535 (Broken var location info after scheduling) · f49b295a
      Alexandre Oliva authored
      PR debug/41535
      * sched-deps.c (depl_on_debug_p): New.
      (attach_dep_link): Reject debug deps before nondebug deps.
      (add_to_deps_list): Insert debug deps after nondebug deps.
      (sd_lists_empty_p): Stop at first nonempty list.  Disregard debug
      deps.
      (sd_add_dep): Do not reject debug deps.
      (add_insn_mem_dependence): Don't count debug deps.
      (remove_from_deps): Likewise.
      (sched_analyze_2): Set up mem deps on debug insns.
      (sched_analyze_insn): Record reg uses for deps on debug insns.
      * haifa-sched.c (schedule_insn): Reset deferred debug insn.  Don't
      try_ready nondebug insn after debug insn.
      * ddg.c (create_ddg_dep_from_intra_loop_link,
      create_ddg_dep_no_link): Don't reject debug deps.
      
      From-SVN: r152927
      f49b295a
    • Jason Merrill's avatar
      re PR c++/38888 ([C++0x] badly readable diagnostic output with variadic templates) · af16209f
      Jason Merrill authored
      	PR c++/38888
      	* error.c (dump_template_bindings): Wrap argument packs in {}.
      
      From-SVN: r152925
      af16209f
    • Jason Merrill's avatar
      re PR c++/38798 ([c++0x] Trouble with struct/class/enum keyword in late return types) · 6c3f4949
      Jason Merrill authored
      	PR c++/38798
      	* parser.c (CP_PARSER_FLAGS_NO_TYPE_DEFINITIONS): New.
      	(cp_parser_type_specifier): Don't try to parse a class-specifier
      	or enum-specifier in that case.
      	(cp_parser_trailing_type_id): New.
      	(cp_parser_late_return_type_opt): Call it.
      	(cp_parser_type_id_1): Add is_trailing_return parm.
      	(cp_parser_type_specifier_seq): Likewise.
      
      From-SVN: r152924
      6c3f4949
    • GCC Administrator's avatar
      Daily bump. · f3dab3ba
      GCC Administrator authored
      From-SVN: r152923
      f3dab3ba
  2. Oct 16, 2009
    • Richard Guenther's avatar
      lto-symtab.c (merge_incomplete_and_complete_type): Remove. · e575382e
      Richard Guenther authored
      2009-10-16  Richard Guenther  <rguenther@suse.de>
      
      	* lto-symtab.c (merge_incomplete_and_complete_type): Remove.
      	(maybe_merge_incomplete_and_complete_type): Likewise.
      	(lto_symtab_merge): Do not call them.  Do not warn for
      	complete vs. incomplete compatible types.
      	(lto_symtab_merge_decls_2): Simplify.
      	* gimple.c (gimple_force_type_merge): Remove.
      	(gimple_types_compatible_p): Make it static.
      	* gimple.h (gimple_force_type_merge): Remove.
      	(gimple_types_compatible_p): Likewise.
      
      From-SVN: r152920
      e575382e
    • Janus Weil's avatar
      re PR fortran/41719 ([OOP] invalid: Intrinsic assignment involving polymorphic variables) · 0ae278e7
      Janus Weil authored
      2009-10-16  Janus Weil  <janus@gcc.gnu.org>
      
      	PR fortran/41719
      	* resolve.c (resolve_ordinary_assign): Reject intrinsic assignments
      	to polymorphic variables.
      
      
      2009-10-16  Janus Weil  <janus@gcc.gnu.org>
      
      	PR fortran/41719
      	* gfortran.dg/class_5.f03: New test case.
      	* gfortran.dg/typebound_operator_2.f03: Fixing invalid test case.
      	* gfortran.dg/typebound_operator_4.f03: Ditto.
      
      From-SVN: r152919
      0ae278e7
    • Benjamin Kosnik's avatar
      stdatomic.h: Include cstdatomic if __cplusplus. · 02be8f4a
      Benjamin Kosnik authored
      2009-10-16  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* include/c_compatibility/stdatomic.h: Include cstdatomic if
      	__cplusplus.
      
      From-SVN: r152918
      02be8f4a
    • Eric Botcazou's avatar
      ada-tree.h (TYPE_FAT_POINTER_P): Swap with... · 315cff15
      Eric Botcazou authored
      	* gcc-interface/ada-tree.h (TYPE_FAT_POINTER_P): Swap with...
      	(TYPE_IS_FAT_POINTER_P): ...this.
      	(TYPE_THIN_POINTER_P): Rename into...
      	(TYPE_IS_THIN_POINTER_P): ...this.
      	(TYPE_FAT_OR_THIN_POINTER_P): Rename into...
      	(TYPE_IS_FAT_OR_THIN_POINTER_P): ...this.
      	(TYPE_IS_PADDING_P): Change definition, move old one to...
      	(TYPE_PADDING_P): ...this.
      	* gcc-interface/decl.c (gnat_to_gnu_entity): Adjust for above changes.
      	(get_unpadded_type): Likewise.
      	(gnat_to_gnu_component_type): Likewise.
      	(gnat_to_gnu_param): Likewise.
      	(relate_alias_sets): Likewise.
      	(make_packable_type): Likewise.
      	(maybe_pad_type): Likewise.
      	(gnat_to_gnu_field): Likewise.
      	(is_variable_size): Likewise.
      	(annotate_object): Likewise.
      	(validate_size): Likewise.
      	(set_rm_size): Likewise.
      	(make_type_from_size): Likewise.
      	(rm_size): Likewise.
      	* gcc-interface/misc.c (gnat_print_type): Likewise.
      	(gnat_get_alias_set): Likewise.
      	* gcc-interface/trans.c (Identifier_to_gnu): Likewise.
      	(Attribute_to_gnu): Likewise.
      	(call_to_gnu): Likewise.
      	(gnat_to_gnu): Likewise.
      	(add_decl_expr): Likewise.
      	(convert_with_check): Likewise.
      	(addressable_p): Likewise.
      	(maybe_implicit_deref): Likewise.
      	(protect_multiple_eval): Likewise.
      	(gnat_stabilize_reference_1): Likewise.
      	* gcc-interface/utils.c (gnat_pushdecl): Likewise.
      	(finish_record_type): Likewise.
      	(rest_of_record_type_compilation): Likewise.
      	(create_type_decl): Likewise.
      	(gnat_types_compatible_p): Likewise.
      	(build_template): Likewise.
      	(convert_vms_descriptor64): Likewise.
      	(convert_vms_descriptor32): Likewise.
      	(build_unc_object_type_from_ptr): Likewise.
      	(update_pointer_to): Likewise.
      	(convert_to_fat_pointer): Likewise.
      	(convert_to_fat_pointer): Likewise.
      	(convert): Likewise.
      	(remove_conversions): Likewise.
      	(maybe_unconstrained_array): Likewise.
      	(unchecked_convert): Likewise.
      	(handle_vector_type_attribute): Likewise.
      	* gcc-interface/utils2.c (build_binary_op): Likewise.
      	(build_unary_op): Likewise.
      	(build_allocator): Likewise.
      
      From-SVN: r152917
      315cff15
    • Eric Botcazou's avatar
      exp_dbug.ads: Adjust type names in comments. · afb4afcd
      Eric Botcazou authored
      	* exp_dbug.ads: Adjust type names in comments.
      	* gcc-interface/decl.c (maybe_pad_type): Remove NAME_TRAILER parameter,
      	add new IS_COMPONENT_TYPE parameter.  Adjust.  Remove dead code.
      	(gnat_to_gnu_entity): Adjust for above change.
      	(gnat_to_gnu_component_type): Likewise.
      	(gnat_to_gnu_field): Likewise.
      	* gcc-interface/trans.c (call_to_gnu): Likewise.  Do not unnecessarily
      	call max_size.
      	* gcc-interface/utils.c (finish_record_type): Remove obsolete code.
      	* gcc-interface/gigi.h (maybe_pad_type): Adjust prototype.
      
      From-SVN: r152916
      afb4afcd
    • Jakub Jelinek's avatar
      dwarf2out.c (mem_loc_descriptor): Cast DWARF2_ADDR_SIZE to int to avoid signed vs. · 3b24c708
      Jakub Jelinek authored
      	* dwarf2out.c (mem_loc_descriptor) <case ZERO_EXTRACT>: Cast
      	DWARF2_ADDR_SIZE to int to avoid signed vs. unsigned warnings.
      
      From-SVN: r152915
      3b24c708
    • Kaveh R. Ghazi's avatar
      iinline-1.C: Use dg-add-options bind_pic_locally. · 2f5ac7f2
      Kaveh R. Ghazi authored
      	* g++.dg/ipa/iinline-1.C: Use dg-add-options bind_pic_locally.
      	* g++.dg/other/first-global.C: Likewise.
      	* g++.dg/parse/attr-externally-visible-1.C: Likewise.
      	* g++.dg/torture/pr40323.C: Likewise.
      	* g++.dg/tree-ssa/nothrow-1.C: Likewise.
      	* gcc.dg/inline-33.c: Likewise.
      	* gcc.dg/ipa/ipa-1.c: Likewise.
      	* gcc.dg/ipa/ipa-2.c: Likewise.
      	* gcc.dg/ipa/ipa-3.c: Likewise.
      	* gcc.dg/ipa/ipa-4.c: Likewise.
      	* gcc.dg/ipa/ipa-5.c: Likewise.
      	* gcc.dg/ipa/ipa-7.c: Likewise.
      	* gcc.dg/ipa/ipacost-2.c: Likewise.
      	* gcc.dg/tree-ssa/inline-3.c: Likewise.
      	* gcc.dg/tree-ssa/local-pure-const.c: Likewise.
      	* gfortran.dg/whole_file_5.f90: Likewise.
      	* gfortran.dg/whole_file_6.f90: Likewise.
      
      From-SVN: r152911
      2f5ac7f2
    • Richard Guenther's avatar
      re PR tree-optimization/41728 (error: SSA name in freelist but still referenced) · 076ba157
      Richard Guenther authored
      2009-10-16  Richard Guenther  <rguenther@suse.de>
      
      	PR tree-optimization/41728
      	* tree-ssa-dom.c (optimize_stmt): Mark the stmt modified
      	if fold_stmt did anything.
      
      	* gcc.c-torture/compile/pr41728.c: New testcase.
      
      From-SVN: r152910
      076ba157
    • Rafael Avila de Espindola's avatar
      lto-plugin.c (message): New variable. · 33662270
      Rafael Avila de Espindola authored
      2009-10-16  Rafael Avila de Espindola  <espindola@google.com>
      
      	* lto-plugin.c (message): New variable.
      	(check): New function.
      	(parse_table_entry, translate, write_resolution,add_output_files,
      	exec_lto_wrapper,claim_file_handler, onload): Use check instead of
      	assert.
      	(cleanup_handler): Use check instead of assert. Remove the arguments
      	file if it exists.
      
      From-SVN: r152906
      33662270
    • Richard Guenther's avatar
      re PR lto/41598 (bootstrap *using* lto fails) · 2ced58ea
      Richard Guenther authored
      2009-10-16  Richard Guenther  <rguenther@suse.de>
      
      	PR lto/41598
      	* gcc.dg/lto/20091016-1_0.c: New testcase.
      	* gcc.dg/lto/20091016-1_1.c: Likewise.
      	* gcc.dg/lto/20091016-1_a.h: Likewise.
      
      From-SVN: r152904
      2ced58ea
    • Richard Guenther's avatar
      re PR lto/41715 (VIEW_CONVERT_EXPR use for mismatched prevailing decl replacement doesn't work) · 35f1e9f4
      Richard Guenther authored
      2009-10-16  Richard Guenther  <rguenther@suse.de>
      
      	PR lto/41715
      	* lto-streamer-in.c (lto_input_tree_ref): Revert last change.
      	(maybe_fixup_handled_component): New function.
      	(input_gimple_stmt): Fixup mismatched decl replacements.
      
      	lto/
      	* lto.c (lto_fixup_tree): Revert last change.
      
      	* gfortran.dg/lto/20091015-1_0.f: New testcase.
      	* gfortran.dg/lto/20091015-1_1.f: Likewise.
      	* gfortran.dg/lto/20091015-1_2.f: Likewise.
      
      From-SVN: r152903
      35f1e9f4
    • Richard Guenther's avatar
      re PR middle-end/41713 (-O -flto -g: ICE in lto_output_tree_ref, at lto-streamer-out.c:732) · 775dc670
      Richard Guenther authored
      2009-10-16  Richard Guenther  <rguenther@suse.de>
      
      	PR lto/41713
      	* lto-streamer-out.c (lto_output_tree_ref): Handle DEBUG_EXPR_DECL
      	the same as VAR_DECL.
      
      	* gfortran.dg/lto/20091016-1_0.f90: New testcase.
      
      From-SVN: r152902
      775dc670
    • Joel Sherrill's avatar
      s-osinte-rtems.ads: Add mutex type to pthread_mutexattr_t · ac2b9bbb
      Joel Sherrill authored
      2009-10-16  Joel Sherrill <joel.sherrill@oarcorp.com>
      
      	* s-osinte-rtems.ads: Add mutex type to pthread_mutexattr_t
      	* s-stchop-rtems.adb: Correct binding to rtems_stack_checker_is_blown.
      
      From-SVN: r152900
      ac2b9bbb
    • Richard Guenther's avatar
      gimple.c (iterative_hash_gimple_type): For integer types also hash their... · f798226d
      Richard Guenther authored
      gimple.c (iterative_hash_gimple_type): For integer types also hash their minimum and maximum values and the string flag.
      
      2009-10-16  Richard Guenther  <rguenther@suse.de>
      
      	* gimple.c (iterative_hash_gimple_type): For integer types
      	also hash their minimum and maximum values and the string flag.
      	For array types hash their domain and the string flag.
      
      From-SVN: r152899
      f798226d
    • Richard Guenther's avatar
      gimple.c (gimple_types_compatible_p): Restrict completing types to record or unions. · 021ed367
      Richard Guenther authored
      2009-10-16  Richard Guenther  <rguenther@suse.de>
      
      	* gimple.c (gimple_types_compatible_p): Restrict completing
      	types to record or unions.  Simplify completion.
      	Do not merge records or unions with different
      	TYPE_STRUCTURAL_EQUALITY_P tag.
      	(iterative_hash_gimple_type): Restrict non-recursing into
      	pointer targets for records and unions.
      
      From-SVN: r152898
      021ed367
    • Jakub Jelinek's avatar
      re PR debug/41717 (internal compiler error: in expand_debug_expr) · d02a5a4b
      Jakub Jelinek authored
      	PR debug/41717
      	* cfgexpand.c (expand_debug_expr): Handle CONJ_EXPR.
      	* dwarf2out.c (mem_loc_descriptor): Don't handle
      	POST_INT/POST_DEC/POST_MODIFY like SUBREG.  For SUBREG
      	punt if it is not lowpart subreg or if inner mode isn't
      	MODE_INT.
      
      	* gcc.dg/debug/pr41717.c: New test.
      
      From-SVN: r152897
      d02a5a4b
    • Andreas Krebbel's avatar
      s390.c (s390_z10_optimize_cmp): Skip notes when investigating previous or next insns. · 200ab6fd
      Andreas Krebbel authored
      2009-10-16  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
      
      	* config/s390/s390.c (s390_z10_optimize_cmp): Skip notes when
      	investigating previous or next insns.
      
      From-SVN: r152896
      200ab6fd
    • Benjamin Kosnik's avatar
      re PR libstdc++/40654 ([C++0x] atomic.cc: 'd' is used uninitialized warning) · 3808dfec
      Benjamin Kosnik authored
      2009-10-15  Benjamin Kosnik  <bkoz@redhat.com>
      
      	PR libstdc++/40654
      	PR libstdc++/40826
      	* src/atomic.cc (atomic_flag_test_and_set_explicit): Add
      	static_cast from base to derived.
      	(atomic_flag_clear_explicit): Same.
      	* include/bits/atomic_2.h (__atomic2::atomic_flag): Public derivation.
      	Remove value type constructor.
      	* include/bits/atomic_0.h (__atomic0::atomic_flag): Same.
      	* include/std/future (_Future_state): Use ATOMIC_FLAG_INIT to
      	initialized the atomic_flag member.
      
      From-SVN: r152895
      3808dfec
    • Jerry DeLisle's avatar
      Commit file missed in previous commit. · a3e1ddfc
      Jerry DeLisle authored
      From-SVN: r152894
      a3e1ddfc
    • Eric Botcazou's avatar
      * tree-sra.c (build_ref_for_offset_1): Update comment. · d7c79c4d
      Eric Botcazou authored
      From-SVN: r152893
      d7c79c4d
    • Wolfgang Gellerich's avatar
      s390.md (atype): Added missing values. · c68e7b86
      Wolfgang Gellerich authored
      2009-10-16  Wolfgang Gellerich  <gellerich@de.ibm.com>
      
      	* config/s390/s390.md (atype): Added missing values.
      
      From-SVN: r152891
      c68e7b86
    • Paul Thomas's avatar
      re PR fortran/41648 ([OOP] Type-bound procedures refused) · 28188747
      Paul Thomas authored
      2009-10-16  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/41648
      	PR fortran/41656
      	* trans-expr.c (select_class_proc): Convert the expression for the
      	vindex, carried on the first member of the esym list.
      	* gfortran.h : Add the vindex field to the esym_list structure.
      	and eliminate the class_object field.
      	* resolve.c (check_class_members): Remove the setting of the
      	class_object field.
      	(vindex_expr): New function.
      	(get_class_from_expr): New function.
      	(resolve_class_compcall): Call the above to find the ultimate
      	class or derived component.  If derived, do not generate the
      	esym list.  Add and expression for the vindex to the esym list
      	by calling the above.
      	(resolve_class_typebound_call): The same.
      
      2009-10-16  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/41648
      	* gfortran.dg/dynamic_dispatch_4.f03 : New test.
      
      	PR fortran/41656
      	* gfortran.dg/dynamic_dispatch_5.f03 : New test.
      
      From-SVN: r152890
      28188747
    • Daniel Gutson's avatar
      ChangeLogs fixed, again. · 8e200755
      Daniel Gutson authored
      From-SVN: r152888
      8e200755
    • GCC Administrator's avatar
      Daily bump. · a2074f14
      GCC Administrator authored
      From-SVN: r152887
      a2074f14
  3. Oct 15, 2009
Loading