aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-06-03svnmerge up to trunk revision 211147lto-pressureAaron Sawdey
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/lto-pressure@211199 138bc75d-0d04-0410-961f-82ee72b054a4
2014-06-02 PR c++/59483Ville Voutilainen
PR c++/61148 * search.c (accessible_p): Use current_nonlambda_class_type. * semantics.c (check_accessibility_of_qualified_id): Likewise. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@211147 138bc75d-0d04-0410-961f-82ee72b054a4
2014-06-02 * expr.h: Remove prototypes of functions defined in builtins.c.Andrew Macleod
* tree.h: (build_call_expr_*, build_string_literal): Add prototypes. Remove prototypes of functions defined in builtins.c. * builtins.h: Update prototype list to include all exported functions. * builtins.c: (default_libc_has_function, gnu_libc_has_function, no_c99_libc_has_function): Move to targhooks.c (build_string_literal, build_call_expr_loc_array, build_call_expr_loc_vec, build_call_expr_loc, build_call_expr): Move to tree.c. (expand_builtin_object_size, fold_builtin_object_size): Make static. * targhooks.c (default_libc_has_function, gnu_libc_has_function, no_c99_libc_has_function): Relocate from builtins.c. * tree.c: Include builtins.h. (build_call_expr_loc_array, build_call_expr_loc_vec, build_call_expr_loc, build_call_expr, build_string_literal): Relocate from builtins.c. * fold-const.h (fold_fma): Move prototype to builtins.h. * realmpfr.h (do_mpc_arg2): Move prototype to builtins.h. * fortran/trans.c (trans_runtime_error_vararg): Call fold_build_call_array_loc instead of fold_builtin_call_array. * asan.c: Include builtins.h. * cfgexpand.c: Likewise. * convert.c: Likewise. * emit-rtl.c: Likewise. * except.c: Likewise. * expr.c: Likewise. * fold-const.c: Likewise. * gimple-fold.c: Likewise. * gimple-ssa-strength-reduction.c: Likewise. * gimplify.c: Likewise. * ipa-inline.c: Likewise. * ipa-prop.c: Likewise. * lto-streamer-out.c: Likewise. * stmt.c: Likewise. * tree-inline.c: Likewise. * tree-object-size.c: Likewise. * tree-sra.c: Likewise. * tree-ssa-ccp.c: Likewise. * tree-ssa-forwprop.c: Likewise. * tree-ssa-loop-ivcanon.c: Likewise. * tree-ssa-loop-ivopts.c: Likewise. * tree-ssa-math-opts.c: Likewise. * tree-ssa-reassoc.c: Likewise. * tree-ssa-threadedge.c: Likewise. * tree-streamer-in.c: Likewise. * tree-vect-data-refs.c: Likewise. * tree-vect-patterns.c: Likewise. * tree-vect-stmts.c: Likewise. c * c-decl.c: Include builtins.h. * c-parser.c: Likewise. cp * decl.c: Include builtins.h. * semantics.c: Likewise. go * go-gcc.cc: Include builtins.h. lto * lto-symtab.c: Include builtins.h. config * aarch64/aarch64.c: Include builtins.h. * alpha/alpha.c: Likewise. * arc/arc.c: Likewise. * arm/arm.c: Likewise. * avr/avr.c: Likewise. * bfin/bfin.c: Likewise. * c6x/c6x.c: Likewise. * cr16/cr16.c: Likewise. * cris/cris.c: Likewise. * epiphany/epiphany.c: Likewise. * fr30/fr30.c: Likewise. * frv/frv.c: Likewise. * h8300/h8300.c: Likewise. * i386/i386.c: Likewise. * i386/winnt.c: Likewise. * ia64/ia64.c: Likewise. * iq2000/iq2000.c: Likewise. * lm32/lm32.c: Likewise. * m32c/m32c.c: Likewise. * m32r/m32r.c: Likewise. * m68k/m68k.c: Likewise. * mcore/mcore.c: Likewise. * mep/mep.c: Likewise. * microblaze/microblaze.c: Likewise. * mips/mips.c: Likewise. * mmix/mmix.c: Likewise. * mn10300/mn10300.c: Likewise. * moxie/moxie.c: Likewise. * msp430/msp430.c: Likewise. * nds32/nds32.c: Likewise. * pa/pa.c: Likewise. * pdp11/pdp11.c: Likewise. * picochip/picochip.c: Likewise. * rl78/rl78.c: Likewise. * rs6000/rs6000.c: Likewise. * rx/rx.c: Likewise. * s390/s390.c: Likewise. * score/score.c: Likewise. * sh/sh.c: Likewise. * sparc/sparc.c: Likewise. * spu/spu.c: Likewise. * stormy16/stormy16.c: Likewise. * tilegx/tilegx.c: Likewise. * tilepro/tilepro.c: Likewise. * v850/v850.c: Likewise. * vax/vax.c: Likewise. * xtensa/xtensa.c: Likewise. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@211145 138bc75d-0d04-0410-961f-82ee72b054a4
2014-06-02 * include/bits/regex_compiler.h (__detail::_BracketMatcher): ReorderJonathan Wakely
members to avoid wasted space when not using a cache. (__detail::_BracketMatcher::_M_ready()): Sort and deduplicate set. * include/bits/regex_compiler.tcc (__detail::_BracketMatcher::_M_apply(_CharT, false_type)): Use binary search on set. * include/bits/regex_executor.h (__detail::_Executor::_Match_mode): New enumeration type to indicate match mode. (__detail::_Executor::_State_info): New type holding members only needed in BFS-mode. Replace unique_ptr<vector<bool>> with unique_ptr<bool[]>. (__detail::_Executor::_M_rep_once_more, __detail::_Executor::_M_dfs): Replace template parameter with run-time function parameter. (__detail::_Executor::_M_main): Likewise. Dispatch to ... (__detail::_Executor::_M_main_dispatch): New overloaded functions to implement DFS and BFS mode. * include/bits/regex_executor.tcc (__detail::_Executor::_M_main): Split implementation into ... (__detail::_Executor::_M_main_dispatch): New overloaded functions. (__detail::_Executor::_M_lookahead): Create nested executor on stack. (__detail::_Executor::_M_rep_once_more): Pass match mode as function argument instead of template argument. (__detail::_Executor::_M_dfs): Likewise. * include/bits/regex_scanner.tcc: Fix typos in comments. * testsuite/performance/28_regex/range.cc: New. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@211143 138bc75d-0d04-0410-961f-82ee72b054a4
2014-06-02 PR rtl-optimization/61094Jeff Law
* ree.c (combine_reaching_defs): Do not reextend an insn if it was marked as do_no_reextend. If a copy is needed to eliminate an extension, then mark it as do_not_reextend. PR rtl-optimization/61094 * g++.dg/pr61094: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@211142 138bc75d-0d04-0410-961f-82ee72b054a4
2014-06-02Update LTO-pressure code to include caller-side pressure.Aaron Sawdey
Passes bootstrap and make check. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/lto-pressure@211141 138bc75d-0d04-0410-961f-82ee72b054a4
2014-06-02[AArch64] Remove ISB after FPCR write.Marcus Shawcroft
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@211140 138bc75d-0d04-0410-961f-82ee72b054a4
2014-06-02PR target/61336Richard Henderson
* config/alpha/alpha.c (print_operand_address): Allow symbolic addresses inside asms. Use output_operand_lossage instead of gcc_unreachable. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@211139 138bc75d-0d04-0410-961f-82ee72b054a4
2014-06-02 * include/std/condition_variable (condition_variable_any::_Unlock): DoJonathan Wakely
not swallow __forced_unwind. * include/std/future (__future_base::_Task_setter): Likewise. (__future_base::_Async_state_impl): Turn __forced_unwind into broken promise and rethrow. * include/std/mutex (try_lock): Likewise. * testsuite/30_threads/async/forced_unwind.cc: New. * testsuite/30_threads/packaged_task/forced_unwind.cc: New. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@211138 138bc75d-0d04-0410-961f-82ee72b054a4
2014-06-022014-06-02 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>RĂ¼diger Sonderfeld
Jonathan Wakely <jwakely@redhat.com> * libstdc++-v3/include/std/type_traits (__strictest_alignment): New helper struct. (aligned_union): New struct (C++11). (aligned_union_t): New type alias (C++14). * doc/xml/manual/status_cxx2011.xml: Update. * libstdc++-v3/testsuite/20_util/aligned_union/1.cc: New file. * testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error line number. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@211137 138bc75d-0d04-0410-961f-82ee72b054a4
2014-06-02 * gcc.target/i386/xop-rotate1-vector.c (dg-options): Add -mno-avx2.Uros Bizjak
* gcc.target/i386/xop-rotate2-vector.c (dg-options): Ditto. * gcc.target/i386/xop-rotate3-vector.c (dg-options): Ditto. * gcc.target/i386/xop-imul32widen-vector.c (dg-options): Ditto. * gcc.target/i386/xop-imul64-vector.c (dg-options): Ditto. * gcc.target/i386/xop-shift1-vector.c (dg-options): Ditto. * gcc.target/i386/xop-shift2-vector.c (dg-options): Ditto. * gcc.target/i386/xop-shift3-vector.c (dg-options): Ditto. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@211136 138bc75d-0d04-0410-961f-82ee72b054a4
2014-06-02 PR target/61239Uros Bizjak
* config/i386/i386.c (ix86_expand_vec_perm) [case V32QImode]: Use GEN_INT (-128) instead of GEN_INT (128) to set MSB of QImode constant. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@211134 138bc75d-0d04-0410-961f-82ee72b054a4
2014-06-02Fix ICE in aarch64_float_const_representable_pTom de Vries
2014-06-02 Tom de Vries <tom@codesourcery.com> * config/aarch64/aarch64.c (aarch64_float_const_representable_p): Handle case that x has VOIDmode. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@211132 138bc75d-0d04-0410-961f-82ee72b054a4
2014-06-02Fix a decl to match the calls to it.Bernd Schmidt
* trans-decl.c (gfc_build_builtin_function_decls): Correct number of arguments to caf_init. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@211131 138bc75d-0d04-0410-961f-82ee72b054a4
2014-06-02Delete a copy that looks like a relic from obstack times.Bernd Schmidt
* varasm.c (copy_constant): Delete function. (build_constant_desc): Don't call it. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@211130 138bc75d-0d04-0410-961f-82ee72b054a4
2014-06-02Fix PR target/61154Ramana Radhakrishnan
2014-06-02 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> PR target/61154 * config/arm/arm.h (TARGET_SUPPORTS_WIDE_INT): Define. * config/arm/arm.md (mov64 splitter): Replace const_double_operand with immediate_operand. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@211129 138bc75d-0d04-0410-961f-82ee72b054a4
2014-06-022014-06-02 Richard Biener <rguenther@suse.de>Richard Biener
PR tree-optimization/61346 * gcc.dg/torture/pr61346.c: New testcase. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@211128 138bc75d-0d04-0410-961f-82ee72b054a4
2014-06-02* config/ia64/ia64.cAndreas Schwab
(ia64_first_cycle_multipass_dfa_lookahead_guard): Check pending_data_specs first. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@211127 138bc75d-0d04-0410-961f-82ee72b054a4
2014-06-022014-06-02 Richard Biener <rguenther@suse.de>Richard Biener
PR tree-optimization/61378 * tree-ssa-sccvn.c (vn_reference_lookup_3): Initialize valueized_anything. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@211126 138bc75d-0d04-0410-961f-82ee72b054a4
2014-06-02Daily bump.GCC Administrator
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@211125 138bc75d-0d04-0410-961f-82ee72b054a4
2014-06-01 * include/bits/uses_allocator.h (__uses_allocator_helper): Simplify.Jonathan Wakely
(__uses_allocator_arg): Remove unused type. (__uses_alloc0): Turn into a trivial type. (__uses_alloc): Add missing template parameter in primary template. (__uses_alloc_impl): Rename to __uses_alloc_t. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@211121 138bc75d-0d04-0410-961f-82ee72b054a4
2014-06-01 * gcc.target/i386/sibcall-2.c: Xfail dg-final scan-assembler-not,Uros Bizjak
not compilation. * gcc.target/i386/sibcall-4.c: Ditto. * gcc.target/i386/fuse-caller-save.c: Add -mregparm=1 for ia32 target. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@211120 138bc75d-0d04-0410-961f-82ee72b054a4
2014-06-01 * config/i386/constraints.md (Bw): Rename from 'w'.Uros Bizjak
(Bz): Rename from 'z'. * config/i386/i386.md: Change 'w' to 'Bw' and 'z' to 'Bz' globally. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@211119 138bc75d-0d04-0410-961f-82ee72b054a4
2014-06-01 * gcc.target/i386/sibcall-2.c (dg-final): Properly escape '[' and ']'Uros Bizjak
in scan-assembler-not string. * gcc.target/i386/sibcall-3.c (dg-final): Ditto. * gcc.target/i386/sibcall-4.c (dg-final): Ditto. * gcc.target/i386/sibcall-6.c (dg-final): Ditto. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@211118 138bc75d-0d04-0410-961f-82ee72b054a4
2014-06-01 * Add missing ChangeLog entry.Kai Tietz
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@211117 138bc75d-0d04-0410-961f-82ee72b054a4
2014-06-012014-06-01 Ray Donnelly <mingw.android@gmail.com>Ray Donnelly
* pex-win32.c (argv_to_cmdline): Don't quote args unnecessarily git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@211116 138bc75d-0d04-0410-961f-82ee72b054a4
2014-06-01 * g++.dg/pr60969.C (dg-do compile): Change ilp32 target to ia32.Uros Bizjak
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@211114 138bc75d-0d04-0410-961f-82ee72b054a4
2014-06-01 PR libstdc++/61374Jonathan Wakely
* include/experimental/string_view (operator basic_string): Correct order of arguments. (to_string): Replace with member function. Add inline specifiers. Remove unused header. Remove _S_empty_rep and allow _M_str to be null. * testsuite/experimental/string_view/cons/char/1.cc: Adjust to new default constructor semantics. * testsuite/experimental/string_view/cons/wchar_t/1.cc: Likewise. * testsuite/experimental/string_view/operations/copy/char/1.cc: Fix copyright dates. Remove unused header. * testsuite/experimental/string_view/operations/copy/wchar_t/1.cc: Likewise. * testsuite/experimental/string_view/operations/data/char/1.cc: Fix copyright dates. Adjust to new default constructor semantics. * testsuite/experimental/string_view/operations/data/wchar_t/1.cc: Likewise. * testsuite/experimental/string_view/operations/to_string/1.cc: New. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@211113 138bc75d-0d04-0410-961f-82ee72b054a4
2014-06-01 PR target/61377Kai Tietz
* constrains.md (define_constrain): New 'Bs' constraint. * i386.md (sibcall_insn_operand): Use Bs instead of m constraint. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@211112 138bc75d-0d04-0410-961f-82ee72b054a4
2014-06-01 PR target/61377Kai Tietz
* gcc.target/i386/sibcall-6.c: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@211111 138bc75d-0d04-0410-961f-82ee72b054a4
2014-06-01Daily bump.GCC Administrator
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@211110 138bc75d-0d04-0410-961f-82ee72b054a4
2014-05-31Summary: m68k: add missing early clobber in beq0_di, bne0_di patternsAndreas Schwab
* config/m68k/m68k.md (beq0_di, bne0_di): Make the "o" constraint a separate alternative where the scratch operand 2 is marked as early clobber. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@211104 138bc75d-0d04-0410-961f-82ee72b054a4
2014-05-31gcc/Kugan Vivekanandarajah
2014-05-31 Kugan Vivekanandarajah <kuganv@linaro.org> * config/arm/arm.c (TARGET_ATOMIC_ASSIGN_EXPAND_FENV): New define. (arm_builtins) : Add ARM_BUILTIN_GET_FPSCR and ARM_BUILTIN_SET_FPSCR. (bdesc_2arg) : Add description for builtins __builtins_arm_set_fpscr and __builtins_arm_get_fpscr. (arm_init_builtins) : Initialize builtins __builtins_arm_set_fpscr and __builtins_arm_get_fpscr. (arm_expand_builtin) : Expand builtins __builtins_arm_set_fpscr and __builtins_arm_ldfpscr. (arm_atomic_assign_expand_fenv): New function. * config/arm/vfp.md (set_fpscr): New pattern. (get_fpscr) : Likewise. * config/arm/unspecs.md (unspecv): Add VUNSPEC_GET_FPSCR and VUNSPEC_SET_FPSCR. * doc/extend.texi (AARCH64 Built-in Functions) : Document __builtins_arm_set_fpscr, __builtins_arm_get_fpscr. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@211103 138bc75d-0d04-0410-961f-82ee72b054a4
2014-05-31/cpPaolo Carlini
2014-05-31 Paolo Carlini <paolo.carlini@oracle.com> DR 1227 PR c++/57543 * cp-tree.h (TYPE_HAS_LATE_RETURN_TYPE): Add. * pt.c (tsubst_function_type): Inject the this parameter; do the substitutions in the order mandated by the DR. (copy_default_args_to_explicit_spec): Copy TYPE_HAS_LATE_RETURN_TYPE. * decl.c (grokdeclarator): Maybe set TYPE_HAS_LATE_RETURN_TYPE. (static_fn_type): Copy it. * decl2.c (build_memfn_type, change_return_type, cp_reconstruct_complex_type): Likewise. * parser.c (cp_parser_lambda_declarator_opt): Likewise. * tree.c (strip_typedefs): Likewise. * typeck.c (merge_types): Likewise. /testsuite 2014-05-31 Paolo Carlini <paolo.carlini@oracle.com> DR 1227 PR c++/57543 * g++.dg/cpp0x/pr57543-1.C: New. * g++.dg/cpp0x/pr57543-2.C: Likewise. * g++.dg/cpp0x/pr57543-3.C: Likewise. * g++.dg/cpp0x/decltype59.C: Likewise. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@211102 138bc75d-0d04-0410-961f-82ee72b054a4
2014-05-31Daily bump.GCC Administrator
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@211101 138bc75d-0d04-0410-961f-82ee72b054a4
2014-05-30Add missing closing braceTom de Vries
2014-05-31 Tom de Vries <tom@codesourcery.com> * gcc.target/i386/sibcall-4.c: Add missing closing brace. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@211097 138bc75d-0d04-0410-961f-82ee72b054a4
2014-05-30 * doc/xml/manual/appendix_contributing.xml (list.copyright): AddJonathan Wakely
Paolo's address too. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@211095 138bc75d-0d04-0410-961f-82ee72b054a4
2014-05-30 PR c++/56947Jason Merrill
* pt.c (instantiate_decl): Check that defer_ok is not set for local class members. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@211094 138bc75d-0d04-0410-961f-82ee72b054a4
2014-05-30 * lib/target-libpath.exp (set_gcc_exec_prefix_env_var,Jakub Jelinek
restore_gcc_exec_prefix_env_var): New procedures. (set_ld_library_path_env_vars, restore_ld_library_path_env_vars): Use them. * lib/c-compat.exp: Load target-libpath.exp. (compat-use-alt-compiler): Call restore_gcc_exec_prefix_env_var. (compat-use-tst-compiler): Call set_gcc_exec_prefix_env_var. * g++.dg/compat/compat.exp (compat-use-alt-compiler): Call restore_gcc_exec_prefix_env_var. * g++.dg/compat/struct-layout-1.exp (compat-use-alt-compiler): Likewise. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@211093 138bc75d-0d04-0410-961f-82ee72b054a4
2014-05-30 * asan.c (report_error_func): Add SLOW_P argument, useJakub Jelinek
BUILT_IN_ASAN_*_N if set. (build_check_stmt): Likewise. (instrument_derefs): If T has insufficient alignment, force same handling as for odd sizes. * c-c++-common/asan/misalign-1.c: New test. * c-c++-common/asan/misalign-2.c: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@211092 138bc75d-0d04-0410-961f-82ee72b054a4
2014-05-30 * sanitizer.def (BUILT_IN_ASAN_REPORT_LOAD_N,Jakub Jelinek
BUILT_IN_ASAN_REPORT_STORE_N): New. * asan.c (struct asan_mem_ref): Change access_size type to HOST_WIDE_INT. (asan_mem_ref_init, asan_mem_ref_new, get_mem_refs_of_builtin_call, update_mem_ref_hash_table): Likewise. (asan_mem_ref_hasher::hash): Hash in a HWI. (report_error_func): Change size_in_bytes argument to HWI. Use *_N builtins if size_in_bytes is larger than 16 or not power of two. (build_shadow_mem_access): New function. (build_check_stmt): Use it. Change size_in_bytes argument to HWI. Handle size_in_bytes not power of two or larger than 16. (instrument_derefs): Don't give up if size_in_bytes is not power of two or is larger than 16. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@211091 138bc75d-0d04-0410-961f-82ee72b054a4
2014-05-30 * g++.dg/asan/asan_test.C: Add -std=c++11 andJakub Jelinek
-DSANITIZER_USE_DEJAGNU_GTEST=1 to dg-options, remove -DASAN_USE_DEJAGNU_GTEST=1. * g++.dg/asan/asan_mem_test.cc: Updated from upstream r209283. * g++.dg/asan/asan_oob_test.cc: Likewise. * g++.dg/asan/sanitizer_test_utils.h: Likewise. * g++.dg/asan/asan_str_test.cc: Likewise. * g++.dg/asan/asan_test_utils.h: Likewise. * g++.dg/asan/sanitizer_test_config.h: Likewise. * g++.dg/asan/asan_test.cc: Likewise. Allow size 12 for long double. * g++.dg/asan/sanitizer_pthread_wrappers.h: New file. Imported from upstream r209283. * g++.dg/asan/asan_test_config.h: Likewise. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@211090 138bc75d-0d04-0410-961f-82ee72b054a4
2014-05-30 PR target/60104Kai Tietz
* config/i386/i386.c (x86_output_mi_thunk): Add memory case for sibling-tail-calls. * config/i386/i386.md (sibcall_insn_operand): Add memory-constrain to its use. * config/i386/predicates.md (sibcall_memory_operand): New predicate. (sibcall_insn_operand): Add check for sibcall_memory_operand. PR target/60104 * gcc.target/i386/sibcall-1.c: New test. * gcc.target/i386/sibcall-2.c: New test. * gcc.target/i386/sibcall-3.c: New test. * gcc.target/i386/sibcall-4.c: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@211089 138bc75d-0d04-0410-961f-82ee72b054a4
2014-05-30 PR libstdc++/61011Jonathan Wakely
* configure.ac (--disable-libstdcxx): Set noconfigdirs correctly. Disable libcilkrts, libitm, libsanitizer when not building libstdc++. * configure: Regenerate. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@211087 138bc75d-0d04-0410-961f-82ee72b054a4
2014-05-30 * doc/xml/manual/appendix_contributing.xml (list.copyright): ReplaceJonathan Wakely
Benjamin's old email address. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@211086 138bc75d-0d04-0410-961f-82ee72b054a4
2014-05-30 * config/avr/avr-mcus.def: Change ATA6289 ISA to AVR4Pitchumani Sivanupandi
* config/avr/avr-tables.opt: Regenerate. * config/avr/t-multilib: Regenerate. * doc/avr-mmcu.texi: Regenerate. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@211085 138bc75d-0d04-0410-961f-82ee72b054a4
2014-05-30 PR c++/60992Jason Merrill
* pt.c (tsubst_init): Split out from... (tsubst_expr) [DECL_EXPR]: Here. (tsubst_copy) [VAR_DECL]: Use it. * semantics.c (finish_id_expression): Return the decl for static/const. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@211084 138bc75d-0d04-0410-961f-82ee72b054a4
2014-05-30runtime: Use _mm_pause rather than __builtin_ia32_pause.Ian Lance Taylor
Based on a patch from Peter Collingbourne. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@211081 138bc75d-0d04-0410-961f-82ee72b054a4
2014-05-30 * sanitizer_common/sanitizer_stacktrace.cc: Cherry pick upstreamJakub Jelinek
r209879. * sanitizer_common/sanitizer_common.h: Likewise. * asan/asan_mapping.h: Likewise. * asan/asan_linux.cc: Likewise. * tsan/tsan_mman.cc: Cherry pick upstream r209744. * sanitizer_common/sanitizer_allocator.h: Likewise. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@211080 138bc75d-0d04-0410-961f-82ee72b054a4
2014-05-30gcc/:Ian Lance Taylor
* config/i386/xmmintrin.h (_mm_pause): Move out of scope of pragma target("sse"). testsuite/: * gcc.target/i386/pause-2.c: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@211079 138bc75d-0d04-0410-961f-82ee72b054a4