- 02 May, 2015 15 commits
-
-
* include/experimental/any (any::_Storage): Fix alignment of buffer. (any::_Internal): Check alignment of type. * testsuite/experimental/any/cons/aligned.cc: New. * testsuite/experimental/any/misc/any_cast_neg.cc: Adjust dg-error. From-SVN: r222729
Jonathan Wakely committed -
* include/experimental/iterator (ostream_joiner): Simplify by using the injected-class-name and the ostream_type typedef. From-SVN: r222728
Jonathan Wakely committed -
* include/experimental/iterator: New. Define ostream_joiner. * include/Makefile.am: Add new header. * include/Makefile.in: Regenerate. * testsuite/experimental/iterator/make_ostream_joiner.cc: New. * testsuite/experimental/iterator/ostream_joiner.cc: New. * testsuite/experimental/iterator/requirements.cc: New. * doc/xml/manual/status_cxx2017.xml: Update status. * doc/html/manual/status.html: Regenerate. From-SVN: r222727
Jonathan Wakely committed -
re PR fortran/65976 (gfortran man-page lists the -fno-fixed-form flag but does not define it, and it doesn't work) 2015-05-02 Steven G. Kargl <kargl@gcc.gnu.org> PR fortran/65976 * invoke.texi: Remove 'no-' in '-fno-fixed-form' From-SVN: r222725
Steven G. Kargl committed -
* include/experimental/numeric: New. Define gcd and lcm. * include/Makefile.am: Add new header. * include/Makefile.in: Regenerate. * testsuite/experimental/numeric/gcd.cc: New. * testsuite/experimental/numeric/lcm.cc: New. * doc/xml/manual/status_cxx2017.xml: Update status. * doc/html/manual/status.html: Regenerate. From-SVN: r222724
Jonathan Wakely committed -
2015-05-02 Edward Smith-Rowland <3dw4rd@verizon.net> Revert addition of feature macros from other headers per latest SD-6. * include/experimental/deque: Remove feature-test macro. * include/experimental/forward_list: Ditto. * include/experimental/list: Ditto. * include/experimental/map: Ditto. * include/experimental/set: Ditto. * include/experimental/string: Ditto. * include/experimental/unordered_map: Ditto. * include/experimental/unordered_set: Ditto. From-SVN: r222722
Edward Smith-Rowland committed -
* include/experimental/any (any::_Storage): Make non-copyable. (any::any): Do not copy _Storage object. (any::operator=): Implement more efficiently than swapping. (any::swap): Use new _Op_xfer operation. (any::_Op::_Op_xfer): New enumerator. (_Manager_internal::_S_alloc): Remove unused function. (_Manager_internal::_S_create, _Manager_external::_S_create): Use out parameter instead of returning a _Storage object. (_Manager_internal::_S_manage, _Manager_external::_S_manage): Add _Op_xfer operation for moving and swapping. * testsuite/experimental/any/cons/nontrivial.cc: New. * testsuite/experimental/any/misc/any_cast_neg.cc: Adjust dg-error. From-SVN: r222721
Jonathan Wakely committed -
* include/experimental/fs_path.h (filesystem_error::~filesystem_error): Declare. * src/filesystem/path.cc (filesystem_error::~filesystem_error): Define. From-SVN: r222720
Jonathan Wakely committed -
re PR libstdc++/65978 (missing constexpr on std::forward_as_tuple and std::tie (LWG issues 2275 and 2301)) PR libstdc++/65978 * include/std/tuple (forward_as_tuple, tie): Add constexpr. * testsuite/20_util/tuple/creation_functions/constexpr.cc: Uncomment and fix tests for forward_as_tuple and tie. From-SVN: r222719
Jonathan Wakely committed -
* src/filesystem/ops.cc (last_write_time) [_GLIBCXX_USE_UTIMENSAT]: Set timespec members explicitly instead of with a braced-init-list. [_GLIBCXX_HAVE_UTIME_H]: Use lambda to handle st_atime being a macro. From-SVN: r222718
Jonathan Wakely committed -
From-SVN: r222716
Trevor Saunders committed -
libobjc/ChangeLog: 2015-05-01 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * acinclude.m4: Include bitfields.m4. * config.h.in: Regenerate. * configure: Likewise. * configure.ac: Invoke gt_BITFIELD_TYPE_MATTERS. * encoding.c: Check HAVE_BITFIELD_TYPE_MATTERS. config/ChangeLog: 2015-05-01 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * bitfields.m4: New file. From-SVN: r222715
Trevor Saunders committed -
2015-05-01 Sandra Loosemore <sandra@codesourcery.com> gcc/ * doc/extend.texi (Variable Attributes): Add menu and proper @nodes to subsections. Move Microsoft Windows attributes to their own subsection. (Type Attributes): Reorganize introduction to remove duplicate list of attributes. Add menu and proper @nodes to subsections. Alphabetize the main table of common attributes. From-SVN: r222714
Sandra Loosemore committed -
2015-05-02 Edward Smith-Rowland <3dw4rd@verizon.net> * include/experimental/deque: Add feature-test macro. * include/experimental/forward_list: Ditto. * include/experimental/list: Ditto. * include/experimental/map: Ditto. * include/experimental/set: Ditto. * include/experimental/string: Ditto. * include/experimental/unordered_map: Ditto. * include/experimental/unordered_set: Ditto. From-SVN: r222713
Edward Smith-Rowland committed -
From-SVN: r222712
GCC Administrator committed
-
- 01 May, 2015 25 commits
-
-
From-SVN: r222708
Jonathan Wakely committed -
* include/experimental/memory: Add feature-test macro. * include/experimental/vector: Likewise. * doc/xml/manual/status_cxx2017.xml: Update status. * doc/html/manual/status.html: Regenerate. From-SVN: r222707
Jonathan Wakely committed -
2015-05-01 Ville Voutilainen <ville.voutilainen@gmail.com> Implement observer_ptr. * include/Makefile.am: Add new header. * include/Makefile.in: Regenerate. * include/experimental/memory: New. * testsuite/experimental/memory/observer_ptr/assignment/assign.cc: New. * testsuite/experimental/memory/observer_ptr/cons/cons.cc: New. * testsuite/experimental/memory/observer_ptr/hash/hash.cc: New. * testsuite/experimental/memory/observer_ptr/make_observer.cc: New. * testsuite/experimental/memory/observer_ptr/relops/relops.cc: New. * testsuite/experimental/memory/observer_ptr/requirements.cc: New. * testsuite/experimental/memory/observer_ptr/swap/swap.cc: New. * testsuite/experimental/memory/observer_ptr/typedefs.cc: New. From-SVN: r222706
Ville Voutilainen committed -
From-SVN: r222704
Jonathan Wakely committed -
* acinclude.m4 (GLIBCXX_ENABLE_FILESYSTEM_TS): Disable when <dirent.h> is not available. (GLIBCXX_CHECK_FILESYSTEM_DEPS): Check for fchmodat. * configure: Regenerate. * config.h.in: Regenerate. * configure.ac: Check for utime.h * include/experimental/fs_path.h (path::string<>) [_GLIBCXX_FILESYSTEM_IS_WINDOWS]: Remove stray typename keyword. * src/filesystem/dir.cc [!_GLIBCXX_HAVE_DIRENT_H] (DIR, opendir, closedir, dirent, readdir_r): Replace dummy functions with #error. (native_readdir, _Dir::advance): Use readdir when readdir_r is missing. * src/filesystem/ops.cc (do_stat, is_set): Make inline. (last_write_time) [!_GLIBCXX_USE_UTIMENSAT]: Use utime. (permissions) [!_GLIBCXX_USE_FCHMODAT]: Use chmod. (space, temp_directory_path) [_GLIBCXX_FILESYSTEM_IS_WINDOWS]: Set error_code. From-SVN: r222703
Jonathan Wakely committed -
* 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
Jonathan Wakely committed -
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
Paolo Carlini committed -
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
Paolo Carlini committed -
* 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
Rasmus Villemoes committed -
From-SVN: r222696
David Edelsohn committed -
* 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
Jonathan Wakely committed -
* include/bits/locale_classes.h (locale::facet): Delete copy operations in C++11 mode. From-SVN: r222694
Jonathan Wakely committed -
From-SVN: r222692
Joseph Myers committed -
From-SVN: r222690
Joseph Myers committed -
* 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
Kyrylo Tkachov committed -
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
Renlin Li committed -
From-SVN: r222686
Jonathan Wakely committed -
* acinclude.m4 (GLIBCXX_ENABLE_FILESYSTEM_TS): Disable for solaris. * configure: Regenerate. From-SVN: r222685
Jonathan Wakely committed -
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
Edward Smith-Rowland committed -
gcc/ * genrecog.c (test): Rename to rtx_test. Update rest of file accordingly. From-SVN: r222683
Richard Sandiford committed -
PR translation/65959 * params.h (DEFPARAM): Rename msgid to nocmsgid. From-SVN: r222682
Andreas Schwab committed -
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
Mikael Morin committed -
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
Wilco Dijkstra committed -
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
Wilco Dijkstra committed -
* config/aarch64/aarch64.c (aarch64_rtx_costs): Handle FLOAT and UNSIGNED_FLOAT. From-SVN: r222677
Kyrylo Tkachov committed
-