Commit Graph

151942 Commits

Author SHA1 Message Date
Jakub Jelinek
2d3bc14c2e re PR libstdc++/79348 (abi_check fails on s390x (2 undesignated symbols))
PR libstdc++/79348
	* config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Update.
	* config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Likewise.
	* config/abi/post/i386-linux-gnu/baseline_symbols.txt: Likewise.
	* config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise.
	* config/abi/post/aarch64-linux-gnu/baseline_symbols.txt: Likewise.
	* config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Likewise.
	* config/abi/post/s390x-linux-gnu/32/baseline_symbols.txt: Likewise.
	* config/abi/post/s390-linux-gnu/baseline_symbols.txt: Likewise.
	* config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise.

From-SVN: r245389
2017-02-13 16:38:33 +01:00
Kyrylo Tkachov
8d1ce2b57b [ARM] Fix assembly comment syntax in -mprint-tune-info
* config/arm/arm.c (arm_print_tune_info): Use ASM_COMMENT_START instead
	of explicit '@'.  Add missing assembly comment marker on branch costs
	printout.

From-SVN: r245388
2017-02-13 15:09:54 +00:00
Nathan Sidwell
0e9d2c4f5f * gengtype-lex.l (<in_struct>): Add '/'.
From-SVN: r245387
2017-02-13 15:06:47 +00:00
Jonathan Wakely
def227f1ad PR libstdc++/79486 use lvalues in result_of expressions
PR libstdc++/79486
	* include/std/future (__future_base::_Task_state::_M_run)
	(__future_base::_Task_state::_M_run_delayed): Use lvalue types in
	result_of expressions.
	* testsuite/30_threads/packaged_task/79486.cc: New.

From-SVN: r245386
2017-02-13 13:13:29 +00:00
Martin Liska
765fc0f73f Replace XALLOCAVEC with XCNEWVEC (PR c/79471).
2017-02-13  Martin Liska  <mliska@suse.cz>

	PR c/79471
	* calls.c (expand_call): Replace XALLOCAVEC with XCNEWVEC.

From-SVN: r245385
2017-02-13 13:13:21 +00:00
Richard Biener
f877b3adba isl.m4: Remove support for ISL 0.14.
2017-02-13  Richard Biener  <rguenther@suse.de>

	config/
	* isl.m4: Remove support for ISL 0.14.

	* configure: Re-generate.

	gcc/
	* configure.ac (HAVE_ISL_OPTIONS_SET_SCHEDULE_SERIALIZE_SCCS):
	Remove.
	* configure: Re-generate.
	* config.in: Likewise.
	* graphite-dependences.c: Simplify as if
	HAVE_ISL_OPTIONS_SET_SCHEDULE_SERIALIZE_SCCS was defined.
	* graphite-isl-ast-to-gimple.c: Likewise.
	* graphite-optimize-isl.c: Likewise.
	* graphite-poly.c: Likewise.
	* graphite-sese-to-poly.c: Likewise.
	* graphite.h: Likewise.
	* toplev.c: Include isl/version.h and use isl_version () for
	printing the ISL version.
	* doc/install.texi: Update ISL requirement.

From-SVN: r245382
2017-02-13 08:54:02 +00:00
GCC Administrator
c0d46793e8 Daily bump.
From-SVN: r245381
2017-02-13 00:16:15 +00:00
John Marino
19fc3f9acd system-freebsd-x86.ads: Rename into...
* system-freebsd-x86.ads: Rename into...
	* system-freebsd.ads: ...this.
	(Default_Bit_Order): Define using Standard'Default_Bit_Order.
	* gcc-interface/Makefile.in: Support aarch64-freebsd.
	(x86-64/FreeBSD): Adjust to above renaming.
	(i386/FreeBSD): Likewise.

From-SVN: r245377
2017-02-12 21:34:46 +00:00
Thomas Koenig
4bb91707a8 re PR fortran/65542 (SPREAD intrinsic incorrectly accepted in initialization expressions with -std=f95)
2017-02-12  Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR fortran/65542
	* intrinsic.c (gfc_intrinsic_func_interface):  Return an error
	for -std=f95 for disallowed transformational functions in
	initialization expressions.

