1. 22 May, 2011 9 commits
  2. 21 May, 2011 17 commits
  3. 20 May, 2011 14 commits
    • * tree.c (stabilize_expr): Fix typo. · fa07d25b
      From-SVN: r173982
      Jason Merrill committed
    • DR 1073 PR c++/49082 · 5e3f417f
      	DR 1073
      	PR c++/49082
      	* typeck.c (comp_except_specs): noexcept(false) is not compatible
      	with throw(type-list).
      	* typeck2.c (merge_exception_specifiers): noexcept(false)
      	beats any more limited specification.
      
      From-SVN: r173981
      Jason Merrill committed
    • remove TYPE_ARG_TYPES from godump.c · bce33ab2
      remove TYPE_ARG_TYPES from godump.c
      	* godump.c (go_format_type): Don't use TYPE_ARG_TYPES.
      
      From-SVN: r173980
      Nathan Froyd committed
    • remove some TYPE_ARG_TYPES usage in objc/ · 769b55b2
      remove some TYPE_ARG_TYPES usage in objc/
      	* objc-act.c (objc_compare_types): Use function_args_iterator
      	instead of TYPE_ARG_TYPES to compare function argument types.
      
      From-SVN: r173977
      Nathan Froyd committed
    • re PR middle-end/45098 (Missed induction variable optimization) · e6450c11
      2011-05-20  Tom de Vries  <tom@codesourcery.com>
      
      	PR target/45098
      	* tree-ssa-loop-ivopts.c: Include expmed.h.
      	(get_shiftadd_cost): New function.
      	(force_expr_to_var_cost): Declare forward.  Use get_shiftadd_cost.
      
      From-SVN: r173976
      Tom de Vries committed
    • re PR bootstrap/49086 (libgomp/task.c:79:1: internal compiler error: Segmentation fault) · 0e8b84ec
      	PR bootstrap/49086
      	* gimple-fold.c (and_comparisons_1, or_comparisons_1): Return NULL
      	for PHI args that are SSA_NAME_IS_DEFAULT_DEF.
      
      From-SVN: r173967
      Jakub Jelinek committed
    • re PR fortran/48706 (Type extension inside subroutine) · 54381af7
      2011-05-20  Janus Weil  <janus@gcc.gnu.org>
      
      	PR fortran/48706
      	* module.c (write_dt_extensions): Do not write extended types which
      	are local to a subroutine.
      
      2011-05-20  Janus Weil  <janus@gcc.gnu.org>
      
      	PR fortran/48706
      	* gfortran.dg/extends_12.f03: New.
      
      From-SVN: r173966
      Janus Weil committed
    • re PR c++/24163 (dependent Base class scope examined during unqualified name lookup in template) · 94df301f
      	PR c++/24163
      	PR c++/29131
      gcc/cp/
      	* pt.c (tsubst_copy_and_build) [CALL_EXPR]: Avoid repeating
      	unqualified lookup.
      	* semantics.c (perform_koenig_lookup): Add complain parm.
      	* cp-tree.h: Adjust.
      	* parser.c (cp_parser_postfix_expression): Adjust.
      	(cp_parser_perform_range_for_lookup): Adjust.
      libstdc++-v3/
      	* include/ext/pb_ds/assoc_container.hpp: Explicitly qualify calls to
      	functions from dependent bases.
      	* include/ext/pb_ds/detail/rb_tree_map_/erase_fn_imps.hpp: Likewise.
      	* include/ext/pb_ds/detail/rb_tree_map_/
      	split_join_fn_imps.hpp: Likewise.
      	* include/ext/pb_ds/detail/splay_tree_/erase_fn_imps.hpp: Likewise.
      	* include/ext/pb_ds/detail/splay_tree_/insert_fn_imps.hpp: Likewise.
      	* include/ext/pb_ds/detail/splay_tree_/splay_fn_imps.hpp: Likewise.
      	* include/ext/pb_ds/detail/splay_tree_/
      	split_join_fn_imps.hpp: Likewise.
      	* include/ext/pb_ds/detail/tree_policy/
      	order_statistics_imp.hpp: Likewise.
      	* include/ext/pb_ds/detail/trie_policy/
      	prefix_search_node_update_imp.hpp: Likewise.
      	* include/ext/rc_string_base.h: Likewise.
      	* include/ext/rope: Likewise.
      	* include/ext/ropeimpl.h: Likewise.
      	* testsuite/util/exception/safety.h: Likewise.
      	* testsuite/util/native_type/native_priority_queue.hpp: Likewise.
      	* testsuite/util/testsuite_io.h: Likewise.
      	* include/std/functional: Declare mem_fn earlier.
      	* include/tr1/functional: Likewise.
      	* include/tr1/exp_integral.tcc: Declare __expint_E1 earlier.
      
      From-SVN: r173965
      Jason Merrill committed
    • * semantics.c (finish_call_expr): SET_EXPR_LOCATION. · 6e04dcd5
      From-SVN: r173964
      Jason Merrill committed
    • * Makefile.in: Update comment referring to $(OBJS-common). · 946bdf67
      From-SVN: r173963
      Joseph Myers committed
    • godump.c (go_output_typedef): Put enum constants in the macro hash table to… · c53aafdf
      godump.c (go_output_typedef): Put enum constants in the macro hash table to avoid duplicate Go const definitions.
      
      	* godump.c (go_output_typedef): Put enum constants in the macro
      	hash table to avoid duplicate Go const definitions.
      
      From-SVN: r173962
      Ian Lance Taylor committed
    • Makefile.in (LIBDEPS): Add libcommon.a. · 2691e6d7
      	* Makefile.in (LIBDEPS): Add libcommon.a.
      	(LIBS): Likewise.
      	(GCC_OBJS): Remove diagnostic.o, pretty-print.o and input.o.
      	(OBJS-common): Remove diagnostic.o, input.o, intl.o,
      	pretty-print.o and version.o.
      	(OBJS-libcommon): New.
      	(ALL_HOST_BACKEND_OBJS): Add $(OBJS-libcommon).
      	(BACKEND): Add libcommon.a.
      	(MOSTLYCLEANFILES): Likewise.
      	(libcommon.a): New.
      	(xgcc$(exeext)): Don't explicitly use version.o and intl.o.
      	(cpp$(exeext)): Likewise.
      	(COLLECT2_OBJS): Remove intl.o, version.o, diagnostic.o,
      	pretty-print.o and input.o.
      	(lto-wrapper$(exeext)): Don't explicitly use intl.o.
      	(lto-wrapper.o): Depend on $(DIAGNOSTIC_H).
      	(errors.o): Remove.
      	(mips-tfile): Don't explicitly use version.o.
      	(mips-tdump): Likewise.
      	(gcov.o): Depend on $(DIAGNOSTIC_H).
      	(gcov-dump.o): Depend on intl.h and $(DIAGNOSTIC_H).
      	(GCOV_OBJS): Remove intl.o, version.o and errors.o.
      	(GCOV_DUMP_OBJS): Remove version.o and errors.o.
      	* gcov-dump.c: Include intl.h and diagnostic.h.
      	(main): Initialize diagnostics.
      	* gcov.c: Include diagnostic.h.
      	(fnotice): Remove.
      	(main): Initialize diagnostics.
      	* lto-wrapper.c: Include diagnostic.h.
      	(main): Initialize diagnostics.
      
      ada:
      	* gcc-interface/Make-lang.in (EXTRA_GNATBIND_OBJS): Remove
      	version.o.
      	* gcc-interface/Makefile.in (EXTRA_GNATTOOLS_OBJS): Use
      	libcommon.a instead of version.o.
      
      cp:
      	* Make-lang.in (GXX_OBJS): Remove intl.o and version.o.
      
      fortran:
      	* Make-lang.in (GFORTRAN_D_OBJS): Remove version.o and intl.o.
      
      go:
      	* Make-lang.in (GCCGO_OBJS): Remove intl.o and version.o.
      
      java:
      	* Make-lang.in ($(XGCJ)$(exeext)): Don't explicitly use intl.o and
      	version.o.
      	(JCFDUMP_OBJS): Remove errors.o, version.o and intl.o.
      	(JVGENMAIN_OBJS): Remove errors.o and intl.o.
      	(java/jcf-dump.o, java/jvgenmain.o): Depend in $(DIAGNOSTIC_H).
      	* jcf-dump.c: Include diagnostic.h.
      	(main): Initialize diagnostics.
      	* jvgenmain.c: Include diagnostic.h.
      	(main): Initialize diagnostics.
      
      From-SVN: r173958
      Joseph Myers committed
    • lto-streamer.c (lto_record_common_node): Don't track seen nodes... · 2ee36ba6
      	* lto-streamer.c (lto_record_common_node): Don't track seen nodes,
      	use lto_streamer_cache_append directly instead of returning a VEC.
      	(preload_common_node): Remove.
      	(lto_get_common_nodes): Rename to lto_preload_common_nodes, don't
      	track seen nodes.
      	(lto_streamer_cache_create): Call lto_preload_common_nodes.
      
      Co-Authored-By: Richard Guenther <rguenther@suse.de>
      
      From-SVN: r173956
      Michael Matz committed