Commit Graph

137780 Commits

Author SHA1 Message Date
Jonathan Wakely
a00d74c490 fs_path.h (path::_List): Use vector instead of list.
* include/experimental/fs_path.h (path::_List): Use vector instead of
	list.
	* python/libstdcxx/v6/printers.py (StdExpPathPrinter): Adapt.
	* src/filesystem/path.cc: Use std::prev instead of decrementing
	rvalues. Fix whitespace.
	* testsuite/experimental/filesystem/path/decompose/parent_path.cc:
	Do not decrement iterators before begin.

From-SVN: r222702
2015-05-01 20:47:55 +01:00
Paolo Carlini
d532ea9181 Wnarrowing4.C: Rename to Wnarrowing3.C.
2015-05-01  Paolo Carlini  <paolo.carlini@oracle.com>

	* g++.dg/cpp0x/Wnarrowing4.C: Rename to Wnarrowing3.C.

Co-Authored-By: Prathamesh Kulharni <prathamesh.kulkarni@linaro.org>

From-SVN: r222701
2015-05-01 18:53:51 +00:00
Paolo Carlini
38920aec4c re PR c++/65858 (ICE in varpool_node::get_constructor during chromium build on arm-linux-gnueabihf with LTO during LINK chrome)
/cp
2015-05-01  Paolo Carlini  <paolo.carlini@oracle.com>
	    Prathamesh Kulharni  <prathamesh.kulkarni@linaro.org>

	PR c++/65858
	* typeck2.c (check_narrowing): Set ok = true when pedwarn returns
	false.

/testsuite
2015-05-01  Paolo Carlini  <paolo.carlini@oracle.com>
	    Prathamesh Kulharni  <prathamesh.kulkarni@linaro.org>

	PR c++/65858
	* g++.dg/cpp0x/Wnarrowing4.C: New.

Co-Authored-By: Prathamesh Kulharni <prathamesh.kulkarni@linaro.org>

From-SVN: r222699
2015-05-01 18:43:40 +00:00
Rasmus Villemoes
0f770b013e match.pd: New simplification patterns.
* match.pd: New simplification patterns.
	(x + (x & 1))  -> ((x + 1) & ~1)
	(x & ~(x & y)) -> ((x & ~y))
	(x | ~(x | y)) -> ((x | ~y))

	* gcc.dg/20150120-1.c: New test.
	* gcc.dg/20150120-2.c: New test.
	* gcc.dg/20150120-3.c: New test.

From-SVN: r222697
2015-05-01 12:25:12 -06:00
David Edelsohn
5524eb7ecc * gcc.dg/debug/pr65771.c: Add "dg-add-options tls".
From-SVN: r222696
2015-05-01 14:23:30 -04:00
Jonathan Wakely
d6e023f3a0 fs_dir.h: Fix use of non-reserved names.
* include/experimental/fs_dir.h: Fix use of non-reserved names.
	* include/experimental/fs_ops.h: Likewise.
	* include/experimental/fs_path.h: Likewise.
	* testsuite/lib/libstdc++.exp (check_v3_target_filesystem_ts): Use
	C++11 when checking for support.

From-SVN: r222695
2015-05-01 18:55:33 +01:00
Jonathan Wakely
e9cd006414 locale_classes.h (locale::facet): Delete copy operations in C++11 mode.
* include/bits/locale_classes.h (locale::facet): Delete copy
	operations in C++11 mode.

From-SVN: r222694
2015-05-01 17:50:31 +01:00
Joseph Myers
04df569c86 * sv.po: Update.
From-SVN: r222692
2015-05-01 17:23:49 +01:00
Joseph Myers
99374690ee * de.po: Update.
From-SVN: r222690
2015-05-01 17:19:00 +01:00
Kyrylo Tkachov
15ab4e1e79 [doc] Update definition location of attribute_spec in documentation
* target.def (attribute_table): Mention that struct attribute_spec
	is defined in tree-core.h rather than tree.h
	* doc/tm.texi: Regenerate.

From-SVN: r222688
2015-05-01 15:35:15 +00:00
Renlin Li
f40694b312 [PATCH] add sync_int_long target selector to gcc.dg/pr65345-2.c
gcc/testsuite/

2015-05-01  Renlin Li  <renlin.li@arm.com>

	* gcc.dg/pr65345-2.c: Add sync_int_long target selector.