2017-02-12  Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR fortran/65542
	* gfortran.dg/spread_init_expr_2.f90:  New test case.

From-SVN: r245376
2017-02-12 16:10:22 +00:00
Gerald Pfeifer
ab874efd6b standards.texi (Standards): Update reference to Objective-C 2.0.
* doc/standards.texi (Standards): Update reference to
	Objective-C 2.0.

From-SVN: r245375
2017-02-12 14:37:46 +00:00
Gerald Pfeifer
2139a88ac1 extend.texi (Named Address Spaces): sourceware.org now defaults to https.
* doc/extend.texi (Named Address Spaces): sourceware.org now
	defaults to https.
	* doc/install.texi (Binaries): Ditto.
	(Specific): Ditto.

From-SVN: r245374
2017-02-12 08:17:00 +00:00
Jason Merrill
817a77e41e PR c++/77659 - ICE with new and C++14 aggregate NSDMI
* init.c (build_new): Make backups of any CONSTRUCTORs in init.
	(build_new_1): Use replace_placeholders.
	* tree.c (replace_placeholders_t): Also track whether we've seen a
	placeholder.
	(replace_placeholders, replace_placeholders_r): Adjust.
	* cp-tree.h: Adjust.

From-SVN: r245372
2017-02-11 22:31:02 -05:00
Sandra Loosemore
95bbcf5881 cpp.texi: Replace "stringify"/"stringification" with C standard terminology...
2017-02-11  Sandra Loosemore  <sandra@codesourcery.com>

	gcc/
	* doc/cpp.texi: Replace "stringify"/"stringification" with C 
	standard terminology "stringize"/"stringizing" throughout.
	* doc/cppinternals.texi: Likewise.

From-SVN: r245371
2017-02-11 19:57:21 -05:00
GCC Administrator
7b65f47719 Daily bump.
From-SVN: r245370
2017-02-12 00:16:18 +00:00
Sandra Loosemore
3350c92a1f extend.texi: Fix some spelling mistakes and typos.
2017-02-11  Sandra Loosemore  <sandra@codesourcery.com>

	gcc/
	* doc/extend.texi: Fix some spelling mistakes and typos.
	* doc/invoke.texi: Likewise.

From-SVN: r245367
2017-02-11 18:08:11 -05:00
Jan Hubicka
540b7af068 re PR tree-optimization/79224 (Large C-Ray slowdown)
PR ipa/79224
	* params.def (inline-min-speedup) Change from 10 to 8.

From-SVN: r245366
2017-02-11 21:49:51 +00:00
John David Anglin
b0f78ff3e6 loop-dim-default.c: Remove hppa*-*-* dg-skip-if directive.
* testsuite/libgomp.oacc-c-c++-common/loop-dim-default.c: Remove
	hppa*-*-* dg-skip-if directive.

From-SVN: r245365
2017-02-11 21:23:50 +00:00
John David Anglin
7d3235372a alloca.h: New file.
* tests/base/alloca.h: New file.
	* inclhack.def (hppa_hpux11_alloca): New fix.
	* fixincl.x: Regenerate.

From-SVN: r245364
2017-02-11 21:11:44 +00:00
Jonathan Wakely
99ebfe9075 PR libstdc++/79467 use lvalues in is_callable check
PR libstdc++/79467
	* include/bits/shared_ptr_base.h (__shared_ptr(_Yp*, _Deleter))
	(__shared_ptr(_Yp*, _Deleter, _Alloc)): Use lvalue types in
	__is_callable check.
	* testsuite/20_util/shared_ptr/cons/79467.cc: New.

From-SVN: r245363
2017-02-11 21:08:11 +00:00
Jonathan Wakely
fe701c775e Adjust whitespace in <bits/atomic_base.h>
* include/bits/atomic_base.h: Re-indent.

From-SVN: r245362
2017-02-11 21:08:06 +00:00
Jakub Jelinek
e22910c200 re PR sanitizer/79341 (Many Asan tests fail on s390)
PR sanitizer/79341
	* g++.dg/asan/deep-stack-uaf-1.C: New test.

