1. 07 Jan, 2014 10 commits
    • regex_compiler.h (_AnyMatcher<>::_AnyMatcher(), [...]): Fix _AnyMatcher behavior… · f43cc2a6
      regex_compiler.h (_AnyMatcher<>::_AnyMatcher(), [...]): Fix _AnyMatcher behavior of POSIX style and move _M_flags to template parameter...
      
      2014-01-07  Tim Shen  <timshen91@gmail.com>
      
      	* include/bits/regex_compiler.h (_AnyMatcher<>::_AnyMatcher(),
      	_AnyMatcher<>::operator(), _AnyMatcher<>::_M_apply(),
      	_CharMatcher<>::_CharMatcher(), _CharMatcher<>::_M_translate(),
      	_BracketMatcher<>::_BracketMatcher(), _BracketMatcher<>::operator(),
      	_BracketMatcher<>::_M_add_char(),
      	_BracketMatcher<>::_M_add_collating_element(),
      	_BracketMatcher<>::_M_add_equivalence_class(),
      	_BracketMatcher<>::_M_add_character_class(),
      	_BracketMatcher<>::_M_make_range(), _BracketMatcher<>::_M_ready(),
      	_BracketMatcher<>::_M_apply(), _BracketMatcher<>::_M_make_cache()):
      	Fix _AnyMatcher behavior of POSIX style and move _M_flags
      	to template parameter; Add cache for _BracketMatcher. Adjust
      	declarations from here...
      	* include/bits/regex.h (basic_regex<>::imbue()): ...to here. Also,
      	imbuing a regex will trigger a recompilation to rebuild the cache.
      	* include/bits/regex_compiler.tcc (_Compiler<>::_M_atom(),
      	_Compiler<>::_M_bracket_expression()): Adjust matchers' caller for
      	different template bool parameters.
      	* include/bits/regex_executor.h: Remove unnecessary declarations.
      	* include/std/regex: Adjust including orders.
      	* testsuite/28_regex/traits/char/user_defined.cc: New.
      	* testsuite/28_regex/traits/wchar_t/user_defined.cc: New.
      
      From-SVN: r206400
      Tim Shen committed
    • [AArch64] big.LITTLE option rewriting bug · 8b2721da
      gcc/
      
      	* config/aarch64/aarch64-elf.h (ASM_SPEC): Remove identity spec for
      	-mcpu.
      
      From-SVN: r206399
      James Greenhalgh committed
    • arm.c (arm_expand_neon_args): Call expand_expr with EXPAND_MEMORY for NEON_ARG_MEMORY... · 5d72b79f
      gcc/
      
      	* config/arm/arm.c (arm_expand_neon_args): Call expand_expr
      	with EXPAND_MEMORY for NEON_ARG_MEMORY; check if the returned
      	rtx is const0_rtx or not.
      
      gcc/testsuite/
      
      	* gcc.target/arm/neon/vst1Q_laneu64-1.c: New test.
      
      From-SVN: r206395
      Yufeng Zhang committed
    • re PR target/58115 (testcase gcc.target/i386/intrinsics_4.c failure) · 48d53439
      gcc/
      	PR target/58115
      	* target-globals.c (save_target_globals): Remove this_fn_optab
      	handling.
      	* toplev.c: Include optabs.h.
      	(target_reinit): Temporarily restore the global options if another
      	set of options are in force.
      
      gcc/testsuite/
      	* gcc.target/i386/intrinsics_4.c (bar): New function.
      
      From-SVN: r206394
      Richard Sandiford committed
    • Update Solaris baselines · 14c12d0d
      	* config/abi/post/solaris2.9/baseline_symbols.txt: Regenerate.
      	* config/abi/post/solaris2.9/sparcv9/baseline_symbols.txt: Likewise.
      	* config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
      	* config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
      	* config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
      
      From-SVN: r206389
      Rainer Orth committed
    • semantics.c (trait_expr_value, [...]): Implement the letter of 20.11.6 about… · 1f872df7
      semantics.c (trait_expr_value, [...]): Implement the letter of 20.11.6 about Base and Derived naming the same class...
      
      /cp
      2014-01-07  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* semantics.c (trait_expr_value, [CPTK_IS_BASE_OF]): Implement
      	the letter of 20.11.6 about Base and Derived naming the same
      	class type modulo cv-qualifiers.
      
      /testsuite
      2014-01-07  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* g++.dg/ext/is_base_of_incomplete-2.C: New.
      
      From-SVN: r206386
      Paolo Carlini committed
    • re PR rtl-optimization/58668 (internal compiler error: in cond_exec_process_insns, at ifcvt.c:339) · a0cbe71e
      	PR rtl-optimization/58668
      	* cfgcleanup.c (flow_find_cross_jump): Don't count
      	any jumps if dir_p is NULL.  Remove p1 variable, use active_insn_p
      	to determine what is counted.
      	(flow_find_head_matching_sequence): Use active_insn_p to determine
      	what is counted.
      	(try_head_merge_bb): Adjust for the flow_find_head_matching_sequence
      	counting change.
      	* ifcvt.c (count_bb_insns): Use active_insn_p && !JUMP_P to
      	determine what is counted.
      
      	* gcc.dg/pr58668.c: New test.
      
      From-SVN: r206385
      Jakub Jelinek committed
    • re PR tree-optimization/59643 (Predictive commoning unnecessarily punts on scimark2 SOR) · 41626746
      	PR tree-optimization/59643
      	* tree-predcom.c (split_data_refs_to_components): If one dr is
      	read and one write, determine_offset fails and the write isn't
      	in the bad component, just put the read into the bad component.
      
      	* gcc.dg/pr59643.c: New test.
      	* gcc.c-torture/execute/pr59643.c: New test.
      
      From-SVN: r206384
      Jakub Jelinek committed
    • re PR pch/59436 (FAIL: 17_intro/headers/c++200x/stdc++.cc (test for excess errors)) · cc349a39
      	PR pch/59436
      	* tree-core.h (struct tree_optimization_option): Change optabs
      	type from unsigned char * to void *.
      	* optabs.c (init_tree_optimization_optabs): Adjust
      	TREE_OPTIMIZATION_OPTABS initialization.
      
      Co-Authored-By: Jakub Jelinek <jakub@redhat.com>
      
      From-SVN: r206383
      Mike Stump committed
    • Daily bump. · 69be2671
      From-SVN: r206382
      GCC Administrator committed
  2. 06 Jan, 2014 23 commits
  3. 05 Jan, 2014 4 commits
  4. 04 Jan, 2014 3 commits
    • arm.c (arm_get_frame_offsets): Revamp long lines. · f2bc252b
      	* config/arm/arm.c (arm_get_frame_offsets): Revamp long lines.
      	(arm_expand_epilogue_apcs_frame): Take into account the number of bytes
      	used to save the static chain register in the computation of the offset
      	from which the FP registers need to be restored.
      
      From-SVN: r206337
      Eric Botcazou committed
    • re PR tree-optimization/59519 (ICE on valid code at -O3 on x86_64-linux-gnu in… · 39719c84
      re PR tree-optimization/59519 (ICE on valid code at -O3 on x86_64-linux-gnu in slpeel_update_phi_nodes_for_guard1, at tree-vect-loop-manip.c:486)
      
      	PR tree-optimization/59519
      	* tree-vect-loop-manip.c (slpeel_update_phi_nodes_for_guard1): Don't
      	ICE if get_current_def (current_new_name) is already non-NULL, as long
      	as it is a phi result of some other phi in *new_exit_bb that has
      	the same argument.
      
      	* gcc.dg/vect/pr59519-1.c: New test.
      	* gcc.dg/vect/pr59519-2.c: New test.
      
      From-SVN: r206333
      Jakub Jelinek committed
    • sse.md (avx512f_load<mode>_mask): Emit vmovup{s,d} or vmovdqu* for misaligned_operand. · dad5ed2e
      	* config/i386/sse.md (avx512f_load<mode>_mask): Emit vmovup{s,d}
      	or vmovdqu* for misaligned_operand.
      	(<sse>_loadu<ssemodesuffix><avxsizesuffix><mask_name>,
      	<sse2_avx_avx512f>_loaddqu<mode><mask_name>): Handle <mask_applied>.
      	* config/i386/i386.c (ix86_expand_special_args_builtin): Set
      	aligned_mem for AVX512F masked aligned load and store builtins and for
      	non-temporal moves.
      
      	* gcc.target/i386/avx512f-vmovdqu32-1.c: Allow vmovdqu64 instead of
      	vmovdqu32.
      
      From-SVN: r206332
      Jakub Jelinek committed