Ian Lance Taylor
fa3340ec8f
Makefile.am (noinst_PROGRAMS): New variable.
...
* Makefile.am (noinst_PROGRAMS): New variable.
(libexecsub_PROGRAMS): Remove variable.
(install-exec-local, uninstall-local): New targets.
* Makefile.in: Rebuild.
From-SVN: r219985
2015-01-22 04:19:11 +00:00
Ian Lance Taylor
d4290ecad0
compiler: Prohibit use of ellipsis operator on multi-valued calls.
...
Fixes golang/go#9525 .
From-SVN: r219984
2015-01-22 04:09:04 +00:00
Segher Boessenkool
fad513aa88
Add file I missed. Whoops.
...
From-SVN: r219982
2015-01-22 01:37:17 +01:00
Segher Boessenkool
c8b90a13c7
re PR rtl-optimization/64682 (wrong code at -O2 and -O3 on x86_64-linux-gnu)
...
PR rtl-optimization/64682
* combine.c (distribute_notes): When moving a death note for
a register that is set in the new I2, make sure to put it
before that new I2.
PR rtl-optimization/64682
* gcc.c-torture/execute/pr64682.c: New file.
From-SVN: r219981
2015-01-22 01:35:44 +01:00
GCC Administrator
a393438f27
Daily bump.
...
From-SVN: r219980
2015-01-22 00:16:37 +00:00
David Edelsohn
1c2fd8c7cf
rs6000.c (rs6000_file_start): Use rs6000_isa_flags not TARGET_DEFAULT.
...
* config/rs6000/rs6000.c (rs6000_file_start): Use rs6000_isa_flags
not TARGET_DEFAULT.
From-SVN: r219977
2015-01-21 19:13:09 -05:00
Ian Lance Taylor
6632034718
runtime: Add the Go language version information to the Version output.
...
From-SVN: r219976
2015-01-21 23:03:41 +00:00
Jakub Jelinek
98f510444c
re PR debug/64511 (ICE at -O3 with -g enabled on x86_64-linux-gnu)
...
PR debug/64511
* simplify-rtx.c (simplify_relational_operation_1): Don't try to
optimize (eq/ne (and (side_effects) (const_int 0)) (const_int 0))
into (eq/ne (and (not (side_effects)) (const_int 0)) (const_int 0)).
* gcc.dg/pr64511.c: New test.
From-SVN: r219974
2015-01-21 22:59:34 +01:00
Jason Merrill
b85a324239
re PR c++/64603 (bogus error "no matching function for call to ..." with templates)
...
PR c++/64603
* constexpr.c (cxx_eval_constant_expression): Only shortcut
constant CONSTRUCTORs.
From-SVN: r219973
2015-01-21 16:56:34 -05:00
Jakub Jelinek
d2632e47fc
re PR sanitizer/64706 (-fsanitize=vptr is not documented)
...
PR sanitizer/64706
* doc/invoke.texi (-fsanitize=vptr): Document.
From-SVN: r219971
2015-01-21 22:53:49 +01:00
Jakub Jelinek
6c5ed3f18c
re PR rtl-optimization/62078 (ICE: verify_flow_info failed: missing REG_EH_REGION note at the end of bb 2 with -fdelete-dead-exceptions)
...
PR rtl-optimization/62078
* dse.c: Include cfgcleanup.h.
(rest_of_handle_dse): For -fnon-call-exceptions, if DSE removed
anything call purge_all_dead_edges and cleanup_cfg at the end
of the pass.
* g++.dg/opt/pr62078.C: New test.
From-SVN: r219970
2015-01-21 22:51:43 +01:00
Jakub Jelinek
31be63ab8c
re PR c/63307 (Cilk+ breaks -fcompare-debug bootstrap)
...
PR c/63307
* cilk.c (fill_decls_vec): Only put decls into vector v.
(compare_decls): Fix up formatting.
* c-c++-common/cilk-plus/CK/pr63307.c: New test.
2015-01-21 Igor Zamyatin <igor.zamyatin@intel.com>
PR c/63307
* cilk.c: Include vec.h.
(struct cilk_decls): New structure.
(wrapper_parm_cb): Split this function to...
(fill_decls_vec): ...this...
(create_parm_list): ...and this.
(compare_decls): New function.
(for_local_cb): Remove.
(wrapper_local_cb): Ditto.
(build_wrapper_type): For now first traverse and fill vector of
declarations then sort it and then deal with sorted vector.
(cilk_outline): Ditto.
(declare_one_free_variable): Ditto.
From-SVN: r219969
2015-01-21 22:23:04 +01:00
Jakub Jelinek
8b08ef255b
re PR sanitizer/64435 (Bootstrap failure in libsanitizer on AArch64 with Linux kernel <= 3.15)
...
PR sanitizer/64435
* sanitizer_common/sanitizer_platform_limits_posix.h: Cherry pick
upstream r226637.
* sanitizer_common/sanitizer_platform_limits_posix.cc: Likewise.
* sanitizer_common/sanitizer_posix.cc: Cherry pick upstream r226639.
From-SVN: r219968
2015-01-21 22:21:27 +01:00
Jason Merrill
f1eac18240
re PR c++/64647 ([C++14] std::__max_element contains code not allowed in constexpr function)
...
PR c++/64647
* constexpr.c (ensure_literal_type_for_constexpr_object): Don't
give a hard error in a template instantiation.
From-SVN: r219965
2015-01-21 15:15:35 -05:00
Jason Merrill
6875457f34
re PR c++/64629 (-Wformat-security warns with const char *const vars)
...
PR c++/64629
* c-format.c (check_format_arg): Call decl_constant_value.
From-SVN: r219964
2015-01-21 15:15:27 -05:00
Thomas Koenig
4195393b3c
re PR fortran/57023 (Not packing arrays with changing variable used for size)
...
2015-01-21 Thomas Koenig <tkoenig@netcologne.de>
PR fortran/57023
* dependency.c (callback_dummy_intent_not_int): New function.
(dummy_intent_not_in): New function.
(gfc_full_array_ref_p): Use dummy_intent_not_in.
2015-01-21 Thomas Koenig <tkoenig@netcologne.de>
PR fortran/57023
* gfortran.dg/internal_pack_15.f90: New test.
From-SVN: r219963
2015-01-21 19:40:54 +00:00
Jan Hubicka
173148bb12
ipa-utils.c (ipa_merge_profiles): Avoid ICE on mismatch in indirect edges.
...
* ipa-utils.c (ipa_merge_profiles): Avoid ICE on mismatch in indirect
edges.
From-SVN: r219962
2015-01-21 18:19:25 +00:00
Bernd Edlinger
2f3c4b6968
gimplify.c (gimplify_function_tree): Check the no_sanitize_thread decl attribute.
...
gcc/ChangeLog:
2015-01-21 Bernd Edlinger <bernd.edlinger@hotmail.de>
* gimplify.c (gimplify_function_tree): Check the no_sanitize_thread
decl attribute.
gcc/testsuite/ChangeLog
2015-01-21 Bernd Edlinger <bernd.edlinger@hotmail.de>
* gcc/testsuite/c-c++-common/tsan/step.c: New testcase.
From-SVN: r219961
2015-01-21 18:08:42 +00:00
David Sherwood
b6b782b967
aarch64.h (CANNOT_CHANGE_MODE_CLASS): Removed.
...
gcc/
2015-01-21 David Sherwood <david.sherwood@arm.com>
Tejas Belagod <Tejas.Belagod@arm.com>
* config/aarch64/aarch64.h (CANNOT_CHANGE_MODE_CLASS): Removed.
* config/aarch64/aarch64.c (aarch64_cannot_change_mode_class): Removed.
* config/aarch64/aarch64-protos.h (aarch64_cannot_change_mode_class):
Removed.
Co-Authored-By: Tejas Belagod <tejas.belagod@arm.com>
From-SVN: r219960
2015-01-21 17:53:55 +00:00
David Sherwood
668046d175
gcc/
...
2015-01-21 David Sherwood <david.sherwood@arm.com>
Tejas Belagod <Tejas.Belagod@arm.com>
* config/aarch64/aarch64-protos.h (aarch64_simd_attr_length_rglist)
(aarch64_reverse_mask): New decls.
* config/aarch64/iterators.md (UNSPEC_REV_REGLIST): New enum.
(insn_count): New mode_attr.
* config/aarch64/aarch64-simd.md (vec_store_lanesoi, vec_store_lanesci)
(vec_store_lanesxi, vec_load_lanesoi, vec_load_lanesci)
(vec_load_lanesxi): Made ABI compliant for Big Endian targets.
(aarch64_rev_reglist, aarch64_simd_ld2, aarch64_simd_ld3)
(aarch64_simd_ld4, aarch64_simd_st2, aarch64_simd_st3)
(aarch64_simd_st4): New patterns.
* config/aarch64/aarch64.c (aarch64_simd_attr_length_rglist)
(aarch64_reverse_mask): New functions.
Co-Authored-By: Tejas Belagod <tejas.belagod@arm.com>
From-SVN: r219959
2015-01-21 17:53:44 +00:00
Alan Hayward
2d8c6dc1d9
aarch64-protos.h (aarch64_simd_disambiguate_copy): Declare.
...
gcc/
* config/aarch64/aarch64-protos.h (aarch64_simd_disambiguate_copy):
Declare.
* config/aarch64/aarch64.c (aarch64_classify_address): Allow extra
addressing modes for BE.
(aarch64_print_operand): Add 'R' specifier.
(aarch64_simd_disambiguate_copy): Delete.
(aarch64_simd_emit_reg_reg_move): New function.
* config/aarch64/aarch64-simd.md: Use aarch64_simd_emit_reg_reg_move
in define_splits for structural moves.
(mov<mode>): Use less restrictive predicates.
(*aarch64_mov<mode>): Simplify and only allow for LE.
(*aarch64_be_movoi, *aarch64_be_movci, *aarch64_be_movxi): New.
From-SVN: r219958
2015-01-21 17:53:31 +00:00
Alan Hayward
9ab41c76dd
rtlanal.c (subreg_get_info): Exit early for simple and common cases.
...
gcc/
2015-01-25 Alan Hayward <alan.hayward@arm.com>
* rtlanal.c (subreg_get_info): Exit early for simple and common
cases.
From-SVN: r219957
2015-01-21 17:53:04 +00:00
Andrew Waterman
122a5d603b
Avoid misaligned atomic operations
...
Andrew Waterman <waterman@cs.berkeley.edu>
* fop_n.c (libat_fetch_op): Align address to word boundary.
(libat_op_fetch): Likewise.
From-SVN: r219954
2015-01-21 09:17:03 -08:00
Jonathan Wakely
f81f49c180
* config/abi/pre/gnu.ver: Use [jmy] for size_t parameters.
...
From-SVN: r219953
2015-01-21 16:17:31 +00:00
Jonathan Wakely
deff1f4105
* testsuite/29_atomics/atomic/64658.cc: Test stored value.
...
From-SVN: r219952
2015-01-21 16:17:17 +00:00
Richard Henderson
4005b96a70
re PR target/64669 (aarch64-linux profiledbootstrap failure)
...
PR target/64669
* ccmp.c (used_in_cond_stmt_p): Remove.
(expand_ccmp_expr): Don't use it.
From-SVN: r219951
2015-01-21 07:47:49 -08:00
Christophe Lyon
6fdbf71325
[ARM/AArch64][testsuite] Add vqdmull_n tests.
...
2015-01-21 Christophe Lyon <christophe.lyon@linaro.org>
* gcc.target/aarch64/advsimd-intrinsics/vqdmull_n.c: New file.
From-SVN: r219950
2015-01-21 12:32:32 +01:00
Christophe Lyon
9b84f8f53a
[ARM/AArch64][testsuite] Add vqdmull_lane tests.
...
2015-01-21 Christophe Lyon <christophe.lyon@linaro.org>
* gcc.target/aarch64/advsimd-intrinsics/vqdmull_lane.c: New file.
From-SVN: r219949
2015-01-21 12:31:20 +01:00
Christophe Lyon
993cb72001
[ARM/AArch64][testsuite] Add vqdmull tests.
...
2015-01-21 Christophe Lyon <christophe.lyon@linaro.org>
* gcc.target/aarch64/advsimd-intrinsics/vqdmull.c: New file.
From-SVN: r219948
2015-01-21 12:30:16 +01:00
Christophe Lyon
c6c3bdce8c
[ARM/AArch64][testsuite] Add vqdmulh_n tests.
...
2015-01-21 Christophe Lyon <christophe.lyon@linaro.org>
* gcc.target/aarch64/advsimd-intrinsics/vqdmulh_n.c: New file.
From-SVN: r219947
2015-01-21 12:28:55 +01:00
Christophe Lyon
4925848234
[ARM/AArch64][testsuite] Add vqdmulh_lane tests.
...
2015-01-21 Christophe Lyon <christophe.lyon@linaro.org>
* gcc.target/aarch64/advsimd-intrinsics/vqdmulh_lane.c: New file.
From-SVN: r219946
2015-01-21 12:26:06 +01:00
Christophe Lyon
77566bc748
[ARM/AArch64][testsuite] Add vqdmulh tests.
...
2015-01-21 Christophe Lyon <christophe.lyon@linaro.org>
* gcc.target/aarch64/advsimd-intrinsics/vqdmulh.c: New file.
From-SVN: r219945
2015-01-21 12:25:11 +01:00
Christophe Lyon
94b9215c87
[ARM/AArch64][testsuite] Add vmull_n tests.
...
2015-01-21 Christophe Lyon <christophe.lyon@linaro.org>
* gcc.target/aarch64/advsimd-intrinsics/vmull_n.c: New file.
From-SVN: r219944
2015-01-21 12:23:31 +01:00
Christophe Lyon
43da1074f8
[ARM/AArch64][testsuite] Add vmull_lane tests.
...
2015-01-21 Christophe Lyon <christophe.lyon@linaro.org>
* gcc.target/aarch64/advsimd-intrinsics/vmull_lane.c: New file.
From-SVN: r219943
2015-01-21 12:21:53 +01:00
Christophe Lyon
e5584668dc
[ARM/AArch64][testsuite] Add vmull tests.
...
2015-01-21 Christophe Lyon <christophe.lyon@linaro.org>
* gcc.target/aarch64/advsimd-intrinsics/vmull.c: New file.
From-SVN: r219942
2015-01-21 12:18:57 +01:00
Christophe Lyon
8afb62ac1c
[[ARM/AArch64][testsuite] 24/36] Add vmul_n tests.
...
2015-01-21 Christophe Lyon <christophe.lyon@linaro.org>
* gcc.target/aarch64/advsimd-intrinsics/vmul_n.c: New file.
From-SVN: r219941
2015-01-21 12:17:34 +01:00
Christophe Lyon
ad9b853c30
[ARM/AArch64][testsuite] Add vmul_lane tests.
...
2015-01-21 Christophe Lyon <christophe.lyon@linaro.org>
* gcc.target/aarch64/advsimd-intrinsics/vmul_lane.c: New file.
From-SVN: r219940
2015-01-21 12:16:23 +01:00
Christophe Lyon
d048f8c339
[ARM/AArch64][testsuite] Add vmovn tests.
...
2015-01-21 Christophe Lyon <christophe.lyon@linaro.org>
* gcc.target/aarch64/advsimd-intrinsics/vmovn.c: New file.
From-SVN: r219939
2015-01-21 12:14:57 +01:00
Christophe Lyon
84722ccab1
[ARM/AArch64][testsuite] Add vsubw tests, putting most of the code in common with vaddw through vXXWw.inc.
...
2015-01-21 Christophe Lyon <christophe.lyon@linaro.org>
* gcc.target/aarch64/advsimd-intrinsics/vXXXw.inc: New file.
* gcc.target/aarch64/advsimd-intrinsics/vsubw.c: New file.
* gcc.target/aarch64/advsimd-intrinsics/vaddw.c: Use code from
vXXXw.inc.
From-SVN: r219938
2015-01-21 12:13:21 +01:00
Christophe Lyon
9ba0832112
[ARM/AArch64][testsuite] Add vsubl tests, put most of the code in common with vaddl in vXXXl.inc.
...
2015-01-21 Christophe Lyon <christophe.lyon@linaro.org>
* gcc.target/aarch64/advsimd-intrinsics/vXXXl.inc: New file.
* gcc.target/aarch64/advsimd-intrinsics/vsubl.c: New file.
* gcc.target/aarch64/advsimd-intrinsics/vaddl.c: Use code from
vXXXl.inc.
From-SVN: r219937
2015-01-21 12:11:47 +01:00
Andre Vehreschild
09b9cd1f18
* MAINTAINER: Added myself.
...
From-SVN: r219936
2015-01-21 11:54:37 +01:00
Renlin Li
8f478ee6e3
[PATCH]Skip g++.dg/tls testes on target using status wrapper
...
/testsuite
2015-01-21 Renlin Li <renlin.li@arm.com>
* g++.dg/tls/thread_local5.C: Skip when dejagnu wrapper is used.
* g++.dg/tls/thread_local5g.C: Likewise.
* g++.dg/tls/thread_local6g.C: Likewise.
From-SVN: r219935
2015-01-21 10:25:42 +00:00
Christophe Lyon
d9355320f1
[ARM/AArch64][testsuite] Add vsli_n and vsri_n tests.
...
2015-01-21 Christophe Lyon <christophe.lyon@linaro.org>
* gcc.target/aarch64/advsimd-intrinsics/vsXi_n.inc: New file.
* gcc.target/aarch64/advsimd-intrinsics/vsli_n.c: New file.
* gcc.target/aarch64/advsimd-intrinsics/vsri_n.c: New file.
From-SVN: r219934
2015-01-21 11:23:42 +01:00
Matthias Klose
c18b73e1d0
libtool-version: Bump soversion.
...
2015-01-21 Matthias Klose <doko@ubuntu.com>
* libtool-version: Bump soversion.
From-SVN: r219933
2015-01-21 10:17:59 +00:00
Christophe Lyon
dc60142a88
[ARM/AArch64][testsuite] Add vqdmlal_n and vqdmlsl_n tests.
...
2015-01-21 Christophe Lyon <christophe.lyon@linaro.org>
* gcc.target/aarch64/advsimd-intrinsics/vqdmlXl_n.inc: New file.
* gcc.target/aarch64/advsimd-intrinsics/vqdmlal_n.c: New file.
* gcc.target/aarch64/advsimd-intrinsics/vqdmlsl_n.c: New file.
From-SVN: r219932
2015-01-21 11:15:13 +01:00
Christophe Lyon
e6ad0b153e
[ARM/AArch64][testsuite] Add vqdmlal_lane and vqdmlsl_lane tests.
...
2015-01-21 Christophe Lyon <christophe.lyon@linaro.org>
* gcc.target/aarch64/advsimd-intrinsics/vqdmlXl_lane.inc: New file.
* gcc.target/aarch64/advsimd-intrinsics/vqdmlal_lane.c: New file.
* gcc.target/aarch64/advsimd-intrinsics/vqdmlsl_lane.c: New file.
From-SVN: r219931
2015-01-21 11:13:47 +01:00
Christophe Lyon
7378039064
[ARM/AArch64][testsuite] Add vqdmlal and vqdmlsl tests.
...
2015-01-21 Christophe Lyon <christophe.lyon@linaro.org>
* gcc.target/aarch64/advsimd-intrinsics/vqdmlXl.inc: New file.
* gcc.target/aarch64/advsimd-intrinsics/vqdmlal.c: New file.
* gcc.target/aarch64/advsimd-intrinsics/vqdmlsl.c: New file.
From-SVN: r219930
2015-01-21 11:11:44 +01:00
Nick Clifton
cf836bd3d6
rl78.c (rl78_calculate_death_notes): Look inside PARALLELs.
...
* config/rl78/rl78.c (rl78_calculate_death_notes): Look inside
PARALLELs.
From-SVN: r219929
2015-01-21 09:34:38 +00:00
Richard Biener
cbf5d0e70c
re PR middle-end/64313 (gcc.dg/torture/builtin-explog-1.c fails on bare-metal targets)
...
2015-01-21 Richard Biener <rguenther@suse.de>
PR middle-end/64313
* tree-core.h (builtin_info, builtin_info_type): Turn from
an object with two arrays into an array of an object with
decl and two flags, implicit_p and declared_p.
* tree.h (builtin_decl_explicit, builtin_decl_implicit,
set_builtin_decl, set_builtin_decl_implicit_p,
builtin_decl_explicit_p, builtin_decl_implicit_p): Adjust.
(set_builtin_decl_declared_p, builtin_decl_declared_p): New functions.
* builtins.c (builtin_info): Adjust.
* gimplify.c (gimplify_addr_expr): References to builtins
that have been declared by the user makes them eligible for
use by the compiler. Call set_builtin_decl_implicit_p on them.
c/
* c-decl.c (merge_decls): Call set_builtin_decl_declared_p
for builtins the user declared correctly.
cp/
* decl.c (duplicate_decls): Call set_builtin_decl_declared_p
for builtins the user declared correctly.
From-SVN: r219928
2015-01-21 09:04:53 +00:00
Jeff Law
1f36fbf4a8
re PR target/59946 (-mpcrel -O2 produces illegal asm code)
...
2015-01-20 Jeff Law <law@redhat.com>
PR target/59946
* config/m68k/m68k.md (Comparison expanders and patterns): Do not
allow pc-relative addresses in operand predicates or constraints.
PR target/59946
* gcc.target/m68k/pr59946.c: New test.
From-SVN: r219927
2015-01-20 23:17:50 -07:00