]> git.ipfire.org Git - thirdparty/gcc.git/log
thirdparty/gcc.git
8 years agoDaily bump.
GCC Administrator [Sun, 28 May 2017 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r248541

8 years agoDaily bump.
GCC Administrator [Sat, 27 May 2017 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r248529

8 years agoFix a SPARC -mcbcond compare-and-branch out of range failure.
Sheldon Lobo [Fri, 26 May 2017 20:00:58 +0000 (20:00 +0000)] 
Fix a SPARC -mcbcond compare-and-branch out of range failure.

Backported from mainline
2017-05-24  Sheldon Lobo  <smlobo@sheldon.us.oracle.com>

* config/sparc/sparc.md (length): Return the correct value for -mflat
sibcalls to match output_sibcall.

From-SVN: r248527

8 years agoDaily bump.
GCC Administrator [Fri, 26 May 2017 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r248476

8 years agoDaily bump.
GCC Administrator [Thu, 25 May 2017 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r248438

8 years agoDaily bump.
GCC Administrator [Wed, 24 May 2017 00:16:08 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r248395

8 years agoDaily bump.
GCC Administrator [Tue, 23 May 2017 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r248353

8 years agoDaily bump.
GCC Administrator [Mon, 22 May 2017 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r248314

8 years agoDaily bump.
GCC Administrator [Sun, 21 May 2017 00:16:09 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r248309

8 years agoDaily bump.
GCC Administrator [Sat, 20 May 2017 00:16:08 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r248304

8 years agobackport: unwind-arm.h: Make _Unwind_GetIP...
Andreas Tobler [Fri, 19 May 2017 18:39:54 +0000 (20:39 +0200)] 
backport: unwind-arm.h: Make _Unwind_GetIP...

2017-05-19  Andreas Tobler  <andreast@gcc.gnu.org>

    Backport from mainline
    2017-05-17  Andreas Tobler  <andreast@gcc.gnu.org>

    * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
    _Unwind_SetIP available as functions for arm*-*-freebsd*.
    * config/arm/unwind-arm.c: Implement the above.

From-SVN: r248301

8 years agobackport: re PR target/80799 (x86-32 bits generates MMX without EMMS)
Uros Bizjak [Fri, 19 May 2017 18:08:19 +0000 (20:08 +0200)] 
backport: re PR target/80799 (x86-32 bits generates MMX without EMMS)

Backport from mainline
2017-05-18  Uros Bizjak  <ubizjak@gmail.com>

PR target/80799
* config/i386/mmx.md (*mov<mode>_internal): Enable
alternatives 11, 12, 13 and 14 also for 32bit targets.
Remove alternatives 15, 16, 17 and 18.
* config/i386/sse.md (vec_concatv2di): Change
alternative (!x, *y) to (x, ?!*Yn).

testsuite/ChangeLog:

Backport from mainline
2017-05-18  Uros Bizjak  <ubizjak@gmail.com>

PR target/80799
* g++.dg/other/i386-11.C: New test.

From-SVN: r248297

8 years agoDon't assume __secure_getenv is available
Janne Blomqvist [Fri, 19 May 2017 13:30:45 +0000 (16:30 +0300)] 
Don't assume __secure_getenv is available

Glibc 2.17 made __secure_getenv an officially supported function, and
renamed it secure_getenv. The libgfortran configure has checked for
both of these, per
https://sourceware.org/glibc/wiki/Tips_and_Tricks/secure_getenv.

Unfortunately, while the dynamical library (libc.so) retains the
__secure_getenv symbol for backwards compatibility, the static library
(libc.a) does not. This means that a libgfortran.a compiled against an
older glibc will not work if one tries to link against a newer
libc.a. This creates problems for providing gfortran binary
distributions that work on as many target systems as possible.

Thus, retain the support for __secure_getenv but call it only via a
weak reference.

Backported from trunk.

2017-05-19  Janne Blomqvist  <jb@gcc.gnu.org>

* libgfortran.h: HAVE_SECURE_GETENV: Don't check
HAVE___SECURE_GETENV.
* environ/runtime.c (secure_getenv): Use __secure_getenv via a
        weak reference.

From-SVN: r248275

8 years agoDaily bump.
GCC Administrator [Fri, 19 May 2017 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r248257

8 years agoReplace c++11 effective-target with dg-options directive
Jonathan Wakely [Thu, 18 May 2017 15:31:47 +0000 (16:31 +0100)] 
Replace c++11 effective-target with dg-options directive

* testsuite/22_locale/codecvt/codecvt_utf16/79980.cc: Replace
effective-target with dg-options directive.
* testsuite/22_locale/codecvt/codecvt_utf16/80041.cc: Likewise.
* testsuite/22_locale/codecvt/codecvt_utf16/members.cc: Likewise.
* testsuite/22_locale/codecvt/codecvt_utf16/misaligned.cc: Likewise.
* testsuite/22_locale/codecvt/codecvt_utf8/79980.cc: Likewise.
* testsuite/22_locale/codecvt/codecvt_utf8/members.cc: Likewise.
* testsuite/22_locale/codecvt/codecvt_utf8_utf16/79511.cc: Likewise.
* testsuite/22_locale/codecvt/codecvt_utf8_utf16/members.cc: Likewise.

From-SVN: r248239

8 years agoSkip C tests if test flags include C++ options
Jonathan Wakely [Thu, 18 May 2017 15:31:41 +0000 (16:31 +0100)] 
Skip C tests if test flags include C++ options

Backport from mainline
2016-08-02  Jonathan Wakely  <jwakely@redhat.com>

* testsuite/18_support/bad_exception/23591_thread-1.c: Skip test if
options are present that aren't valid for C.
* testsuite/abi/header_cxxabi.c: Likewise.

From-SVN: r248238

8 years agoPR libstdc++/80504 qualify calls to avoid ADL
Jonathan Wakely [Thu, 18 May 2017 15:31:36 +0000 (16:31 +0100)] 
PR libstdc++/80504 qualify calls to avoid ADL

Backport from mainline
2017-04-24  Jonathan Wakely  <jwakely@redhat.com>

PR libstdc++/80504
* include/std/functional (ref, cref): Qualify calls.
* testsuite/20_util/reference_wrapper/80504.cc: New test.

From-SVN: r248237

8 years agoPR libstdc++/80448 remove noexcept from defaulted functions
Jonathan Wakely [Thu, 18 May 2017 15:31:22 +0000 (16:31 +0100)] 
PR libstdc++/80448 remove noexcept from defaulted functions

Backport from mainline
2017-04-19  Jonathan Wakely  <jwakely@redhat.com>

PR libstdc++/80448
* include/experimental/bits/fs_dir.h (directory_iterator)
(recursive_directory_iterator): Remove noexcept from defaulted
constructors.

From-SVN: r248236

8 years agoUncomment std::reference_wrapper tests that no longer fail
Jonathan Wakely [Thu, 18 May 2017 15:31:17 +0000 (16:31 +0100)] 
Uncomment std::reference_wrapper tests that no longer fail

Backport from mainline
2017-04-03  Jonathan Wakely  <jwakely@redhat.com>

* testsuite/20_util/reference_wrapper/invoke.cc: Uncomment tests
that no longer fail.

From-SVN: r248235

8 years agoFix comments in libstdc++ header and test
Jonathan Wakely [Thu, 18 May 2017 15:31:13 +0000 (16:31 +0100)] 
Fix comments in libstdc++ header and test

Backport from mainline
2017-04-03  Jonathan Wakely  <jwakely@redhat.com>

* include/bits/ios_base.h: Correct comment.
* testsuite/util/testsuite_hooks.h: Likewise.

From-SVN: r248234

8 years agoPR libstdc++/67440 make pretty printers work with GDB 7.6 again
Jonathan Wakely [Thu, 18 May 2017 15:31:07 +0000 (16:31 +0100)] 
PR libstdc++/67440 make pretty printers work with GDB 7.6 again

Backport from mainline
2017-03-16  Jonathan Wakely  <jwakely@redhat.com>

PR libstdc++/67440
* python/libstdcxx/v6/printers.py (find_type): Avoid gdb.Type.name
for GDB 7.6 compatibility, use gdb.Type.unqualified instead.

From-SVN: r248233

8 years agoPR69699 document why __GLIBCXX__ macro is useless
Jonathan Wakely [Thu, 18 May 2017 15:31:02 +0000 (16:31 +0100)] 
PR69699 document why __GLIBCXX__ macro is useless

Backport from mainline
2017-01-17  Jonathan Wakely  <jwakely@redhat.com>

PR libstdc++/69699
* doc/xml/manual/abi.xml (abi.versioning.history): Explain why the
_GLIBCXX__ macro is not useful. Remove redundant date information
and link to the GCC release timeline.
(abi.versioning.active): Move partial sentence into the previous
paragraph.
* doc/html/*: Regenerate.

From-SVN: r248232

8 years agoPR 71444 define more error constants for mingw-w64
Jonathan Wakely [Thu, 18 May 2017 15:30:57 +0000 (16:30 +0100)] 
PR 71444 define more error constants for mingw-w64

Backport from mainline
2016-12-21  Jonathan Wakely  <jwakely@redhat.com>

PR libstdc++/71444
* config/os/mingw32-w64/error_constants.h
(address_family_not_supported, address_in_use, address_not_available)
(already_connected, connection_aborted, connection_already_in_progress)
connection_refused, connection_reset, cross_device_link)
(destination_address_required, host_unreachable, message_size)
(network_down, network_reset, network_unreachable, no_buffer_space)
(no_protocol_option, not_a_socket, not_connected, operation_canceled)
(operation_in_progress, operation_not_supported, protocol_error)
(protocol_not_supported, too_many_links, too_many_symbolic_link_levels)
(value_too_large, wrong_protocol_type): Define.
(bad_message, identifier_removed, no_link, no_message_available)
(no_message, no_stream_resources, not_a_stream, owner_dead)
(state_not_recoverable, stream_timeout, text_file_busy): Define
conditionally.
* testsuite/19_diagnostics/headers/system_error/errc_std_c++0x.cc:
Guard test for no_message with _GLIBCXX_HAVE_ENOMSG.

From-SVN: r248231

8 years agolibstdc++/78236 fix past-the-end std::regex_iterator
Jonathan Wakely [Thu, 18 May 2017 15:30:42 +0000 (16:30 +0100)] 
libstdc++/78236 fix past-the-end std::regex_iterator

Backport from mainline
2016-11-09  Tim Shen  <timshen@google.com>

PR libstdc++/78236
* libstdc++-v3/include/bits/regex.h (regex_iterator::regex_iterator()):
Define end() as _M_pregex == nullptr.
* libstdc++-v3/include/bits/regex.tcc (regex_iterator::operator==(),
regex_iterator::operator++()): Fix operator==() and operator++() to
look at null-ness of _M_pregex on both sides.
* testsuite/28_regex/regression.cc: New testcase.

From-SVN: r248230

8 years agoPR59170 make pretty printers check for singular iterators
Jonathan Wakely [Thu, 18 May 2017 09:23:43 +0000 (10:23 +0100)] 
PR59170 make pretty printers check for singular iterators

Backport from mainline
2016-12-15  Jonathan Wakely  <jwakely@redhat.com>

PR libstdc++/59170
* python/libstdcxx/v6/printers.py (StdListIteratorPrinter.to_string)
(StdSlistIteratorPrinter.to_string, StdVectorIteratorPrinter.to_string)
(StdRbtreeIteratorPrinter.to_string)
(StdDequeIteratorPrinter.to_string): Add check for value-initialized
iterators.
* testsuite/libstdc++-prettyprinters/simple.cc: Test them.
* testsuite/libstdc++-prettyprinters/simple11.cc: Likewise.

From-SVN: r248183

8 years agoPR59161 make pretty printers always return strings
Jonathan Wakely [Thu, 18 May 2017 09:23:38 +0000 (10:23 +0100)] 
PR59161 make pretty printers always return strings

Backport from mainline
2016-12-15  Jonathan Wakely  <jwakely@redhat.com>

PR libstdc++/59161
* python/libstdcxx/v6/printers.py (StdListIteratorPrinter.to_string)
(StdSlistIteratorPrinter.to_string, StdVectorIteratorPrinter.to_string)
(StdRbtreeIteratorPrinter.to_string, StdDequeIteratorPrinter.to_string)
(StdDebugIteratorPrinter.to_string): Return string instead of
gdb.Value.
* testsuite/libstdc++-prettyprinters/59161.cc: New test.

From-SVN: r248182

8 years agoEnable printers and xmethods for std::__cxx11::list
Jonathan Wakely [Thu, 18 May 2017 09:23:29 +0000 (10:23 +0100)] 
Enable printers and xmethods for std::__cxx11::list

Backport from mainline
2016-10-11  Jonathan Wakely  <jwakely@redhat.com>

* python/libstdcxx/v6/printers.py (build_libstdcxx_dictionary):
Register printer for std::__cxx11::list.
* python/libstdcxx/v6/xmethods.py (ListMethodsMatcher.match): Match
std::__cxx11::list as well as std::list.

From-SVN: r248181

8 years agoDaily bump.
GCC Administrator [Thu, 18 May 2017 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r248175

8 years agoPR libstdc++/62045 fix O(N) insertion in pd_ds binary heap
Jonathan Wakely [Wed, 17 May 2017 17:18:14 +0000 (18:18 +0100)] 
PR libstdc++/62045 fix O(N) insertion in pd_ds binary heap

Backport from mainline
2017-03-15  Xi Ruoyao  <ryxi@stu.xidian.edu.cn>

PR libstdc++/62045
* include/ext/pb_ds/detail/binary_heap_/binary_heap_.hpp
(is_heap): Remove.
(push_heap): Remove the wrong checking using is_heap.
(make_heap): Remove the assertion using is_heap.
* include/ext/pb_ds/detail/binary_heap_/insert_fn_imps.hpp
(modify): Ditto.
(resize_for_insert_if_needed): Add PB_DS_ASSERT_VALID after
calling make_heap.

Backport from mainline
2017-03-15  Jonathan Wakely  <jwakely@redhat.com>

PR libstdc++/62045
* testsuite/ext/pb_ds/regression/priority_queue_binary_heap-62045.cc:
New test.
* testsuite/ext/pb_ds/regression/priority_queues.cc: Fix copy&paste
error in comment.

From-SVN: r248164

8 years agoPR libstdc++/66059 optimise _Build_index_tuple
Jonathan Wakely [Wed, 17 May 2017 17:18:07 +0000 (18:18 +0100)] 
PR libstdc++/66059 optimise _Build_index_tuple

Backport from mainline
2015-11-17  Jonathan Wakely  <jwakely@redhat.com>

PR libstdc++/66059
* include/std/utility (_Build_index_tuple): Optimise.

From-SVN: r248163

8 years agoDaily bump.
GCC Administrator [Wed, 17 May 2017 00:16:07 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r248132

8 years agoDaily bump.
GCC Administrator [Tue, 16 May 2017 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r248083

8 years agoRevert backport of PR middle-end/80222
Richard Biener [Mon, 15 May 2017 07:56:00 +0000 (07:56 +0000)] 
Revert backport of PR middle-end/80222

2017-05-15  Richard Biener  <rguenther@suse.de>

        Revert backport of
PR middle-end/80222
* gimple-fold.c (gimple_fold_indirect_ref): Do not touch
TYPE_REF_CAN_ALIAS_ALL references.
* fold-const.c (fold_indirect_ref_1): Likewise.

* g++.dg/pr80222.C: New testcase.

From-SVN: r248048

8 years agolb1spc.S: Emit .note.GNU-stack section for a non-executable stack.
Adhemerval Zanella [Mon, 15 May 2017 07:36:56 +0000 (07:36 +0000)] 
lb1spc.S: Emit .note.GNU-stack section for a non-executable stack.

* config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
section for a non-executable stack.

From-SVN: r248046

8 years agoDaily bump.
GCC Administrator [Mon, 15 May 2017 00:16:13 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r248038

8 years agoDaily bump.
GCC Administrator [Sun, 14 May 2017 00:16:07 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r248013

8 years agoDaily bump.
GCC Administrator [Sat, 13 May 2017 00:16:14 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r248000

8 years agoDaily bump.
GCC Administrator [Fri, 12 May 2017 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r247942

8 years agoDaily bump.
GCC Administrator [Thu, 11 May 2017 00:16:10 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r247875

8 years agobackport: config.host: Use the generic FreeBSD t-slibgcc-elf-ver for arm*-*-freebsd...
Andreas Tobler [Wed, 10 May 2017 20:45:35 +0000 (22:45 +0200)] 
backport: config.host: Use the generic FreeBSD t-slibgcc-elf-ver for arm*-*-freebsd* instead of the...

2017-05-10  Andreas Tobler  <andreast@gcc.gnu.org>

    Backport from mainline
    2017-05-09  Andreas Tobler  <andreast@gcc.gnu.org>

    * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
    arm*-*-freebsd* instead of the t-slibgcc-libgcc.

From-SVN: r247862

8 years agoBackport PRs 79666, 79732, 79756, 79894
Richard Biener [Wed, 10 May 2017 10:01:23 +0000 (10:01 +0000)] 
Backport PRs 79666, 79732, 79756, 79894

2017-05-10  Richard Biener  <rguenther@suse.de>

Backport from mainline
2017-03-06  Richard Biener  <rguenther@suse.de>

PR fortran/79894
* trans.c (gfc_add_modify_loc): Weaken assert.

2017-03-02  Richard Biener  <rguenther@suse.de>

PR c/79756
* c-common.c (c_common_mark_addressable_vec): Look through
C_MAYBE_CONST_EXPR.

* gcc.dg/vector-1.c: New testcase.

2017-02-28  Richard Biener  <rguenther@suse.de>

PR tree-optimization/79732
* tree-inline.c (expand_call_inline): Handle anonymous
SSA lhs properly when inlining a function without return
value.

* gcc.dg/torture/pr79732.c: New testcase.

2017-02-22  Richard Biener  <rguenther@suse.de>

PR tree-optimization/79666
* tree-vrp.c (extract_range_from_binary_expr_1): Make sure
to not symbolically negate if that may introduce undefined
overflow.

* gcc.dg/torture/pr79666.c: New testcase.

From-SVN: r247829

8 years agoBackport PRs 80122, 80222, 80334, 80539
Richard Biener [Wed, 10 May 2017 07:53:45 +0000 (07:53 +0000)] 
Backport PRs 80122, 80222, 80334, 80539

2017-05-10  Richard Biener  <rguenther@suse.de>

Backport from mainline
2017-03-21  Richard Biener  <rguenther@suse.de>

PR tree-optimization/80122
* tree-inline.c (copy_bb): Do not expans va-arg packs or
va_arg_pack_len when the inlined call stmt requires pack
expansion itself.
* tree-inline.h (struct copy_body_data): Make call_stmt a gcall *.

* gcc.dg/torture/pr80122.c: New testcase.

2017-03-28  Richard Biener  <rguenther@suse.de>

PR middle-end/80222
* gimple-fold.c (gimple_fold_indirect_ref): Do not touch
TYPE_REF_CAN_ALIAS_ALL references.
* fold-const.c (fold_indirect_ref_1): Likewise.

* g++.dg/pr80222.C: New testcase.

2017-04-06  Richard Biener  <rguenther@suse.de>

PR tree-optimization/80334
* tree-ssa-loop-ivopts.c (rewrite_use_address): Properly
preserve alignment of accesses.

* g++.dg/torture/pr80334.C: New testcase.

2017-04-27  Richard Biener  <rguenther@suse.de>

PR middle-end/80539
* tree-chrec.c (chrec_fold_plus_poly_poly): Deal with not
being in loop-closed SSA form conservatively.
(chrec_fold_multiply_poly_poly): Likewise.

* gcc.dg/torture/pr80539.c: New testcase.

From-SVN: r247827

8 years agoDaily bump.
GCC Administrator [Wed, 10 May 2017 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r247822

8 years agoDaily bump.
GCC Administrator [Tue, 9 May 2017 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r247773

8 years agobackport: PR target/69868 + swap optimization backports
Bill Schmidt [Mon, 8 May 2017 21:03:45 +0000 (21:03 +0000)] 
backport: PR target/69868 + swap optimization backports

[gcc]

2016-05-08  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

Backport from mainline
PR target/69868 + swap optimization backports
* config/rs6000/rs6000.c (swap_web_entry): Enlarge
special_handling bitfield.
(special_handling_values): Add SH_XXPERMDI, SH_CONCAT, SH_VPERM,
and SH_VPERM_COMP.
(const_load_sequence_p): New.
(load_comp_mask_p): New.
(v2df_reduction_p): New.
(rtx_is_swappable_p): Perform special handling for XXPERMDI and
for reductions.
(insn_is_swappable_p): Perform special handling for VEC_CONCAT,
V2DF reductions, and various permutes.
(adjust_xxpermdi): New.
(adjust_concat): New.
(find_swapped_load_and_const_vector): New.
(replace_const_vector_in_load): New.
(adjust_vperm): New.
(adjust_vperm_comp): New.
(handle_special_swappables): Call adjust_xxpermdi, adjust_concat,
adjust_vperm, and adjust_vperm_comp.
(replace_swap_with_copy): Allow vector NOT operations to also be
replaced by copies.
(dump_swap_insn_table): Handle new special handling values.

[gcc/testsuite]

2016-05-08  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

Backport from mainline
PR target/69868 + swap optimization backports
* gcc.target/powerpc/swaps-p8-20.c: New.
* gcc.target/powerpc/swaps-p8-23.c: New.
* gcc.target/powerpc/swaps-p8-24.c: New.

From-SVN: r247759

8 years agoDaily bump.
GCC Administrator [Mon, 8 May 2017 00:16:08 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r247730

8 years agoDaily bump.
GCC Administrator [Sun, 7 May 2017 00:16:07 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r247723

8 years agoDaily bump.
GCC Administrator [Sat, 6 May 2017 00:16:20 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r247706

8 years agoDaily bump.
GCC Administrator [Fri, 5 May 2017 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r247624

8 years agoDaily bump.
GCC Administrator [Thu, 4 May 2017 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r247572

8 years agobackport: re PR target/68491 (libgcc calls __get_cpuid with 0 level breaks on early...
Uros Bizjak [Wed, 3 May 2017 20:00:50 +0000 (22:00 +0200)] 
backport: re PR target/68491 (libgcc calls __get_cpuid with 0 level breaks on early 486)

Backport from mainline
2017-05-01  Uros Bizjak  <ubizjak@gmail.com>

PR target/68491
* config/i386/cpuid.h (__get_cpuid): Always return 0 when
__get_cpuid_max returns 0.

From-SVN: r247566

8 years agoDaily bump.
GCC Administrator [Wed, 3 May 2017 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r247530

8 years agoDaily bump.
GCC Administrator [Tue, 2 May 2017 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r247456

8 years agobackport: re PR fortran/80392 ([OOP] ICE with allocatable polymorphic function result...
Janus Weil [Mon, 1 May 2017 10:51:22 +0000 (12:51 +0200)] 
backport: re PR fortran/80392 ([OOP] ICE with allocatable polymorphic function result in a procedure pointer component)

2017-05-01  Janus Weil  <janus@gcc.gnu.org>

Backport from trunk
PR fortran/80392
* trans-types.c (gfc_get_derived_type): Prevent an infinite loop when
building a derived type that includes a procedure pointer component
with a polymorphic result.

2017-05-01  Janus Weil  <janus@gcc.gnu.org>

Backport from trunk
PR fortran/80392
* gfortran.dg/proc_ptr_comp_49.f90: New test case.

From-SVN: r247435

8 years agoDaily bump.
GCC Administrator [Mon, 1 May 2017 00:16:12 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r247422

8 years agoDaily bump.
GCC Administrator [Sun, 30 Apr 2017 00:16:07 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r247413

8 years agoDaily bump.
GCC Administrator [Sat, 29 Apr 2017 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r247402

8 years agoDaily bump.
GCC Administrator [Fri, 28 Apr 2017 00:16:09 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r247358

8 years agoDaily bump.
GCC Administrator [Thu, 27 Apr 2017 00:16:08 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r247288

8 years agoDaily bump.
GCC Administrator [Wed, 26 Apr 2017 00:16:08 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r247270

8 years agoDaily bump.
GCC Administrator [Tue, 25 Apr 2017 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r247118

8 years agoDaily bump.
GCC Administrator [Mon, 24 Apr 2017 00:16:09 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r247085

8 years agoDaily bump.
GCC Administrator [Sun, 23 Apr 2017 00:16:11 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r247078

8 years agoDaily bump.
GCC Administrator [Sat, 22 Apr 2017 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r247072

8 years agobackport: re PR fortran/80361 ([OOP] bogus recursive call to nonrecursive procedure...
Janus Weil [Fri, 21 Apr 2017 21:37:16 +0000 (23:37 +0200)] 
backport: re PR fortran/80361 ([OOP] bogus  recursive call to nonrecursive procedure with -fcheck=recursion)

2017-04-21  Janus Weil  <janus@gcc.gnu.org>

Backport from trunk
PR fortran/80361
* class.c (generate_finalization_wrapper): Give the finalization wrapper
the recursive attribute.

2017-04-21  Janus Weil  <janus@gcc.gnu.org>

Backport from trunk
PR fortran/80361
* gfortran.dg/class_62.f90: New test case.

From-SVN: r247071

8 years ago[ARM] PR68390 Incorrect code due to indirect tail call of varargs function with hard...
Christophe Lyon [Fri, 21 Apr 2017 09:23:59 +0000 (09:23 +0000)] 
[ARM] PR68390 Incorrect code due to indirect tail call of varargs function with hard float ABI

2017-04-21  Christophe Lyon  <christophe.lyon@linaro.org>

Backport from mainline
+2015-11-23  Kugan Vivekanandarajah  <kuganv@linaro.org>

PR target/68390
gcc/
* config/arm/arm.c (arm_function_ok_for_sibcall): Get function type
for indirect function call.

gcc/testsuite/
* gcc.c-torture/execute/pr68390.c: New test.

From-SVN: r247057

8 years agoDaily bump.
GCC Administrator [Fri, 21 Apr 2017 00:16:14 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r247042

8 years agoDaily bump.
GCC Administrator [Thu, 20 Apr 2017 00:16:14 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r247008

8 years agoDaily bump.
GCC Administrator [Wed, 19 Apr 2017 00:16:08 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r246984

8 years agoDaily bump.
GCC Administrator [Tue, 18 Apr 2017 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r246958

8 years agoDaily bump.
GCC Administrator [Mon, 17 Apr 2017 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r246946

8 years agoDaily bump.
GCC Administrator [Sun, 16 Apr 2017 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r246942

8 years agoDaily bump.
GCC Administrator [Sat, 15 Apr 2017 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r246935

8 years agobackport: re PR fortran/59910 (ICE in gfc_conv_array_initializer, at fortran/trans...
Dominique d'Humieres [Fri, 14 Apr 2017 13:00:02 +0000 (15:00 +0200)] 
backport: re PR fortran/59910 (ICE in gfc_conv_array_initializer, at fortran/trans-array.c:5327)

2017-04-14  Dominique d'Humieres  <dominiq@lps.ens.fr>

Backport from trunk
2015-11-18  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/59910
PR fortran/80388
* primary.c (gfc_match_structure_constructor): Reduce a structure
constructor in a DATA statement.

* gfortran.dg/pr59910.f90: New test.

From-SVN: r246929

8 years agoDaily bump.
GCC Administrator [Fri, 14 Apr 2017 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r246921

8 years agoDaily bump.
GCC Administrator [Thu, 13 Apr 2017 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r246896

8 years agobackport: re PR target/80376 (Some vec_xxpermdi usage lead to ICE)
Bill Schmidt [Wed, 12 Apr 2017 13:45:27 +0000 (13:45 +0000)] 
backport: re PR target/80376 (Some vec_xxpermdi usage lead to ICE)

2017-04-12  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

Backport from mainline
2017-04-11  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

PR target/80376
PR target/80315
* config/rs6000/rs6000.c (rs6000_expand_unop_builtin): Return
CONST0_RTX (mode) rather than const0_rtx where appropriate.
(rs6000_expand_binop_builtin): Likewise.
(rs6000_expand_ternop_builtin): Likewise; also add missing
vsx_xxpermdi_* variants; also fix typo (arg1 => arg2) for
vshasigma built-ins.
* doc/extend.texi: Document that vec_xxpermdi's third argument
must be a constant.

From-SVN: r246874

8 years agoDaily bump.
GCC Administrator [Wed, 12 Apr 2017 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r246861

8 years agoFix PR80082: LDRD erronously used for 64bit load on ARMv7-R
Thomas Preud'homme [Tue, 11 Apr 2017 15:26:20 +0000 (15:26 +0000)] 
Fix PR80082: LDRD erronously used for 64bit load on ARMv7-R

2017-04-11  Thomas Preud'homme  <thomas.preudhomme@arm.com>

    Backport from GCC 6
    2017-04-06  Thomas Preud'homme  <thomas.preudhomme@arm.com>

    gcc/
    PR target/80082
    * config/arm/arm-protos.h (FL_LPAE): Define macro.
    (FL_FOR_ARCH7VE): Add FL_LPAE.
    (arm_arch_lpae): Declare extern.
    * config/arm/arm.c (arm_arch_lpae): Declare.
    (arm_option_override): Define arm_arch_lpae.
    * config/arm/arm.h (TARGET_HAVE_LPAE): Redefine in term of
    arm_arch_lpae.

    gcc/testsuite/
    PR target/80082
    * gcc.target/arm/atomic_loaddi_10.c: New testcase.
    * gcc.target/arm/atomic_loaddi_11.c: Likewise.

From-SVN: r246844

8 years ago[PR 77333] Fixup fntypes of gimple calls of clones
Martin Jambor [Tue, 11 Apr 2017 13:31:16 +0000 (15:31 +0200)] 
[PR 77333] Fixup fntypes of gimple calls of clones

2017-04-11  Martin Jambor  <mjambor@suse.cz>

Backport from mainline
2017-03-30  Martin Jambor  <mjambor@suse.cz>

        PR ipa/77333
        * cgraph.h (cgraph_build_function_type_skip_args): Declare.
        * cgraph.c (redirect_call_stmt_to_callee): Set gimple fntype so that
        it reflects the signature changes performed at the callee side.
        * cgraphclones.c (build_function_type_skip_args): Make public, renamed
        to cgraph_build_function_type_skip_args.
        (build_function_decl_skip_args): Adjust call to the above function.

testsuite/
        * g++.dg/ipa/pr77333.C: New test.

From-SVN: r246839

8 years agobackport: re PR tree-optimization/68021 (ice in rewrite_use_nonlinear_expr with -O3)
Bin Cheng [Tue, 11 Apr 2017 08:15:51 +0000 (08:15 +0000)] 
backport: re PR tree-optimization/68021 (ice in rewrite_use_nonlinear_expr with -O3)

Backport from mainline
2016-02-10  Bin Cheng  <bin.cheng@arm.com>

PR tree-optimization/68021
* tree-ssa-loop-ivopts.c (get_computation_aff): Set ratio to 1 if
when computing the value of biv cand by itself.

gcc/testsuite
PR tree-optimization/80345
* gcc.c-torture/compile/pr80345.c

Backport from mainline
2016-02-10  Bin Cheng  <bin.cheng@arm.com>

PR tree-optimization/68021
* gcc.dg/tree-ssa/pr68021.c: New test.

From-SVN: r246833

8 years agoDaily bump.
GCC Administrator [Tue, 11 Apr 2017 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r246828

8 years agoDaily bump.
GCC Administrator [Mon, 10 Apr 2017 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r246795

8 years agoDaily bump.
GCC Administrator [Sun, 9 Apr 2017 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r246790

8 years agobackport: aarch64-freebsd.h: Define MCOUNT_NAME.
Andreas Tobler [Sat, 8 Apr 2017 19:18:15 +0000 (21:18 +0200)] 
backport: aarch64-freebsd.h: Define MCOUNT_NAME.

2017-04-08  Andreas Tobler  <andreast@gcc.gnu.org>

    Backport from mainline
    2017-04-08  Andreas Tobler  <andreast@gcc.gnu.org>

    * config/aarch64/aarch64-freebsd.h: Define MCOUNT_NAME.
    Add comment for WCHAR_T.

From-SVN: r246788

8 years agoDaily bump.
GCC Administrator [Sat, 8 Apr 2017 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r246781

8 years agobackport: aarch64-freebsd.h: Define WCHAR_T.
Andreas Tobler [Fri, 7 Apr 2017 19:37:08 +0000 (21:37 +0200)] 
backport: aarch64-freebsd.h: Define WCHAR_T.

2017-04-07  Andreas Tobler  <andreast@gcc.gnu.org>

    Backport from mainline
    2017-04-07  Andreas Tobler  <andreast@gcc.gnu.org>

    * config/aarch64/aarch64-freebsd.h: Define WCHAR_T.

From-SVN: r246778

8 years agobackport: re PR target/79733 (ICE in int_mode_for_mode, at stor-layout.c:406)
Uros Bizjak [Fri, 7 Apr 2017 05:15:54 +0000 (07:15 +0200)] 
backport: re PR target/79733 (ICE in int_mode_for_mode, at stor-layout.c:406)

Backport from mainline
2017-04-06  Uros Bizjak  <ubizjak@gmail.com>

PR target/79733
* config/i386/i386.c (ix86_expand_builtin)
<case IX86_BUILTIN_KORTEST{C,Z}16>: Determine insn operand
mode from insn data. Convert operands to insn operand mode.
Copy operands that don't satisfy insn predicate to a register.

testsuite/ChangeLog:

Backport from mainline
2017-04-06  Uros Bizjak  <ubizjak@gmail.com>

PR target/79733
* gcc.target/i386/pr79733.c: New test.

From-SVN: r246752

8 years ago[RS6000] Out-of-line register save functions can't be used from crtend.o
Alan Modra [Fri, 7 Apr 2017 02:19:19 +0000 (11:49 +0930)] 
[RS6000] Out-of-line register save functions can't be used from crtend.o

PR target/45053
* config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.

From-SVN: r246751

8 years agoDaily bump.
GCC Administrator [Fri, 7 Apr 2017 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r246746

8 years agoDaily bump.
GCC Administrator [Thu, 6 Apr 2017 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r246722

8 years agoDaily bump.
GCC Administrator [Wed, 5 Apr 2017 00:16:07 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r246696

8 years agoDaily bump.
GCC Administrator [Tue, 4 Apr 2017 00:16:09 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r246667

8 years agobackport: re PR target/80246 (Builtin's for POWER's dxex[q] and diex[q] use the wrong...
Peter Bergner [Mon, 3 Apr 2017 18:06:52 +0000 (13:06 -0500)] 
backport: re PR target/80246 (Builtin's for POWER's dxex[q] and diex[q] use the wrong types)

Backport from mainline
2017-04-03  Peter Bergner  <bergner@vnet.ibm.com>

PR target/80246
* gcc.target/powerpc/dfp-builtin-1.c: Require hard_dfp, not
powerpc_vsx_ok.
(std, ld): Limit scan-assembler-times check to lp64.
(stwu, stw, lwz): Add scan-assembler-times check for ilp32.
* gcc.target/powerpc/dfp-builtin-2.c: Require hard_dfp, not
powerpc_vsx_ok.

PR target/80246
* gcc.target/powerpc/pr80246.c: Require hard_dfp.

From-SVN: r246660

8 years agoDaily bump.
GCC Administrator [Mon, 3 Apr 2017 00:16:09 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r246640

8 years agoDaily bump.
GCC Administrator [Sun, 2 Apr 2017 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r246633

8 years agoDaily bump.
GCC Administrator [Sat, 1 Apr 2017 00:16:08 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r246628

8 years agoDaily bump.
GCC Administrator [Fri, 31 Mar 2017 00:16:07 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r246602

8 years agobackport: re PR target/80246 (Builtin's for POWER's dxex[q] and diex[q] use the wrong...
Peter Bergner [Thu, 30 Mar 2017 20:09:32 +0000 (15:09 -0500)] 
backport: re PR target/80246 (Builtin's for POWER's dxex[q] and diex[q] use the wrong types)

gcc/
Backport from mainline
2017-03-30  Peter Bergner  <bergner@vnet.ibm.com>

PR target/80246
* config/rs6000/dfp.md (dfp_dxex_<mode>): Update mode of operand 0.
(dfp_diex_<mode>): Update mode of operand 1.
* doc/extend.texi (dxex, dxexq): Document change to return type.
(diex, diexq): Document change to argument type.

gcc/testsuite/
Backport from mainline
2017-03-30  Peter Bergner  <bergner@vnet.ibm.com>

PR target/80246
* gcc.target/powerpc/dfp-builtin-1.c: Remove unneeded dg-skip-if for
Darwin and SPE.
(dxex, dxexq): Update return type.
(diex, diexq): Update argument type.
* gcc.target/powerpc/pr80246.c: New test.

From-SVN: r246596

8 years agoDaily bump.
GCC Administrator [Thu, 30 Mar 2017 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r246579