1. 02 Aug, 2013 11 commits
  2. 01 Aug, 2013 13 commits
    • Fix licenses on several libgcc files. · 46549c20
      	* config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
      	* config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
      	* config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
      	GPL-3.0-with-GCC-exception.
      
      From-SVN: r201417
      Maxim Kuvyrkov committed
    • re PR libstdc++/57779 (vector insert fails to diagnose iterators pointing into *this in debug mode) · 5720787a
      2013-08-01  François Dumont  <fdumont@gcc.gnu.org>
      
      	PR libstdc++/57779
      	* include/debug/formatter.h (_Debug_msg_id): Add
      	__msg_insert_itself_range entry.
      	* include/debug/functions.h (_Insert_range_from_self_is_safe<>):
      	New, indicate container types supporting self range insertion in
      	GNU implementation.
      	(__foreign_iterator): New, check if an iterator points to a given
      	sequence.
      	* include/debug/macros.h (__glibcxx_check_insert_range): Add check
      	using __foreign_iterator.
      	(__gibcxx_check_insert_range_after): Likewise.
      	* include/debug/string (_Insert_range_from_self_is_safe<>):
      	Partially specialized to mark __gnu_debug::basic_string<> as
      	supporting self range insert.
      	* include/debug/list (_Insert_range_from_self_is_safe<>):
      	Partially specialized to mark std::list as supporting self range
      	insert if _GLIBCXX_DEBUG_PEDANTIC is not defined.
      	* include/debug/forward_list (_Insert_range_from_self_is_safe<>):
      	Likewise.
      	* src/c++11/debug.cc (_S_debug_messages): Add
      	__msg_insert_itself_range_entry message.
      	(_Error_formatter::_Parameter::_M_print_description): Display
      	iterator sequence address rather than sequence address when the
      	parameter type is an iterator.
      	(_Error_formatter::_M_print_word): Enhance behavior when
      	displaying a word with an appended '\n'.
      	* testsuite/util/debug/checks.h (check_insert4<>): New.
      	* testsuite/23_containers/deque/debug/insert5_neg.cc: New.
      	* testsuite/23_containers/vector/debug/insert5_neg.cc: Likewise.
      	* testsuite/23_containers/vector/debug/insert6_neg.cc: Likewise.
      	* testsuite/23_containers/vector/debug/57779_neg.cc: Likewise.
      	* testsuite/23_containers/list/debug/insert5_neg.cc: Likewise.
      	* testsuite/23_containers/forward_list/debug/insert_after4_neg.cc:
      	Likewise.
      
      From-SVN: r201416
      François Dumont committed
    • i386.h (MAYBE_NON_Q_CLASS_P): New. · 0bd72901
      	* config/i386/i386.h (MAYBE_NON_Q_CLASS_P): New.
      	* config/i386/i386.c (ix86_secondary_reload): Use INTEGER_CLASS_P and
      	MAYBE_NON_Q_CLASS_P where appropriate.
      
      From-SVN: r201415
      Uros Bizjak committed
    • re PR c++/54537 (undiagnosed using-declaration conflicting with used function) · fb23b69e
      gcc/cp/
              PR c++/54537
              * cp-tree.h: Check OVL_USED with OVERLOAD_CHECK.
              * name-lookup.c (do_nonmember_using_decl): Make sure we have an
      	OVERLOAD before calling OVL_USED. Call diagnose_name_conflict
      	instead of issuing an error without mentioning the conflicting
      	declaration.
      
      libstdc++-v3/
              PR c++/54537
      	* include/tr1/cmath: Remove pow(double,double) overload, remove a
      	duplicated comment about DR 550. Add a comment to explain the
      	issue.
      	* testsuite/tr1/8_c_compatibility/cmath/pow_cmath.cc: New.
      
      gcc/testsuite/
              PR c++/54537
              * g++.dg/overload/using3.C: New.
      	* g++.dg/overload/using2.C: Adjust.
      	* g++.dg/lookup/using9.C: Likewise.
      
      Co-Authored-By: Peter Bergner <bergner@vnet.ibm.com>
      
      From-SVN: r201414
      Fabien Chêne committed
    • cgraph.h (release_function_body): Declare. · 12123452
      	* cgraph.h (release_function_body): Declare.
      	* tree.c (free_lang_data_in_decl): Free, parameters and return values
      	of unused delcarations.
      
      From-SVN: r201413
      Jan Hubicka committed
    • arm.md (minmax_arithsi_non_canon): Emit canonical RTL form when subtracting a constant. · ce852f9c
      2013-08-01  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
      
      	* config/arm/arm.md (minmax_arithsi_non_canon): Emit canonical RTL form
      	when subtracting a constant.
      
      From-SVN: r201412
      Kyrylo Tkachov committed
    • arm.md (peepholes for eq (reg1) (reg2/imm)): Generate canonical plus rtx with… · c743b246
      arm.md (peepholes for eq (reg1) (reg2/imm)): Generate canonical plus rtx with negated immediate instead of minus where...
      
      [gcc]
      2013-08-01  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
      
      	* config/arm/arm.md (peepholes for eq (reg1) (reg2/imm)):
      	Generate canonical plus rtx with negated immediate instead of minus
      	where appropriate.
      	* config/arm/arm.c (thumb2_reorg): Handle ADCS <Rd>, <Rn> case.
      
      [gcc/testsuite]
      
      	* gcc.target/arm/pr46972-2.c: New test.
      
      From-SVN: r201411
      Kyrylo Tkachov committed
    • cgraph.c (cgraph_release_function_body): Use used_as_abstract_origin. · c0c123ef
      	* cgraph.c (cgraph_release_function_body): Use used_as_abstract_origin.
      	(cgraph_release_function_body): Likewise.
      	(cgraph_can_remove_if_no_direct_calls_p): Likewise.
      	* cgraph.h (cgrpah_node): Rename abstract_and_needed
      	to used_as_abstract_origin.
      	* tree-inline-transfrom.c (can_remove_node_now_p_1): Do not remove
      	symbols used as abstract origins.
      	* cgraphunit.c (analyze_functions): Update.
      	* ipa.c (symtab_remove_unreachable_nodes): Recompute used_as_abstract_origin.
      	* tree-inline.c (tree_function_versioning): Update
      	used_as_abstract_origin; be ready for DECL_RESULT and DECL_ARGUMENTS to be
      	NULL.
      
      	* lto-symtab.c (lto_symtab_merge_symbols): Merge duplicated nodes for abstract functions.
      	* cgraph.h (symtab_real_symbol_p): Abstract declarations are not real symbols.
      
      From-SVN: r201408
      Jan Hubicka committed
    • vect-iv-5.c: Make xfail conditional with !arm_neon_ok. · 0cd1dd57
      
              * gcc.dg/vect/vect-iv-5.c: Make xfail conditional with !arm_neon_ok.
      
      From-SVN: r201406
      Vidya Praveen committed
    • * profile.c (compute_value_histograms): Fix thinko. · 1f029433
      From-SVN: r201401
      Jan Hubicka committed
    • config.gcc (aarch64*-*-*): Add aarch-common.o to extra_objs. · c451f4d6
      	* config.gcc (aarch64*-*-*): Add aarch-common.o to extra_objs.  Add
      	aarch-common-protos.h to extra_headers.
      	(aarch64*-*-*): Add arm/aarch-common-protos.h to tm_p_file.
      	* config/aarch64/aarch64.md: Include "../arm/cortex-a53.md"
      	* config/aarch64/t-aarch64 (aarch-common.o): Define.
      
      From-SVN: r201400
      Sofiane Naci committed
    • aarch64.md (define_attr "type"): Delete. · 34b512f5
      	* config/aarch64/aarch64.md (define_attr "type"): Delete.
      	Include "../arm/types.md".  Define "type" attribute for all patterns.
      	* config/aarch64/aarch64-simd.md (move_lo_quad_<mode>): Update for
      	attribute changes.
      
      From-SVN: r201399
      Sofiane Naci committed
    • Daily bump. · 04828fb6
      From-SVN: r201397
      GCC Administrator committed
  3. 31 Jul, 2013 15 commits
    • Thompson matcher refactored. · 95c7d828
      2013-07-31  Tim Shen  <timshen91@gmail.com>
      
      	Thompson matcher refactored. Fix grouping problem.
      	* include/bits/regex.h: Use a dispatcher _M_get_matcher().
      	* include/bits/regex_compiler.h: Tweak for auto switching.
      	* include/bits/regex_grep_matcher.h: Class structure.
      	* include/bits/regex_grep_matcher.tcc: _BFSMatcher(Thompson
      	matcher) refactoring.
      	* include/bits/regex_nfa.h: Change _Results's interfaces.
      	* include/std/regex: Includes <map> and <queue>.
      	* testsuite/28_regex/algorithms/regex_match/extended/53622.cc:
      	For both matchers.
      	* testsuite/28_regex/algorithms/regex_match/extended/57173.cc:
      	For both matchers.
      	* testsuite/28_regex/algorithms/regex_match/extended/
      	string_dispatch_01.cc: New.
      
      From-SVN: r201391
      Tim Shen committed
    • predicates.md (fusion_gpr_addis): New predicates to support power8 load fusion. · d86e633a
      [gcc]
      2013-07-31  Michael Meissner  <meissner@linux.vnet.ibm.com>
      
      	* config/rs6000/predicates.md (fusion_gpr_addis): New predicates
      	to support power8 load fusion.
      	(fusion_gpr_mem_load): Likewise.
      
      	* config/rs6000/rs6000-modes.def (PTImode): Update a comment.
      
      	* config/rs6000/rs6000-protos.h (fusion_gpr_load_p): New
      	declarations for power8 load fusion.
      	(emit_fusion_gpr_load): Likewise.
      
      	* config/rs6000/rs6000.c (rs6000_option_override_internal): If
      	tuning for power8, turn on fusion mode by default.  Turn on sign
      	extending fusion mode if normal fusion mode is on, and we are at
      	-O2 or -O3.
      	(fusion_gpr_load_p): New function, return true if we can fuse an
      	addis instruction with a dependent load to a GPR.
      	(emit_fusion_gpr_load): Emit the instructions for power8 load
      	fusion to GPRs.
      
      	* config/rs6000/vsx.md (VSX_M2): New iterator for fusion
      	peepholes.
      	(VSX load fusion peepholes): New peepholes to fuse together an
      	addi instruction with a VSX load instruction.
      
      	* config/rs6000/rs6000.md (GPR load fusion peepholes): New
      	peepholes to fuse an addis instruction with a load to a GPR base
      	register.  If we are supporting sign extending fusions, convert
      	sign extending loads to zero extending loads and add an explicit
      	sign extension.
      
      [gcc/testsuite]
      2013-07-31  Michael Meissner  <meissner@linux.vnet.ibm.com>
      
      	* gcc.target/powerpc/fusion.c: New file, test power8 fusion
      	support.
      
      From-SVN: r201385
      Michael Meissner committed
    • mips.exp (mips-dg-options): Test for mabicalls rather than addressing!=absolute when... · b26e3fc2
      gcc/testsuite/
      	* gcc.target/mips/mips.exp (mips-dg-options): Test for mabicalls
      	rather than addressing!=absolute when deciding how to handle MIPS16
      	when the test forces an ABI.
      
      From-SVN: r201380
      Richard Sandiford committed
    • parser.c (cp_parser_sizeof_pack): Check cp_parser_identifier return value for error_mark_node. · 0b57d5fa
      2013-07-31  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* parser.c (cp_parser_sizeof_pack): Check cp_parser_identifier
      	return value for error_mark_node.
      
      From-SVN: r201379
      Paolo Carlini committed
    • re PR libstdc++/56627 (class hash instead of struct hash) · 4333e4dc
      2013-07-31  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR libstdc++/56627
      	* include/bits/stl_bvector.h: Use friend struct hash intead of
      	friend class hash to work around useless warnings produced by
      	some compilers.
      	* include/std/bitset: Likewise.
      
      From-SVN: r201377
      Paolo Carlini committed
    • config.gcc (arm*-*-*): Add aarch-common.o to extra_objs. · c3f35647
      	* config.gcc (arm*-*-*): Add aarch-common.o to extra_objs.  Add
      	aarch-common-protos.h to extra_headers.
      	(arm*-*-*): Add arm/aarch-common-protos.h to tm_p_file.
      	* config/arm/arm.c (arm_early_load_addr_dep): Move from here to ...
      	(arm_early_store_addr_dep): Likewise.
      	(arm_no_early_alu_shift_dep: Likewise.
      	(arm_no_early_alu_shift_value_dep: Likewise.
      	(arm_no_early_mul_dep: Likewise.
      	(arm_no_early_store_addr_dep: Likewise.
      	(arm_mac_accumulator_is_mul_result: Likewise.
      	(arm_mac_accumulator_is_result: Likewise.
      	* config/arm/aarch-common.c: ... here.  New file.
      	* config/arm/arm-protos.h (arm_early_load_addr_dep): Move from here to ...
      	(arm_early_store_addr_dep): Likewise.
      	(arm_no_early_alu_shift_dep: Likewise.
      	(arm_no_early_alu_shift_value_dep: Likewise.
      	(arm_no_early_mul_dep: Likewise.
      	(arm_no_early_store_addr_dep: Likewise.
      	(arm_mac_accumulator_is_mul_result: Likewise.
      	(arm_mac_accumulator_is_result: Likewise.
      	* config/arm/aarch-common-protos.h: ... here.  New file.
      	* config/arm/t-arm (aarch-common.o): Define.
      
      From-SVN: r201376
      Sofiane Naci committed
    • arm.md: Include new file "types.md". · 701bd1bd
      	* config/arm/arm.md: Include new file "types.md".
      	(define_attr "type"): Move from here to ...
      	(define_attr "mul32"): Likewise.
      	(define_attr "mul64"): Likewise.
      	* config/arm/types.md: ... here.  New file.
      
      From-SVN: r201375
      Sofiane Naci committed
    • config.gcc (*-*-rtems*): Use __cxa_atexit by default. · 228c1313
      2013-07-31  Sebastian Huber  <sebastian.huber@embedded-brains.de>
      
      	* config.gcc (*-*-rtems*): Use __cxa_atexit by default.
      	* config/rs6000/rtems.h (TARGET_LIBGCC_SDATA_SECTION): Define.
      
      From-SVN: r201370
      Sebastian Huber committed
    • functexcept.cc: Do not include the whole <regex>. · a781834e
      2013-07-31  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* src/c++11/functexcept.cc: Do not include the whole <regex>.
      	* src/c++11/regex.cc: Likewise.
      
      From-SVN: r201369
      Paolo Carlini committed
    • * ChangeLog: Fix my email address. · d6e9046d
      From-SVN: r201365
      Jan-Benedict Glaw committed
    • gen-pass-instances.awk: Fix offset of substr(). · 8ac499bb
      2013-07-31  Jan-Benedict Glaw  <jbglaw@owl.de>
      
      	* gen-pass-instances.awk: Fix offset of substr().
      
      From-SVN: r201364
      Jan-Benedict Glaw committed
    • Revert last commit. · 11510532
      From-SVN: r201360
      Tim Shen committed
    • Introduce gen-pass-instances.awk and pass-instances.def · a167b052
      Introduce a new gen-pass-instances.awk script, and use it at build time
      to make a pass-instances.def from passes.def.
      
      gcc/
      
      	* Makefile.in (pass-instances.def): New.
      	(passes.o): Replace dependency on passes.def with one on
      	pass-instances.def
      
      	* gen-pass-instances.awk: New.
      
      	* passes.c (pass_manager::pass_manager): Use pass-instances.def
      	rather than passes.def, updating local definition of NEXT_PASS
      	macro to add an extra NUM parameter (currently unused).
      
      From-SVN: r201359
      David Malcolm committed
    • Thompson matcher refactored. · abf1719e
      2013-07-31  Tim Shen  <timshen91@gmail.com>
      
      	Thompson matcher refactored. Fix grouping problem.
      	* include/bits/regex.h: Use a dispatcher _M_get_matcher().
      	* include/bits/regex_compiler.h: Tweak for auto switching.
      	* include/bits/regex_grep_matcher.h: Class structure.
      	* include/bits/regex_grep_matcher.tcc: _BFSMatcher(Thompson
      	matcher) refactoring.
      	* include/bits/regex_nfa.h: Change _Results's interfaces.
      	* include/std/regex: Includes <map> and <queue>.
      	* testsuite/28_regex/algorithms/regex_match/extended/53622.cc:
      	For both matchers.
      	* testsuite/28_regex/algorithms/regex_match/extended/57173.cc:
      	For both matchers.
      	* testsuite/28_regex/algorithms/regex_match/extended/
      	string_dispatch_01.cc: New.
      
      From-SVN: r201358
      Tim Shen committed
    • Daily bump. · daaf92f8
      From-SVN: r201357
      GCC Administrator committed
  4. 30 Jul, 2013 1 commit