From-SVN: r245361
2017-02-11 19:38:11 +01:00
Jakub Jelinek
c0a2ef7de3 invoke.texi (fopenmp): Bump OpenMP version from 4.0 to 4.5.
* doc/invoke.texi (fopenmp): Bump OpenMP version from 4.0 to
	4.5.

From-SVN: r245360
2017-02-11 19:04:07 +01:00
Jan Hubicka
acbbac0444 re PR middle-end/56727 (Recursive call goes through the PLT unnecessarily)
PR tree-ssa/56727
	* gcc.dg/tree-ssa/pr56727.c: New testcase.
	* ipa-utils.c (recursive_call_p): Be more careful about interposition.

From-SVN: r245359
2017-02-11 17:56:02 +00:00
Jason Merrill
bc61048a14 PR c++/77790 - ICE with auto function in C++11 mode
* decl.c (undeduced_auto_decl): Remove C++14 limitation.
	(require_deduced_type): Add complain parm, return bool.
	* cp-tree.h: Adjust.
	* decl2.c (mark_used): Use require_deduced_type.

From-SVN: r245358
2017-02-11 12:29:45 -05:00
Jan Hubicka
31deea5e71 re PR tree-optimization/79224 (Large C-Ray slowdown)
PR ipa/79224
	* ipa-inline-analysis.c (get_minimal_bb): New function.
	(record_modified): Use it.
	(remap_edge_change_prob): Handle also ancestor functions.

From-SVN: r245357
2017-02-11 16:11:57 +00:00
Gerald Pfeifer
56a9ca7038 contrib.texi (Contributors): Remove broken link into the Mauve CVS repository.
* doc/contrib.texi (Contributors): Remove broken link into
	the Mauve CVS repository.

From-SVN: r245355
2017-02-11 08:46:26 +00:00
Jakub Jelinek
6a5cdb0e9e re PR middle-end/79454 (c-c++-common/ubsan/overflow-vec-*.c FAILs on some 64-bit BE targets)
PR middle-end/79454
	* internal-fn.c (expand_vector_ubsan_overflow): Use piece-wise
	result computation whenever lhs doesn't have vector mode, not
	just when it has BLKmode.

From-SVN: r245354
2017-02-11 09:15:30 +01:00
GCC Administrator
b0c00c7a49 Daily bump.
From-SVN: r245353
2017-02-11 00:16:14 +00:00
Jakub Jelinek
1509524bcc re PR sanitizer/79341 (Many Asan tests fail on s390)
PR sanitizer/79341
	* configure.tgt (s390*-*-linux*): Don't disable libsanitizer on
	s390-linux 31-bit.
	* sanitizer_common/sanitizer_internal_defs.h: Cherry-pick upstream
	r294793.
	* sanitizer_common/sanitizer_common_interceptors.inc: Cherry-pick
	upstream r294790.
	* sanitizer_common/sanitizer_linux_s390.cc: Cherry-pick upstream
	r294799.

From-SVN: r245350
2017-02-11 00:34:49 +01:00
Gerald Pfeifer
42f8e766cc * doc/xml/manual/profile_mode.xml: Update a paper reference.
From-SVN: r245349
2017-02-10 22:20:16 +00:00
Gerald Pfeifer
eb533b4e26 makefile.texi (profiledbootstrap): Refer to the installation instructions only in textual form.
* doc/makefile.texi (profiledbootstrap): Refer to the
	installation instructions only in textual form.

From-SVN: r245348
2017-02-10 22:06:01 +00:00
Aaron Sawdey
c1170481c9 re PR target/79295 (gcc.target/powerpc/bcd-3.c fails starting with r244942)
2017-02-10  Aaron Sawdey  <acsawdey@linux.vnet.ibm.com>

	PR target/79295
	* config/rs6000/altivec.md (bcd<bcd_add_sub>): Fix constraints.

Applying patch suggested by Meissner.

From-SVN: r245345
2017-02-10 15:07:36 -06:00
Jakub Jelinek
e493f96b95 re PR c++/79457 (Segmentation fault in templated decltype evaluation)
PR c++/79457
	* g++.dg/cpp0x/pr79457.C: New test.