From-SVN: r222687
2015-05-01 15:28:22 +00:00
Jonathan Wakely
ff0164b48b * include/bits/alloc_traits.h (__alloc_rebind): Change parameter name.
From-SVN: r222686
2015-05-01 16:22:49 +01:00
Jonathan Wakely
ce1b114a9c acinclude.m4 (GLIBCXX_ENABLE_FILESYSTEM_TS): Disable for solaris.
* acinclude.m4 (GLIBCXX_ENABLE_FILESYSTEM_TS): Disable for solaris.
	* configure: Regenerate.

From-SVN: r222685
2015-05-01 16:11:05 +01:00
Edward Smith-Rowland
ea365e01ef Inline one-line erasure dispatch functions.
2015-05-01  Edward Smith-Rowland  <3dw4rd@verizon.net>

	Inline one-line erasure dispatch functions.
	* include/experimental/forward_list (erase_if(), erase()): Inline.
	* include/experimental/list (erase_if(), erase()): Inline.
	* include/experimental/map (erase_if(*)): Inline.
	* include/experimental/set (erase_if(*)): Inline.
	* include/experimental/string (erase_if(), erase()): Inline.
	* include/experimental/unordered_map (erase_if(*)): Inline.
	* include/experimental/unordered_set (erase_if(*)): Inline.

From-SVN: r222684
2015-05-01 15:00:46 +00:00
Richard Sandiford
fdae509271 genrecog.c (test): Rename to rtx_test.
gcc/
	* genrecog.c (test): Rename to rtx_test.  Update rest of file
	accordingly.

From-SVN: r222683
2015-05-01 14:26:55 +00:00
Andreas Schwab
ab528787ff Summary: Mark help string in DEFPARAM as no-c-format
PR translation/65959
* params.h (DEFPARAM): Rename msgid to nocmsgid.

From-SVN: r222682
2015-05-01 14:07:51 +00:00
Mikael Morin
11642de8a8 Allow bound simplification of array subreferences.
gcc/fortran/
	* simplify.c (simplify_bound_dim): Tighten the check for array fullness
	by also checking for absence of subreference.
	(simplify_bound): Don't skip simplification if the array
	has subreferences.
	(simplify_cobound): Same.
gcc/testsuite/
	* gfortran.dg/bound_simplification_4.f90: New.

From-SVN: r222681
2015-05-01 13:32:42 +00:00
Wilco Dijkstra
50093a330f [AArch64] Make aarch64_min_divisions_for_recip_mul configurable
On behalf of Wilco Dijkstra

2015-05-01  Wilco Dijkstra  <wdijkstr@arm.com>

	* gcc/config/aarch64/aarch64-protos.h (tune_params):
	Add min_div_recip_mul_sf and min_div_recip_mul_df fields.
	* gcc/config/aarch64/aarch64.c (aarch64_min_divisions_for_recip_mul):
	Return value depending on target.
	(generic_tunings): Initialize new target settings.
	(cortexa53_tunings): Likewise.
	(cortexa57_tunings): Likewise.
	(thunderx_tunings): Likewise.
	(xgene1_tunings): Likewise.

From-SVN: r222679
2015-05-01 13:19:34 +00:00
Wilco Dijkstra
e8b9138291 [AArch64] Fix Cortex-A53 shift costs
On behalf of Wilco Dijkstra

2015-05-01  Wilco Dijkstra  <wdijkstr@arm.com>

	* gcc/config/arm/aarch-cost-tables.h (cortexa53_extra_costs):
	Make Cortex-A53 shift costs more accurate.

From-SVN: r222678
2015-05-01 13:09:25 +00:00
Kyrylo Tkachov
5e2a765bee [AArch64] Handle FLOAT and UNSIGNED_FLOAT in rtx costs
* config/aarch64/aarch64.c (aarch64_rtx_costs): Handle FLOAT and
	UNSIGNED_FLOAT.

From-SVN: r222677
2015-05-01 12:54:22 +00:00
Wilco Dijkstra
23cb661888 [AArch64] Fix aarch64_rtx_costs of PLUS/MINUS
On behalf of Wilco Dijkstra

2015-05-01  Wilco Dijkstra  <wdijkstr@arm.com>

	* gcc/config/aarch64/aarch64.c (aarch64_rtx_costs):
	Calculate cost of op0 and op1 in PLUS and MINUS cases.

