This project is mirrored from git://gcc.gnu.org/git/gcc.git.
Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
Last successful update .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
Last successful update .
- 21 Dec, 2016 2 commits
-
-
GCC Administrator authored
From-SVN: r243836
-
GCC Administrator authored
From-SVN: r243834
-
- 20 Dec, 2016 1 commit
-
-
GCC Administrator authored
From-SVN: r243816
-
- 19 Dec, 2016 1 commit
-
-
GCC Administrator authored
From-SVN: r243787
-
- 18 Dec, 2016 1 commit
-
-
GCC Administrator authored
From-SVN: r243780
-
- 17 Dec, 2016 1 commit
-
-
GCC Administrator authored
From-SVN: r243768
-
- 16 Dec, 2016 2 commits
-
-
Joseph Myers authored
From-SVN: r243760
-
GCC Administrator authored
From-SVN: r243733
-
- 15 Dec, 2016 3 commits
-
-
Jakub Jelinek authored
PR middle-end/78540 * gcc.dg/pr78540.c: Add -w to dg-options. PR target/77834 * gcc.dg/pr77834.c: Add -w to dg-options. From-SVN: r243693
-
Joseph Myers authored
From-SVN: r243680
-
GCC Administrator authored
From-SVN: r243677
-
- 14 Dec, 2016 7 commits
-
-
Nathan Sidwell authored
PR c++/78701 * pt.c (type_unification_real): Check tsubst arg doesn't have remaining template parms before converting it. PR c++/78701 * g++.dg/cpp0x/pr78701.C: New. From-SVN: r243660
-
Uros Bizjak authored
PR target/59874 * config/i386/i386.c (enum ix86_builtins): Add IX86_BUILTIN_CLZS and IX86_BUILTIN_CTZS. (bdesc_args): Add __builtin_clzs and __builtin_ctzs. (ix86_fold_builtin): Handle IX86_BUILTIN_CTZS and IX86_BUILTIN_CLZS. From-SVN: r243651
-
Jakub Jelinek authored
PR target/78796 * config/aarch64/aarch64.c (aarch64_classify_symbol): Merge large model checks into switch. * gcc.dg/tls/pr78796.c: New test. From-SVN: r243646
-
Richard Biener authored
2016-12-14 Richard Biener <rguenther@suse.de> PR tree-optimization/78731 * gcc.dg/torture/pr78731.c: New testcase. From-SVN: r243642
-
Thomas Preud'homme authored
2016-12-14 Thomas Preud'homme <thomas.preudhomme@arm.com> Backport from mainline 2016-11-25 Thomas Preud'homme <thomas.preudhomme@arm.com> gcc/ * tree-ssa-math-opts.c (struct symbolic_number): Improve comment. From-SVN: r243636 -
Thomas Preud'homme authored
2016-12-14 Thomas Preud'homme <thomas.preudhomme@arm.com> Backport from mainline 2016-11-25 Thomas Preud'homme <thomas.preudhomme@arm.com> gcc/ PR tree-optimization/77673 * tree-ssa-math-opts.c (struct symbolic_number): Add new src field. (init_symbolic_number): Initialize src field from src parameter. (perform_symbolic_merge): Select most dominated statement as the source statement. Set src field of resulting n structure from the input src with the lowest address. (find_bswap_or_nop): Rename source_stmt into ins_stmt. (bswap_replace): Rename src_stmt into ins_stmt. Initially get source of load from src field rather than insertion statement. Cancel optimization if statement analyzed is not dominated by the insertion statement. (pass_optimize_bswap::execute): Rename src_stmt to ins_stmt. Compute dominance information. gcc/testsuite/ PR tree-optimization/77673 * gcc.dg/pr77673.c: New test. From-SVN: r243635 -
GCC Administrator authored
From-SVN: r243628
-
- 13 Dec, 2016 4 commits
-
-
Michael Meissner authored
backport: re PR target/72717 (ICE: in emit_move_insn, at expr.c:3693 with vector shift @ powerpc64le) [gcc] 2016-12-13 Michael Meissner <meissner@linux.vnet.ibm.com> Backport from mainline 2016-12-07 Michael Meissner <meissner@linux.vnet.ibm.com> PR target/72717 * config/rs6000/rs6000.c (rs6000_expand_vector_init): If the V2DImode elements are SUBREG's convert the result into DImode rather than failing in emit_move_insn. [gcc/testsuite] 2016-12-13 Michael Meissner <meissner@linux.vnet.ibm.com> Backport from mainline 2016-12-07 Michael Meissner <meissner@linux.vnet.ibm.com> PR target/72717 * gcc.target/powerpc/pr72717.c: New test. From-SVN: r243626
-
Jakub Jelinek authored
PR c++/78761 * cp-demangle.c (cplus_demangle_type): Demangle Dc as decltype(auto). * testsuite/demangle-expected: Add test for decltype(auto). From-SVN: r243594
-
Iain Sandoe authored
gcc/ 2016-12-13 Iain Sandoe <iain@codesourcery.com> Backport from mainline 2016-12-11 Iain Sandoe <iain@codesourcery.com> PR rtl-optimization/71496 * config/rs6000/darwin.md (load_macho_picbase_si): Mark as non- copyable. (load_macho_picbase_di, reload_macho_picbase_si, reload_macho_picbase_di): Likewise. From-SVN: r243590
-
GCC Administrator authored
From-SVN: r243587
-
- 12 Dec, 2016 17 commits
-
-
Jonathan Wakely authored
Backport from mainline 2016-10-26 Uros Bizjak <ubizjak@gmail.com> * acinclude.m4 (GLIBCXX_CHECK_FILESYSTEM_DEPS): Include <limits.h> for PATH_MAX in realpath test. * configure: Regenerate. From-SVN: r243577
-
Jonathan Wakely authored
For some reason git-svn created a number of duplicate ChangeLog entries and committed them. From-SVN: r243576
-
Jonathan Wakely authored
Backport from mainline 2016-05-25 Jonathan Wakely <jwakely@redhat.com> * acinclude.m4 (GLIBCXX_CHECK_FILESYSTEM_DEPS): Fix test for sendfile. * configure: Regenerate. * config.h.in: Regenerate. From-SVN: r243574
-
Jonathan Wakely authored
Backport from mainline 2016-12-07 Jonathan Wakely <jwakely@redhat.com> * testsuite/18_support/headers/new/synopsis.cc: Add C++14 declarations and use effective-target to do test for C++11 and later. * testsuite/18_support/headers/new/synopsis_cxx98.cc: New test. From-SVN: r243573
-
Jonathan Wakely authored
PR libstdc++/78465 * testsuite/29_atomics/headers/atomic/macros.cc: Replace runtime tests with preprocessor conditions. From-SVN: r243572
-
Jonathan Wakely authored
Backport from mainline 2016-10-19 Jonathan Wakely <jwakely@redhat.com> * include/experimental/bits/shared_ptr.h (experimental::shared_ptr): Change relevant constructors to call _M_enable_shared_from_this_with. (experimental::shared_ptr::__efst_base_t) (experimental::shared_ptr::__has_efst_base): Helpers to detect accessible and unambiguous enable_shared_from_this bases. (experimental::shared_ptr::_M_enable_shared_from_this_with): Define. (experimental::__enable_shared_from_this_helper): Remove overload for std::experimental::enable_shared_from_this. (experimental::__expt_enable_shared_from_this_base): Define friend function to select a std::experimental::enable_shared_from_this base. * testsuite/experimental/memory/shared_ptr/cons/ enable_shared_from_this.cc: New test. * testsuite/experimental/memory/shared_ptr/cons/unique_ptr_ctor.cc: Adjust expected behaviour for shared_ptr<A[]>. From-SVN: r243571
-
Jonathan Wakely authored
* testsuite/experimental/filesystem/operations/is_empty.cc: Remove stray character at end of dg-do directive. From-SVN: r243570
-
Jonathan Wakely authored
Backport from mainline 2016-05-25 Jonathan Wakely <jwakely@redhat.com> * acinclude.m4 (GLIBCXX_CHECK_FILESYSTEM_DEPS): Fix test for sendfile. * configure: Regenerate. * config.h.in: Regenerate. From-SVN: r243569
-
Nathan Sidwell authored
PR c++/78252 * cp-demangle.c (struct d_print_info): Add is_lambda_arg field. (d_print_init): Initialize it. (d_print_comp_inner) <DEMANGLE_COMPONENT_TEMPLATE_PARAM>: Check is_lambda_arg for auto. <DEMANGLE_COMPONENT_REFERENCE, DEMANGLE_COMPONENT_RVALUE_REFERENCE>: Skip smashing check when is_lambda_arg. <DEMANGLE_COMPONENT_LAMBDA>: Increment is_lambda_arg around arg printing. * testsuite/demangle-expected: Add lambda auto mangling cases. From-SVN: r243568
-
Jonathan Wakely authored
Backport from mainline 2016-12-07 Jonathan Wakely <jwakely@redhat.com> * testsuite/18_support/headers/new/synopsis.cc: Add C++14 declarations and use effective-target to do test for C++11 and later. * testsuite/18_support/headers/new/synopsis_cxx98.cc: New test. From-SVN: r243563
-
Jonathan Wakely authored
PR libstdc++/78465 * testsuite/29_atomics/headers/atomic/macros.cc: Replace runtime tests with preprocessor conditions. From-SVN: r243561
-
Jonathan Wakely authored
Backport from mainline 2016-10-19 Jonathan Wakely <jwakely@redhat.com> * include/experimental/bits/shared_ptr.h (experimental::shared_ptr): Change relevant constructors to call _M_enable_shared_from_this_with. (experimental::shared_ptr::__efst_base_t) (experimental::shared_ptr::__has_efst_base): Helpers to detect accessible and unambiguous enable_shared_from_this bases. (experimental::shared_ptr::_M_enable_shared_from_this_with): Define. (experimental::__enable_shared_from_this_helper): Remove overload for std::experimental::enable_shared_from_this. (experimental::__expt_enable_shared_from_this_base): Define friend function to select a std::experimental::enable_shared_from_this base. * testsuite/experimental/memory/shared_ptr/cons/ enable_shared_from_this.cc: New test. * testsuite/experimental/memory/shared_ptr/cons/unique_ptr_ctor.cc: Adjust expected behaviour for shared_ptr<A[]>. From-SVN: r243560
-
Jonathan Wakely authored
* testsuite/experimental/filesystem/operations/is_empty.cc: Remove stray character at end of dg-do directive. From-SVN: r243556
-
Jonathan Wakely authored
This implements the following LWG DRs: 2681 2682 2683 2706 2707 2712 2720 2723 Backport from mainline PR libstdc++/70975 PR libstdc++/71337 PR libstdc++/78111 * include/experimental/bits/fs_dir.h (recursive_directory_iterator): Overload pop (LWG 2706). * include/experimental/bits/fs_fwd.h (perms::resolve_symlinks): Replace with symlink_nofollow (LWG 2720). * include/experimental/bits/fs_ops.h (exists(const path&, error_code&)): Clear error if status is known (LWG 2725). * include/experimental/bits/fs_path.h (__is_path_src) (_S_range_begin, _S_range_end): Overload to treat string_view as a Source object. (path::operator+=, path::compare): Overload for basic_string_view. (path::path(string_type&&)) (path::operator=(string&&), path::assign(string_type&&)): Define construction and assignment from string_type rvalues (LWG 2707). (path::_S_convert<_Iter>(_Iter, _Iter)): Remove cv-qualifiers from iterator's value_type. (path::_S_convert<_Iter>(_Iter __first, __null_terminated)): Likewise. Do not use operation not supported by input iterators. (path::__is_path_iter_src): Add partial specialization for const encoded character types. * src/filesystem/dir.cc (open_dir): Return same value for errors whether ignored or not. (_Dir::advance(error_code*, directory_options)): Return false on error. (directory_iterator(const path&, directory_options, error_code*)): Create end iterator on error (LWG 2723). (recursive_directory_iterator(const path&, directory_options, error_code*)): Likewise. (recursive_directory_iterator::increment): Reset state on error. (recursive_directory_iterator::pop): Define new overload. * src/filesystem/ops.cc (canonical): Set error for non-existent path. (file_time): Take error_code parameter and check for overflow. (close_fd): Remove. (do_copy_file): Report an error if source or destination is not a regular file (LWG 2712). Pass error_code in file_time calls. Just use close(3) instead of close_fd, to prevent retrying on error. Check if _GLIBCXX_USE_FCHMODAT is defined. [_GLIBCXX_USE_SENDFILE]: Fallback to read/write operations in case sendfile fails with ENOSYS or EINVAL. Pass non-null pointer to sendfile for offset argument. (copy): Update comment to refer to LWG 2681. Implement 2682 and 2683 resolutions. (equivalent): Fix error handling and result when only one file exists. (is_empty): Fix error handling. (last_write_time(const path&, error_code&)): Pass error_code in file_time calls. (last_write_time(const path&, file_time_type, error_code&)): Handle negative times correctly. (permissions(const path&, perms, error_code&)): Handle symlink_nofollow. (read_symlink): Add missing ec.clear(). (status(const path&, error_code&)): Handle EOVERFLOW. (temp_directory_path): Pass error_code argument to other filesystem operations. * testsuite/experimental/filesystem/iterators/directory_iterator.cc: Update expected behaviour on error. * testsuite/experimental/filesystem/iterators/pop.cc: New. * testsuite/experimental/filesystem/iterators/ recursive_directory_iterator.cc: Update expected behaviour on error. * testsuite/experimental/filesystem/operations/copy.cc: Update expected behaviour for copying directories with create_symlinks. Verify that error_code arguments are cleared if there's no error. Remove files created by tests. Test copying directories. * testsuite/experimental/filesystem/operations/copy_file.cc: Remove files created by tests. * testsuite/experimental/filesystem/operations/create_symlink.cc: New. * testsuite/experimental/filesystem/operations/equivalent.cc: New. * testsuite/experimental/filesystem/operations/exists.cc: Test overload taking an error_code. * testsuite/experimental/filesystem/operations/is_empty.cc: New. * testsuite/experimental/filesystem/operations/last_write_time.cc: New. * testsuite/experimental/filesystem/operations/permissions.cc: Test overload taking error_code. Test symlink_nofollow on non-symlinks. * testsuite/experimental/filesystem/operations/read_symlink.cc: New. * testsuite/experimental/filesystem/operations/remove_all.cc: New. * testsuite/experimental/filesystem/operations/temp_directory_path.cc: Add testcase for inaccessible directory. * testsuite/experimental/filesystem/path/construct/range.cc: Test construction from input iterators with const value types. * testsuite/experimental/filesystem/path/construct/string_view.cc: New. * testsuite/util/testsuite_fs.h (scoped_file): Define RAII helper. From-SVN: r243554
-
Bernd Schmidt authored
backport: re PR tree-optimization/77309 (wrong code at -Os and above on x86_64-linux-gnu (in the 64-bit mode)) Backport from mainline 2016-11-07 Bernd Schmidt <bschmidt@redhat.com> PR rtl-optimization/77309 * combine.c (make_compound_operation): Allow EQ for IN_CODE, and don't assume an equality comparison for plain COMPARE. (simplify_comparison): Pass a more accurate code to make_compound_operation. PR rtl-optimization/77309 * gcc.dg/torture/pr77309.c: New test. From-SVN: r243549 -
Thomas Preud'homme authored
2016-12-12 Thomas Preud'homme <thomas.preudhomme@arm.com> Backport from mainline 2016-11-22 Thomas Preud'homme <thomas.preudhomme@arm.com> gcc/ PR target/77904 * config/arm/arm.c (thumb1_compute_save_reg_mask): Mark frame pointer in save register mask if it is needed. gcc/testsuite/ PR target/77904 * gcc.target/arm/pr77904.c: New test. From-SVN: r243543 -
GCC Administrator authored
From-SVN: r243536
-
- 11 Dec, 2016 1 commit
-
-
Iain Sandoe authored
gcc/ 2016-12-11 Iain Sandoe <iain@codesourcery.com> Backport from mainline 2016-11-27 Iain Sandoe <iain@codesourcery.com> Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> PR target/67710 * config.in: Regenerate * config/darwin-driver.c (darwin_driver_init): Emit a version string for the assembler. * config/darwin.h(ASM_MMACOSX_VERSION_MIN_SPEC): New, new tests. * config/darwin.opt(asm_macosx_version_min): New. * config/i386/darwin.h: Handle ASM_MMACOSX_VERSION_MIN_SPEC. * configure: Regenerate * configure.ac: Check for mmacosx-version-min handling. gcc/testsuite/ 2016-12-11 Iain Sandoe <iain@codesourcery.com> Backport from mainline 2016-11-27 Iain Sandoe <iain@codesourcery.com> Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> Dominique d'Humieres <dominiq@lps.ens.fr> PR target/67710 * gcc.dg/darwin-minversion-1.c: Update min version check. * gcc.dg/darwin-minversion-2.c: Likewise. * gcc.dg/darwin-minversion-3.c: Likewise. libgcc/ 2016-12-11 Iain Sandoe <iain@codesourcery.com> Backport from mainline 2016-11-27 Iain Sandoe <iain@codesourcery.com> Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> PR target/67710 * config/t-darwin: Default builds to 10.5 codegen. From-SVN: r243526
-