From-SVN: r245344
2017-02-10 21:58:31 +01:00
Jason Merrill
6a2cc46b79 PR c++/78908 - template ops and bitfields
* tree.c (build_min_non_dep): Use unlowered_expr_type.

From-SVN: r245343
2017-02-10 15:43:33 -05:00
Jason Merrill
5c97093ba7 PR c++/78897 - constexpr union
* constexpr.c (cxx_eval_store_expression): A store to a union member
	erases a previous store to another member.

From-SVN: r245341
2017-02-10 13:50:30 -05:00
Jason Merrill
f494ac0ebd PR c++/71285 - member of fold-expression
* semantics.c (finish_unary_fold_expr)
	(finish_binary_fold_expr): Use null type for fold-expressions.

From-SVN: r245340
2017-02-10 13:24:36 -05:00
Jason Merrill
c16b872c8f PR c++/79401 - protected inherited constructor
* call.c (enforce_access): For inheriting constructor, find a base
	binfo in the path we already have.

From-SVN: r245339
2017-02-10 13:01:27 -05:00
Segher Boessenkool
773acd5428 testsuite, rs6000: fold-vec-mult-longlong.c
On 32-bit we of course do not generate mulld insns.  This patch makes
the testcase only do the scan-assembler on 64-bit targets.


gcc/testsuite/
	* gcc.target/powerpc/fold-vec-mult-longlong.c: Don't do the
	scan-assembler unless lp64.

From-SVN: r245338
2017-02-10 17:59:51 +01:00
Segher Boessenkool
b56f814e8a testsuite, rs6000: Don't xfail 32-bit (PR66612)
-m32 works fine, only 64-bit still fails.


gcc/testsuite/
	PR tree-optimization/66612
	* gcc.target/powerpc/20050830-1.c: Don't xfail on 32-bit.

From-SVN: r245337
2017-02-10 17:58:14 +01:00
Segher Boessenkool
5e659d16e0 testsuite, rs6000: Don't xfail Wtrampolines.c on -m32
This test does not fail with -m32, so we shouldn't xfail it there.


gcc/testsuite/
	* gcc.dg/Wtrampolines.c: Do the xfail for only 64-bit powerpc instead
	of all powerpc.

From-SVN: r245336
2017-02-10 17:55:58 +01:00
Marek Polacek
3799a5b853 re PR c++/79184 (-Wint-in-bool-context triggered erroneously in template parameter)
PR c++/79184
	* cvt.c (ocp_convert): Add a sentinel against -Wint-in-bool-context
	if warnings shouldn't be given.

	* g++.dg/warn/Wint-in-bool-context-1.C: New.

From-SVN: r245335
2017-02-10 16:33:45 +00:00
Marek Polacek
6f4f30bf31 re PR c++/79435 (ICE on invalid C++ code (with member access into an incomplete type) on x86_64-linux-gnu: Segmentation fault)
PR c++/79435
	* pt.c (type_dependent_expression_p): Check if the expression type
	is null.

	* g++.dg/cpp1y/pr79435.C: New.

From-SVN: r245334
2017-02-10 16:32:19 +00:00
Gerald Pfeifer
67afc9a696 install.texi (Specific): Use https for blackfin.uclinux.org.
* doc/install.texi (Specific): Use https for blackfin.uclinux.org.
	(Specific): Update mingw-w64 reference.
	(Binaries): Ditto.
	(Specific): Remove broken link to Renesas RX processor.

From-SVN: r245332
2017-02-10 16:08:46 +00:00
Richard Biener
31f1473a82 toplev.c (process_options): Do not mention obsolete graphite options when...
2017-02-10  Richard Biener  <rguenther@suse.de>

	* toplev.c (process_options): Do not mention obsolete graphite
	options when printing sorry message about missing graphite support.
	Mention -floop-nest-optimize.