From-SVN: r222676
2015-05-01 12:52:34 +00:00
Jonathan Wakely
1d15ed75ab intro.xml: Link to new status_cxx2017.xml file.
* doc/xml/manual/intro.xml: Link to new status_cxx2017.xml file.
	* doc/xml/manual/status_cxx2011.xml: Update status tables.
	* doc/xml/manual/status_cxx2014.xml: Likewise.
	* doc/xml/manual/status_cxx2017.xml: New.
	* doc/xml/manual/using.xml: Fix typo.
	* doc/html/*: Regenerate.

From-SVN: r222675
2015-05-01 12:02:24 +01:00
Jonathan Wakely
6fc456c36b memory (pointer_safety, [...]): Define.
* include/std/memory (pointer_safety, declare_reachable,
	undeclare_reachable, declare_no_pointers, undeclare_no_pointers,
	get_pointer_safety): Define.
	* testsuite/20_util/pointer_safety/1.cc: New.

From-SVN: r222674
2015-05-01 12:02:18 +01:00
Kyrylo Tkachov
ad88bedb89 [AArch64] Remember to cost operand 0 in FP compare-with-0.0 case
* config/aarch64/aarch64.c (aarch64_rtx_costs, COMPARE case):
	Add cost of op0 in the compare-with-fpzero case.

From-SVN: r222673
2015-05-01 08:58:34 +00:00
GCC Administrator
6358f1b436 Daily bump.
From-SVN: r222669
2015-05-01 00:16:15 +00:00
Bill Schmidt
edc8824fe3 crypto-builtin-2.c: Replace powerpc_vsx_ok with powerpc_p8vector_ok.
2015-04-30  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

	* gcc.target/powerpc/crypto-builtin-2.c: Replace powerpc_vsx_ok
	with powerpc_p8vector_ok.

From-SVN: r222664
2015-04-30 23:59:16 +00:00
Thomas Koenig
0ba691a097 re PR fortran/37131 (inline matmul for small matrix sizes)
2015-04-30  Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR fortran/37131
	* simplify.c (simplify_bound): Get constant lower bounds of one
	from array spec for assumed and explicit shape shape arrays if
	the lower bounds are indeed one.

2015-04-30  Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR fortran/37131
	* gfortran.dg/coarray_lib_this_image_2.f90:  Adjust
	scan pattern.
	* gfortran.dg/bound_9.f90:  New test case.

From-SVN: r222661
2015-04-30 22:12:31 +00:00
David Malcolm
6f3d1a5e66 Fix spurious semicolons
gcc/ChangeLog:
	* builtins.c (fold_builtin_1): Remove spurious second
	semicolon.
	* cgraph.h (symtab_node::get_availability): Likewise.
	* opts.c (common_handle_option): Remove spurious second semicolon.
	* tree-ssa-loop-ivopts.c (extract_cond_operands): Likewise.
	* tree-ssa-loop-niter.c (derive_constant_upper_bound_ops): Likewise.

gcc/cp/ChangeLog:
	* cp-tree.h (ARGUMENT_PACK_SELECT_ARG): Remove spurious
	trailing semicolon.

gcc/fortran/ChangeLog:
	* options.c (gfc_init_options): Remove spurious second
	semicolon.
	* trans-stmt.c (gfc_trans_allocate): Likewise.

From-SVN: r222658
2015-04-30 21:07:45 +00:00
Chris Manghane
4f576c83fb compiler: Use backend interface for stack allocation.
Stack allocation was being done by making a temporary variable and
taking its address.  This does not work when allocating in a loop
because every allocated variable will refer to the same address.
The backend now provides a way to safely allocate in a loop.

	* go-gcc.cc (Gcc_backend::stack_allocation_expression): New
	method.

From-SVN: r222657
2015-04-30 20:44:03 +00:00
Uros Bizjak
6d158d9a6b devirt-28a.C: Require LTO effective target.
* g++.dg/ipa/devirt-28a.C: Require LTO effective target.
	* g++.dg/ext/sync-4.C (dg-additional-options): Use -march=pentium
	for 32bit x86 targets.
	* gcc.dg/pr36504.c (dg-additional-options): Use -march=i686 -msse
	for 32bit x86 targets.
	* gcc.dg/pr39455.c (dg-additional-options): Ditto.
	* gcc.dg/pr45352-1.c (dg-additional-options): Ditto.
	* gcc.dg/pr63914.c (dg-additional-options): Use -msse
	for 32bit x86 targets.

From-SVN: r222656
2015-04-30 22:22:51 +02:00
Caroline Tice
81ccb75226 tm.texi: Regenerate.
* doc/tm.texi: Regenerate.

From-SVN: r222655
2015-04-30 21:35:34 +02:00
Jonathan Wakely
0ca7ba9aa6 Implement N4100 File System TS
* acinclude.m4 (GLIBCXX_ENABLE_FILESYSTEM_TS): Define.
	(GLIBCXX_CHECK_FILESYSTEM_DEPS): Define.
	* config.h.in: Regenerate.
	* configure: Regenerate.
	* configure.ac: Enable filesystem TS and check its dependencies.
	* include/Makefile.am: Add new headers.
	* include/Makefile.in: Regenerate.
	* include/bits/locale_conv.h (__do_str_code_cvt, __str_codecvt_in,
	__str_codecvt_out): Move code conversion logic from wstring_convert
	into new global functions.
	(wstring_convert::to_bytes, wstring_convert::from_bytes): Use new
	functions.
	(wstring_convert::_M_conv): Remove.
	* include/bits/quoted_string.h (_Quoted_string): Split out of iomanip.
	* include/experimental/filesystem: New.
	* include/experimental/fs_dir.h: New.
	* include/experimental/fs_fwd.h: New.
	* include/experimental/fs_ops.h: New.
	* include/experimental/fs_path.h: New.
	* include/std/iomanip (_Quoted_string): Move to bits/quoted_string.h.
	* python/libstdcxx/v6/printers.py (StdExpPathPrinter): Add.
	* src/Makefile.am (SUBDIRS): Add filesystem.
	* src/Makefile.in: Regenerate.
	* src/filesystem/Makefile.am: New.
	* src/filesystem/Makefile.in: New.
	* src/filesystem/dir.cc: New.
	* src/filesystem/ops.cc: New.
	* src/filesystem/path.cc: New.
	* testsuite/experimental/filesystem/operations/absolute.cc: New.
	* testsuite/experimental/filesystem/operations/copy.cc: New.
	* testsuite/experimental/filesystem/operations/current_path.cc: New.
	* testsuite/experimental/filesystem/path/append/path.cc: New.
	* testsuite/experimental/filesystem/path/assign/assign.cc: New.
	* testsuite/experimental/filesystem/path/assign/copy.cc: New.
	* testsuite/experimental/filesystem/path/compare/compare.cc: New.
	* testsuite/experimental/filesystem/path/compare/path.cc: New.
	* testsuite/experimental/filesystem/path/compare/strings.cc: New.
	* testsuite/experimental/filesystem/path/concat/path.cc: New.
	* testsuite/experimental/filesystem/path/concat/strings.cc: New.
	* testsuite/experimental/filesystem/path/construct/copy.cc: New.
	* testsuite/experimental/filesystem/path/construct/default.cc: New.
	* testsuite/experimental/filesystem/path/construct/locale.cc: New.
	* testsuite/experimental/filesystem/path/construct/range.cc: New.
	* testsuite/experimental/filesystem/path/decompose/extension.cc: New.
	* testsuite/experimental/filesystem/path/decompose/filename.cc: New.
	* testsuite/experimental/filesystem/path/decompose/parent_path.cc:
	New.
	* testsuite/experimental/filesystem/path/decompose/relative_path.cc:
	New.
	* testsuite/experimental/filesystem/path/decompose/root_directory.cc:
	New.
	* testsuite/experimental/filesystem/path/decompose/root_name.cc:
	New.
	* testsuite/experimental/filesystem/path/decompose/root_path.cc:
	New.
	* testsuite/experimental/filesystem/path/decompose/stem.cc: New.
	* testsuite/experimental/filesystem/path/generic/generic_string.cc:
	New.
	* testsuite/experimental/filesystem/path/itr/traversal.cc: New.
	* testsuite/experimental/filesystem/path/modifiers/clear.cc: New.
	* testsuite/experimental/filesystem/path/modifiers/make_preferred.cc:
	New.
	* testsuite/experimental/filesystem/path/modifiers/remove_filename.cc:
	New.
	* testsuite/experimental/filesystem/path/modifiers/replace_extension.cc:
	New.
	* testsuite/experimental/filesystem/path/modifiers/replace_filename.cc:
	New.
	* testsuite/experimental/filesystem/path/modifiers/swap.cc: New.
	* testsuite/experimental/filesystem/path/nonmember/hash_value.cc: New.
	* testsuite/experimental/filesystem/path/query/empty.cc: New.
	* testsuite/experimental/filesystem/path/query/has_extension.cc: New.
	* testsuite/experimental/filesystem/path/query/has_filename.cc: New.
	* testsuite/experimental/filesystem/path/query/has_parent_path.cc:
	New.
	* testsuite/experimental/filesystem/path/query/has_relative_path.cc:
	New.
	* testsuite/experimental/filesystem/path/query/has_root_directory.cc:
	New.
	* testsuite/experimental/filesystem/path/query/has_root_name.cc:
	New.
	* testsuite/experimental/filesystem/path/query/has_root_path.cc:
	New.
	* testsuite/experimental/filesystem/path/query/has_stem.cc: New.
	* testsuite/experimental/filesystem/path/query/is_relative.cc: New.
	* testsuite/util/testsuite_fs.h: New.

From-SVN: r222654
2015-04-30 20:11:52 +01:00
Marek Polacek
59c1f38402 re PR tree-optimization/63551 (wrong code (segfaults) at -Os on x86_64-linux-gnu)
PR tree-optimization/63551
    	* g++.dg/ipa/pr63551.C: New test.

From-SVN: r222650
2015-04-30 18:01:07 +00:00
Joseph Myers
be4e69a962 Correct ChangeLog entry date.
From-SVN: r222648
2015-04-30 18:55:31 +01:00
Joseph Myers
21a331b334 be.po, [...]: Update.
* be.po, ca.po, da.po, de.po, el.po, eo.po, es.po, fi.po, fr.po,
	id.po, ja.po, nl.po, pr_BR.po, ru.po, sr.po, sv.po, tr.po, uk.po,
	vi.po, zh_CN.po, zh_TW.po: Update.

From-SVN: r222646
2015-04-30 18:54:41 +01:00
Joseph Myers
d576fd3168 be.po, [...]: Update.
* be.po, da.po, de.po, el.po, es.po, fi.po, fr.po, hr.po, id.po,
	ja.po, nl.po, ru.po, sr.po, sv.po, tr.po, vi.po, zh_CN.po,
	zh_TW.po: Update.

From-SVN: r222644
2015-04-30 18:52:24 +01:00
Caroline Tice
11c3d0711a Define & use special macros to record the name & size of cold partitions.
Define & use special macros to record the name & size of cold
partitions.  (Fix PR 65929).

gcc/ChangeLog

PR 65929
* config/elfos.h (ASM_DECLARE_COLD_FUNCTION_NAME): New macro definition.
(ASM_DECLARE_COLD_FUNCTION_SIZE): New macro definition.
* doc/tm.texi.in (ASM_DECLARE_COLD_FUNCTION_NAME): Document new macro.
(ASM_DECLARE_COLD_FUNCTION_SIZE): Document new macro.
* final.c (final_scan_insn):  Use ASM_DECLARE_COLD_FUNCTION_NAME
instead of ASM_DECLARE_FUNCTION_NAME for cold partition name.
* varasm.c (assemble_end_function):  Use ASM_DECLARE_COLD_FUNCTION_SIZE
instead of ASM_DECLARE_FUNCTION_SIZE for cold partition size.

gcc/testsuite/ChangeLog:

PR  65929
* gcc.dg/tree-prof/cold_partition_label.c:  Only check for cold
partition size on certain targets.

From-SVN: r222643
2015-04-30 10:49:02 -07:00
Ian Lance Taylor
ae9af49bd4 escape: Analyze function values and conversions.
The analysis for variables defined as function literals did not
properly analyze the underlying function literal when it was converted
to a function type.  Also, when analyzing composite literals with
function literals as arguments, the connection between the composite
literal and the function literal was ignored.

From-SVN: r222642
2015-04-30 17:44:10 +00:00
Marek Polacek
1c3289cd61 * varasm.c (handle_cache_entry): Fix logic.
From-SVN: r222641
2015-04-30 17:25:55 +00:00
Ian Lance Taylor
66286a53d5 compiler: Mark non-escaping variables that aren't addressed.
When optimizing allocations, only variables that had their address
taken somewhere in the program were marked as non-escaping.
There are several cases where non-addressed variables might cause
extra allocations.

From-SVN: r222640
2015-04-30 17:21:29 +00:00
Kyrylo Tkachov
fb0cb7fa67 [AArch64] Add alternative 'extr' pattern, calculate rtx cost properly
* config/aarch64/aarch64.md (*extr<mode>5_insn_alt): New pattern.
	(*extrsi5_insn_uxtw_alt): Likewise.
	* config/aarch64/aarch64.c (aarch64_extr_rtx_p): New function.
	(aarch64_rtx_costs, IOR case): Use above to properly cost extr
	operations.

From-SVN: r222639
2015-04-30 17:03:26 +00:00
Kyrylo Tkachov
19261b995b [AArch64] Properly cost FABD pattern
* config/aarch64/aarch64.c (aarch64_rtx_costs): Handle pattern for
	fabd in ABS case.

From-SVN: r222638
2015-04-30 17:01:34 +00:00
Kyrylo Tkachov
6365da9ed0 [AArch64] Properly handle mvn-register and add EON+shift pattern and cost appropriately
* config/aarch64/aarch64.md
	(*eor_one_cmpl_<SHIFT:optab><mode>3_alt): New pattern.
	(*eor_one_cmpl_<SHIFT:optab>sidi3_alt_ze): Likewise.
	* config/aarch64/aarch64.c (aarch64_rtx_costs): Handle MVN-shift
	appropriately.  Handle alternative EON form.

From-SVN: r222637
2015-04-30 16:59:50 +00:00
Renlin Li
9c004c58b3 [PATCH][AARCH64]Define vec_shr as an unspec, use shl for big-endian.
gcc/

2015-04-30  Renlin Li  <renlin.li@arm.com>

	* config/aarch64/aarch64-simd.md (vec_shr): Defined as an unspec.
	* config/aarch64/iterators.md (unspec): Add UNSPEC_VEC_SHR.

gcc/testsuite/

2015-04-30  Renlin Li  <renlin.li@arm.com>
	    Alan Lawrence  <alan.lawrence@arm.com>

	* gcc.target/aarch64/vect-reduc-or_1.c: New.

From-SVN: r222635
2015-04-30 15:52:24 +00:00
Jan Hubicka
e2165bd7d5 re PR ipa/65873 (Failure to inline always_inline memcpy)
PR ipa/65873
	* ipa-inline.c (can_inline_edge_p): It is safe to inline across
	-fstrict-aliasing boundaries.

From-SVN: r222634
2015-04-30 15:09:19 +00:00
Rainer Orth
ccdbdfe43c Add missing PR middle-end/64729 reference.
From-SVN: r222631
2015-04-30 14:50:26 +00:00
Edward Smith-Rowland
c0b12dad93 Add fundamentals TR container erasure.
2015-04-30  Edward Smith-Rowland  <3dw4rd@verizon.net>

	Add fundamentals TR container erasure.
	* include/Makefile.am: Add new headers.
	* include/Makefile.in: Add new headers.
	* include/experimental/array: New.
	* include/experimental/deque: New.
	* include/experimental/erase_if.tcc: New.
	* include/experimental/forward_list: New.
	* include/experimental/list: New.
	* include/experimental/map: New.
	* include/experimental/set: New.
	* include/experimental/string: New.
	* include/experimental/unordered_map: New.
	* include/experimental/unordered_set: New.
	* include/experimental/vector: New.
	* testsuite/experimental/deque/erasure.cc: New.
	* testsuite/experimental/forward_list/erasure.cc: New.
	* testsuite/experimental/list/erasure.cc: New.
	* testsuite/experimental/map/erasure.cc: New.
	* testsuite/experimental/set/erasure.cc: New.
	* testsuite/experimental/string/erasure.cc: New.
	* testsuite/experimental/unordered_map/erasure.cc: New.
	* testsuite/experimental/unordered_set/erasure.cc: New.
	* testsuite/experimental/vector/erasure.cc: New.

From-SVN: r222630
2015-04-30 14:43:19 +00:00
Kyrylo Tkachov
d2ac256bc7 [AArch64] Properly cost MNEG/[SU]MNEGL patterns
* config/aarch64/aarch64.c (aarch64_rtx_mult_cost): Handle MNEG
	and [SU]MNEGL patterns.

From-SVN: r222627
2015-04-30 13:36:22 +00:00
Marek Polacek
ec3fba5172 c-typeck.c (c_build_va_arg): Clarify the error message.
* c-typeck.c (c_build_va_arg): Clarify the error message.

	* gcc.dg/pr65901.c (foo): Adjust dg-error.
	* gcc.c-torture/compile/pr48767.c (foo): Likewise.

From-SVN: r222626
2015-04-30 13:35:44 +00:00
Kyrylo Tkachov
4d1919ed6b Fix up new line in previous commit
From-SVN: r222625
2015-04-30 13:34:54 +00:00