From-SVN: r245331
2017-02-10 14:28:11 +00:00
Christophe Lyon
052ef81d2d [ARM,AArch64] more poly64 intrinsics and tests
2017-02-06  Christophe Lyon  <christophe.lyon@linaro.org>

	gcc/
	* config/aarch64/arm_neon.h (vtst_p8): Rewrite without asm.
	(vtst_p16): Likewise.
	(vtstq_p8): Likewise.
	(vtstq_p16): Likewise.
	(vtst_p64): New.
	(vtstq_p64): Likewise.
	* config/arm/arm_neon.h (vgetq_lane_p64): New.
	(vset_lane_p64): New.
	(vsetq_lane_p64): New.

2017-02-06  Christophe Lyon  <christophe.lyon@linaro.org>

	gcc/testsuite/
	* gcc.target/aarch64/advsimd-intrinsics/p64_p128.c
	(vget_lane_expected, vset_lane_expected, vtst_expected_poly64x1):
	New.
	(vmov_n_expected0, vmov_n_expected1, vmov_n_expected2)
	(expected_vld_st2_0, expected_vld_st2_1, expected_vld_st3_0)
	(expected_vld_st3_1, expected_vld_st3_2, expected_vld_st4_0)
	(expected_vld_st4_1, expected_vld_st4_2, expected_vld_st4_3)
	(vtst_expected_poly64x2): Move to aarch64-only section.
	(vget_lane_p64, vgetq_lane_p64, vset_lane_p64, vsetq_lane_p64)
	(vtst_p64, vtstq_p64): New tests.

From-SVN: r245328
2017-02-10 14:18:16 +01:00
Paolo Carlini
a7c8ed0c36 re PR c++/71737 (ICE following 2x pack expansion in non-pack with template alias)
/cp
2017-02-10  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/71737
	* pt.c (tsubst_decl): Don't try to preserve a typedef that names
	an error_mark_node as type.

/testsuite
2017-02-10  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/71737
	* g++.dg/cpp0x/pr71737.C: New.

From-SVN: r245327
2017-02-10 13:14:05 +00:00
Prasad Ghangal
3dcde5efcd gimple-parser.c (c_parser_gimple_binary_expression): Avoid building IL when arguments are error_mark_node.
2017-02-10  Prasad Ghangal  <prasad.ghangal@gmail.com>
	Richard Biener  <rguenther@suse.de>

	* gimple-parser.c (c_parser_gimple_binary_expression): Avoid
	building IL when arguments are error_mark_node.
	(c_parser_gimple_unary_expression): Likewise.
	(c_parser_gimple_if_stmt): Likewise.
	(c_parser_gimple_switch_stmt): Likewise.
	(c_parser_gimple_return_stmt): Likewise.
	(c_parser_parse_ssa_name): When name lookup fails do not build
	an SSA name.  Use undeclared rather than not declared in error
	reporting.

	* gcc.dg/gimplefe-error-1.c: New testcase.
	* gcc.dg/gimplefe-error-2.c: New testcase.
	* gcc.dg/gimplefe-error-3.c: New testcase.

Co-Authored-By: Richard Biener <rguenther@suse.de>

From-SVN: r245326
2017-02-10 12:47:05 +00:00
Jakub Jelinek
6139a3b76c re PR tree-optimization/79411 (ICE: SSA corruption (fail_abnormal_edge_coalesce))
PR tree-optimization/79411
	* tree-ssa-reassoc.c (is_reassociable_op): Return false if
	stmt operands are SSA_NAMEs used in abnormal phis.
	(can_reassociate_p): Return false if op is SSA_NAME used in abnormal
	phis.

	* gcc.c-torture/compile/pr79411.c: New test.

From-SVN: r245324
2017-02-10 09:47:32 +01:00
GCC Administrator
e8f45b6c35 Daily bump.
From-SVN: r245320
2017-02-10 00:16:17 +00:00
Jakub Jelinek
9bfc55d096 re PR c++/79143 ([new inheriting constructors] inheriting constructor fails with brace initialization)
PR c++/79143
	* pt.c (instantiate_class_template_1): Copy CLASSTYPE_NON_AGGREGATE
	from pattern to type.

	* g++.dg/cpp1z/pr79143.C: New test.

Co-Authored-By: Jason Merrill <jason@redhat.com>

From-SVN: r245315
2017-02-09 23:12:15 +01:00