]>
git.ipfire.org Git - thirdparty/gcc.git/log
Jonathan Wakely [Mon, 4 Sep 2017 17:09:01 +0000 (18:09 +0100)]
PR libstdc++/53984 handle exceptions in basic_istream::sentry
Backport from mainline
2017-07-25 Jonathan Wakely <jwakely@redhat.com>
PR libstdc++/53984
* include/bits/basic_ios.h (basic_ios::_M_setstate): Adjust comment.
* include/bits/istream.tcc (basic_istream::sentry): Handle exceptions
during construction.
* include/std/istream: Adjust comments for formatted input functions
and unformatted input functions.
* testsuite/27_io/basic_fstream/53984.cc: New.
* testsuite/27_io/basic_istream/sentry/char/53984.cc: New.
From-SVN: r251679
Jonathan Wakely [Mon, 4 Sep 2017 17:08:56 +0000 (18:08 +0100)]
PR libstdc++/81017 add noexcept to std::function move operations
Backport from mainline
2017-06-08 Jonathan Wakely <jwakely@redhat.com>
PR libstdc++/81017
* include/std/functional (function::function(function&&))
(function::operator=(function&&)): Add noexcept.
* testsuite/20_util/function/assign/move.cc: Check for noexcept.
* testsuite/20_util/function/cons/move.cc: Likewise.
From-SVN: r251678
Jonathan Wakely [Mon, 4 Sep 2017 17:08:51 +0000 (18:08 +0100)]
Add noexcept to shared_ptr owner comparisons (LWG 2873)
Backport from mainline
2017-06-05 Jonathan Wakely <jwakely@redhat.com>
* include/bits/shared_ptr_base.h (__shared_ptr::owner_before)
(__weak_ptr::owner_before, _Sp_owner_less::operator()): Add noexcept
specifiers as per LWG 2873 and LWG 2942.
* testsuite/20_util/owner_less/noexcept.cc: New.
* testsuite/20_util/shared_ptr/observers/owner_before.cc: Test
noexcept guarantees.
* testsuite/20_util/weak_ptr/observers/owner_before.cc: Likewise.
From-SVN: r251677
Jonathan Wakely [Mon, 4 Sep 2017 16:41:38 +0000 (17:41 +0100)]
PR c++/82039 suppress -Wzero-as-null-pointer-constant warning
Backport from mainline
2017-08-31 Jonathan Wakely <jwakely@redhat.com>
PR c++/82039
* include/ext/new_allocator.h (__gnu_cxx::new_allocator::allocate):
Adjust null pointer constant to avoid warning.
From-SVN: r251672
Jonathan Wakely [Mon, 4 Sep 2017 16:41:34 +0000 (17:41 +0100)]
PR libstdc++/81891 fix double-free in hashtable constructor
Backport from mainline
2017-08-18 Jonathan Wakely <jwakely@redhat.com>
PR libstdc++/81891
* include/bits/hashtable.h (_Hashtable(_InputIterator, _InputIterator,
size_type, const _H1&, const _H2&, const _Hash&, const _Equal&,
const _ExtractKey&, const allocator_type&)): Let destructor do clean
up if an exception is thrown.
* testsuite/23_containers/unordered_map/cons/81891.cc: New.
From-SVN: r251671
Jonathan Wakely [Mon, 4 Sep 2017 16:41:29 +0000 (17:41 +0100)]
PR libstdc++/81599 fix typo in Doxygen comments
Backport from mainline
2017-07-31 Marek Polacek <polacek@redhat.com>
PR libstdc++/81599
* include/bits/stl_stack.h: Fix typo.
From-SVN: r251670
Jonathan Wakely [Mon, 4 Sep 2017 16:41:25 +0000 (17:41 +0100)]
PR libstdc++/81338 correctly manage string capacity
Backport from mainline
2017-07-10 Jonathan Wakely <jwakely@redhat.com>
PR libstdc++/81338
* include/bits/basic_string.h [_GLIBCXX_USE_CXX11_ABI] (basic_string):
Declare basic_stringbuf to be a friend.
* include/bits/sstream.tcc (basic_stringbuf::overflow)
[_GLIBCXX_USE_CXX11_ABI]: Use unused capacity before reallocating.
* include/std/sstream (basic_stringbuf::__xfer_bufptrs): Update string
length to buffer length.
* testsuite/27_io/basic_stringstream/assign/81338.cc: New.
From-SVN: r251669
GCC Administrator [Mon, 4 Sep 2017 00:16:12 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r251630
GCC Administrator [Sun, 3 Sep 2017 00:16:04 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r251621
Janus Weil [Sat, 2 Sep 2017 20:13:49 +0000 (22:13 +0200)]
backport: re PR fortran/81770 (Bogus warning: Pointer in pointer assignment might outlive the pointer target)
2017-09-02 Janus Weil <janus@gcc.gnu.org>
Backport from trunk
PR fortran/81770
* expr.c (gfc_check_pointer_assign): Improve the check whether pointer
may outlive pointer target.
2017-09-02 Janus Weil <janus@gcc.gnu.org>
Backport from trunk
PR fortran/81770
* gfortran.dg/warn_target_lifetime_3.f90: Fix a typo.
* gfortran.dg/warn_target_lifetime_4.f90: New testcase.
From-SVN: r251620
GCC Administrator [Sat, 2 Sep 2017 00:16:05 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r251614
Jonathan Wakely [Fri, 1 Sep 2017 12:15:44 +0000 (13:15 +0100)]
Make std::scoped_allocator_adaptor's OUTERMOST recursive
Backport from mainline
2016-10-06 Jonathan Wakely <jwakely@redhat.com>
* doc/xml/manual/status_cxx2011.xml: Update status.
* doc/html/manual/status.html: Regenerate.
* include/std/scoped_allocator (__outer_allocator_t, __outermost_type):
New helpers for recursive OUTERMOST.
(__outermost): Use __outermost_type::_S_outermost.
(__do_outermost, scoped_allocator_adaptor::__outermost_type): Remove.
(scoped_allocator_adaptor::__outermost_alloc_traits): Use new
__outermost_type helper.
(scoped_allocator_adaptor::_Constructible): New alias template.
(scoped_allocator_adaptor::scoped_allocator_adaptor<_Outer2>):
Constrain template constructors.
* testsuite/20_util/scoped_allocator/3.cc: New test.
* testsuite/20_util/scoped_allocator/outermost.cc: New test.
From-SVN: r251590
GCC Administrator [Fri, 1 Sep 2017 00:16:05 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r251577
GCC Administrator [Thu, 31 Aug 2017 00:16:05 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r251550
GCC Administrator [Wed, 30 Aug 2017 00:16:05 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r251441
GCC Administrator [Tue, 29 Aug 2017 00:16:12 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r251392
GCC Administrator [Mon, 28 Aug 2017 00:16:10 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r251370
GCC Administrator [Sun, 27 Aug 2017 00:16:28 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r251364
GCC Administrator [Sat, 26 Aug 2017 00:16:28 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r251359
GCC Administrator [Fri, 25 Aug 2017 00:16:10 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r251343
GCC Administrator [Thu, 24 Aug 2017 00:16:10 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r251322
GCC Administrator [Wed, 23 Aug 2017 00:16:05 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r251297
Peter Bergner [Tue, 22 Aug 2017 20:08:51 +0000 (15:08 -0500)]
backport: re PR target/80210 (ICE in in extract_insn, at recog.c:2311 on ppc64 for with __builtin_pow)
gcc/
Backport from mainline
2017-08-17 Peter Bergner <bergner@vnet.ibm.com>
PR target/80210
* config/rs6000/rs6000.c (rs6000_activate_target_options): New function.
(rs6000_set_current_function): Rewrite function to use it.
gcc/testsuite/
Backport from mainline
2017-08-17 Peter Bergner <bergner@vnet.ibm.com>
PR target/80210
* gcc.target/powerpc/pr80210.c: New test.
From-SVN: r251291
Georg-Johann Lay [Tue, 22 Aug 2017 10:32:36 +0000 (10:32 +0000)]
backport: re PR lto/81487 ([mingw32] ld.exe: error: asprintf failed)
lto-plugin/
Backport from 2017-07-26 gcc-7-branch r250562.
PR lto/81487
* lto-plugin.c (claim_file_handler): Use xasprintf instead of
asprintf.
[hi!=0]: Swap hi and lo arguments supplied to xasprintf.
gcc/
Backport from 2017-07-26 gcc-7-branch r250562.
PR 81487
* tree-ssa-structalias.c (alias_get_name): Use xasprintf instead
of asprintf.
From-SVN: r251272
Georg-Johann Lay [Tue, 22 Aug 2017 10:07:51 +0000 (10:07 +0000)]
backport: re PR rtl-optimization/75964 (insn combiner removes comparison after ABS)
gcc/
Backport from 2017-05-06 trunk r247719.
PR rtl-optimization/75964
* simplify-rtx.c (simplify_const_relational_operation): Remove
invalid handling of comparisons of integer ABS.
gcc/testsuite/
Backport from 2017-05-06 trunk r247719.
PR rtl-optimization/75964
* gcc.dg/torture/pr75964.c: New test.
From-SVN: r251271
Georg-Johann Lay [Tue, 22 Aug 2017 10:01:38 +0000 (10:01 +0000)]
backport: re PR target/81305 ([avr] avrtiny uses LDS for SREG in ISR routines which is out of range of LDS.)
gcc/
Backport from 2017-07-05 trunk r249995.
PR target/81305
* config/avr/avr.c (avr_out_movhi_mr_r_xmega) [CONSTANT_ADDRESS_P]:
Don't depend on "optimize > 0".
(out_movhi_r_mr, out_movqi_mr_r): Same.
(out_movhi_mr_r, out_movqi_r_mr): Same.
(avr_address_cost) [CONSTANT_ADDRESS_P]: Don't depend cost for
io_address_operand on "optimize > 0".
gcc/testsuite/
Backport from 2017-07-05 trunk r249995, r249996.
PR target/81305
* gcc.target/avr/isr-test.h: New file.
* gcc.target/avr/torture/isr-01-simple.c: New test.
* gcc.target/avr/torture/isr-02-call.c: New test.
* gcc.target/avr/torture/isr-03-fixed.c: New test.
From-SVN: r251270
Georg-Johann Lay [Tue, 22 Aug 2017 09:48:48 +0000 (09:48 +0000)]
backport: re PR target/79883 (avr i18n: untranslated "interrupt" or "signal")
gcc/
Backport from 2016-06-15 trunk r237486.
Backport from 2017-07-12 trunk r250156.
PR target/79883
PR target/67353
* config/avr/avr.c (avr_set_current_function): Warn misspelled ISR
only if -Wmisspelled-isr is on. In diagnostic messages: Quote
keywords and (parts of) identifiers.
[WITH_AVRLIBC]: Warn functions named "ISR", "SIGNAL" or "INTERUPT".
* doc/invoke.texi (AVR Options) <-Wmisspelled-isr>: Document.
From-SVN: r251269
Georg-Johann Lay [Tue, 22 Aug 2017 09:29:30 +0000 (09:29 +0000)]
backport: re PR target/80462 ([avr] Incorrect "warning: uninitialized variable 'xxx' put into program memory area" for identical strings)
gcc/
Backport from 2017-04-19 trunk r246997.
PR target/80462
* config/avr/avr.c (tree.h): Include it.
(hash-table.h): Include it.
(hash-set.h): Include it.
(symtab.h): Include it.
(inchash.h): Include it.
(function.h): Include it.
(hash-map.h): Include it.
(plugin-api.h): Include it.
(ipa-ref.h): Include it.
(cgraph.h): Include it.
(avr_encode_section_info): Don't warn for uninitialized progmem
variable if it's just an alias.
Backport from 2017-07-12 trunk r250151.
PR target/81407
* config/avr/avr.c (avr_encode_section_info)
[progmem && !TREE_READONLY]: Error if progmem object needs
constructing.
From-SVN: r251267
Georg-Johann Lay [Tue, 22 Aug 2017 08:40:15 +0000 (08:40 +0000)]
backport: re PR target/81910 ([avr] ICE with "address" attribute on type)
gcc/
Backport from 2017-08-22 trunk r251256.
PR target/81910
* config/avr/avr.c (avr_handle_addr_attribute): Early return if
not VAR_P. Filter attribute warnings with OPT_Wattributes.
(avr_attribute_table) <io, io_low, address>: Initialize
.decl_required with true.
From-SVN: r251261
GCC Administrator [Tue, 22 Aug 2017 00:16:15 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r251250
GCC Administrator [Mon, 21 Aug 2017 00:16:32 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r251212
GCC Administrator [Sun, 20 Aug 2017 00:16:10 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r251202
Uros Bizjak [Sat, 19 Aug 2017 08:25:14 +0000 (10:25 +0200)]
re PR target/81894 (Typo in x86 built-in function list)
PR target/81894
* doc/extend.texi (x86 Built-in Functions): Correct the name of
__builtin_ia32_lzcnt_u16.
From-SVN: r251200
GCC Administrator [Sat, 19 Aug 2017 00:16:07 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r251193
GCC Administrator [Fri, 18 Aug 2017 00:16:16 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r251175
Uros Bizjak [Thu, 17 Aug 2017 19:39:20 +0000 (21:39 +0200)]
backport: re PR target/81861 (ASan pr64820.c testcase segfaults with LTO and -fstack-protector-strong)
Backport from mainline
2017-08-17 Maxim Ostapenko <m.ostapenko@samsung.com>
PR target/81861
* config/i386/i386.c (ix86_option_override_internal): Save target
specific options after ix86_stack_protector_guard_reg was changed.
From-SVN: r251164
GCC Administrator [Thu, 17 Aug 2017 00:16:20 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r251136
Bill Schmidt [Wed, 16 Aug 2017 14:13:27 +0000 (14:13 +0000)]
backport: re PR tree-optimization/81354 (Segmentation fault in SSA Strength Reduction using -O3)
[gcc]
2017-08-16 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
Backport from mainline
2017-08-08 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
PR tree-optimization/81354
* gimple-ssa-strength-reduction.c (create_add_on_incoming_edge):
Insert on edges rather than explicitly creating landing pads.
(analyze_candidates_and_replace): Commit edge inserts.
[gcc/testsuite]
2017-08-16 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
Backport from mainline
2017-08-08 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
PR tree-optimization/81354
* g++.dg/torture/pr81354.C: New file.
From-SVN: r251122
GCC Administrator [Wed, 16 Aug 2017 00:17:39 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r251110
GCC Administrator [Mon, 14 Aug 2017 00:16:40 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r251077
GCC Administrator [Sun, 13 Aug 2017 00:16:32 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r251069
GCC Administrator [Sat, 12 Aug 2017 00:16:09 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r251061
GCC Administrator [Fri, 11 Aug 2017 00:16:43 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r251042
GCC Administrator [Thu, 10 Aug 2017 00:16:05 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r251014
GCC Administrator [Wed, 9 Aug 2017 00:16:07 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r250980
GCC Administrator [Tue, 8 Aug 2017 00:16:05 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r250937
GCC Administrator [Mon, 7 Aug 2017 00:16:16 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r250905
GCC Administrator [Sun, 6 Aug 2017 00:16:22 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r250891
GCC Administrator [Sat, 5 Aug 2017 00:16:11 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r250886
GCC Administrator [Fri, 4 Aug 2017 00:16:10 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r250861
GCC Administrator [Thu, 3 Aug 2017 00:16:07 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r250838
GCC Administrator [Wed, 2 Aug 2017 00:16:07 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r250807
GCC Administrator [Tue, 1 Aug 2017 00:16:13 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r250753
Jakub Jelinek [Mon, 31 Jul 2017 09:29:58 +0000 (11:29 +0200)]
re PR sanitizer/81604 (Ubsan type reporting can be bogus in some cases)
PR sanitizer/81604
* ubsan.c (ubsan_type_descriptor): For UBSAN_PRINT_ARRAY don't
change type to the element type, instead add eltype variable and
use it where we are interested in the element type.
* c-c++-common/ubsan/pr81604.c: New test.
From-SVN: r250733
GCC Administrator [Mon, 31 Jul 2017 00:16:11 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r250722
GCC Administrator [Sun, 30 Jul 2017 00:16:15 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r250715
GCC Administrator [Sat, 29 Jul 2017 00:16:13 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r250690
GCC Administrator [Fri, 28 Jul 2017 00:16:18 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r250644
Jakub Jelinek [Thu, 27 Jul 2017 09:43:01 +0000 (11:43 +0200)]
re PR tree-optimization/81555 (Wrong code at -O1)
PR tree-optimization/81555
PR tree-optimization/81556
* tree-ssa-reassoc.c (rewrite_expr_tree): Add NEXT_CHANGED argument,
if true, force CHANGED for the recursive invocation.
(reassociate_bb): Remember original length of ops array, pass
len != orig_len as NEXT_CHANGED in rewrite_expr_tree call.
* gcc.c-torture/execute/pr81555.c: New test.
* gcc.c-torture/execute/pr81556.c: New test.
From-SVN: r250616
GCC Administrator [Thu, 27 Jul 2017 00:16:13 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r250598
Bill Schmidt [Wed, 26 Jul 2017 15:55:41 +0000 (15:55 +0000)]
backport: rs6000.c (rs6000_elf_output_toc_section_asm_op): Align .toc.
2017-07-26 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
Backport from mainline r235874
2016-05-04 Alan Modra <amodra@gmail.com>
* config/rs6000/rs6000.c (rs6000_elf_output_toc_section_asm_op):
Align .toc.
From-SVN: r250580
GCC Administrator [Wed, 26 Jul 2017 00:16:05 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r250551
Bill Schmidt [Tue, 25 Jul 2017 19:44:10 +0000 (19:44 +0000)]
backport: re PR tree-optimization/81162 (UBSAN switch triggers incorrect optimization in SLSR)
[gcc]
2016-07-25 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
Backport from mainline
2016-07-14 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
PR tree-optimization/81162
* gimple-ssa-strength-reduction.c (replace_mult_candidate): Don't
replace a negate with an add.
[gcc/testsuite]
2016-07-25 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
Backport from mainline
2016-07-14 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
PR tree-optimization/81162
* gcc.dg/ubsan/pr81162.c: New file.
From-SVN: r250544
GCC Administrator [Tue, 25 Jul 2017 00:16:05 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r250490
Uros Bizjak [Mon, 24 Jul 2017 20:29:02 +0000 (22:29 +0200)]
re PR target/80569 (i686: "shrx" instruction generated in 16-bit mode)
PR target/80569
* config/i386/i386.c (ix86_option_override_internal): Disable
BMI, BMI2 and TBM instructions for -m16.
testsuite/ChangeLog:
PR target/80569
* gcc.target/i386/pr80569.c: New test.
From-SVN: r250486
GCC Administrator [Mon, 24 Jul 2017 00:16:19 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r250467
GCC Administrator [Sun, 23 Jul 2017 00:16:05 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r250454
GCC Administrator [Sat, 22 Jul 2017 00:16:16 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r250447
GCC Administrator [Fri, 21 Jul 2017 00:16:05 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r250409
Ian Lance Taylor [Thu, 20 Jul 2017 22:04:02 +0000 (22:04 +0000)]
re PR go/81393 (Bootstrap failure on s390x-linux while building libgo against recent glibc)
PR go/81393
syscall: don't use GETREGS/SETREGS on s390
They were removed in recent glibc.
This is a backport of https://golang.org/cl/48231 to earlier branches.
Define required type and constants in syscall package directly, don't
try to pull them from the system header files.
From-SVN: r250404
GCC Administrator [Thu, 20 Jul 2017 00:16:05 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r250373
GCC Administrator [Wed, 19 Jul 2017 00:16:05 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r250329
Uros Bizjak [Tue, 18 Jul 2017 21:44:03 +0000 (23:44 +0200)]
re PR target/81471 (internal compiler error: in curr_insn_transform, at lra-constraints.c:3495)
PR target/81471
* config/i386/i386.md (rorx_immediate_operand): New mode attribute.
(*bmi2_rorx<mode>3_1): Use rorx_immediate_operand as
operand 2 predicate.
(*bmi2_rorxsi3_1_zext): Use const_0_to_31_operand as
operand 2 predicate.
(ror,rol -> rorx splitters): Use const_int_operand as
operand 2 predicate.
testsuite/ChangeLog:
PR target/81471
* gcc.target/i386/pr81471.c: New test.
From-SVN: r250322
GCC Administrator [Tue, 18 Jul 2017 00:16:13 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r250291
GCC Administrator [Mon, 17 Jul 2017 00:16:14 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r250248
GCC Administrator [Sun, 16 Jul 2017 00:16:08 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r250227
GCC Administrator [Sat, 15 Jul 2017 00:16:05 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r250218
Uros Bizjak [Fri, 14 Jul 2017 17:19:30 +0000 (19:19 +0200)]
backport: re PR target/81375 (unrecognizable insn)
Backport from mainline
2017-07-10 Uros Bizjak <ubizjak@gmail.com>
PR target/81375
* config/i386/i386.md (divsf3): Add TARGET_SSE to TARGET_SSE_MATH.
(rcpps): Ditto.
(*rsqrtsf2_sse): Ditto.
(rsqrtsf2): Ditto.
(div<mode>3): Macroize insn from divdf3 and divsf3
using MODEF mode iterator.
Backport from mainline
2017-07-04 Uros Bizjak <ubizjak@gmail.com>
PR target/81300
* config/i386/i386.md (setcc + movzbl/and to xor + setcc peepholes):
Require dead FLAGS_REG at the beginning of a peephole.
testsuite/ChangeLog:
Backport from mainline
2017-07-10 Uros Bizjak <ubizjak@gmail.com>
PR target/81375
* gcc.target/i386/pr81375.c: New test.
Backport from mainline
2017-07-04 Uros Bizjak <ubizjak@gmail.com>
PR target/81300
* gcc.target/i386/pr81300.c: New test.
From-SVN: r250211
GCC Administrator [Fri, 14 Jul 2017 00:16:05 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r250192
GCC Administrator [Thu, 13 Jul 2017 00:16:07 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r250170
GCC Administrator [Wed, 12 Jul 2017 00:16:12 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r250144
GCC Administrator [Tue, 11 Jul 2017 00:16:07 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r250108
GCC Administrator [Mon, 10 Jul 2017 00:16:22 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r250087
GCC Administrator [Sun, 9 Jul 2017 00:16:05 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r250076
GCC Administrator [Sat, 8 Jul 2017 00:16:05 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r250069
GCC Administrator [Fri, 7 Jul 2017 00:16:11 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r250044
GCC Administrator [Thu, 6 Jul 2017 00:16:13 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r250009
GCC Administrator [Wed, 5 Jul 2017 00:16:13 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r249979
Thomas Preud'homme [Tue, 4 Jul 2017 13:52:47 +0000 (13:52 +0000)]
Fix ChangeLog format in r249901
This patch fixes relative pathnames in gcc/ChangeLog for r249901.
From-SVN: r249969
Joseph Myers [Tue, 4 Jul 2017 10:25:10 +0000 (11:25 +0100)]
Use ucontext_t not struct ucontext in linux-unwind.h files.
Current glibc no longer gives the ucontext_t type the tag struct
ucontext, to conform with POSIX namespace rules. This requires
various linux-unwind.h files in libgcc, that were previously using
struct ucontext, to be fixed to use ucontext_t instead. This is
similar to the removal of the struct siginfo tag from siginfo_t some
years ago.
This patch changes those files to use ucontext_t instead. As the
standard name that should be unconditionally safe, so this is not
restricted to architectures supported by glibc, or conditioned on the
glibc version.
Tested compilation together with current glibc with glibc's
build-many-glibcs.py.
* config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
config/alpha/linux-unwind.h (alpha_fallback_frame_state),
config/bfin/linux-unwind.h (bfin_fallback_frame_state),
config/i386/linux-unwind.h (x86_64_fallback_frame_state,
x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
config/pa/linux-unwind.h (pa32_fallback_frame_state),
config/sh/linux-unwind.h (sh_fallback_frame_state),
config/tilepro/linux-unwind.h (tile_fallback_frame_state),
config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
ucontext_t instead of struct ucontext.
From-SVN: r249958
GCC Administrator [Tue, 4 Jul 2017 00:16:05 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r249939
Thomas Preud'homme [Mon, 3 Jul 2017 09:38:23 +0000 (09:38 +0000)]
Fix gcc.target/arm/fpscr.c
2017-07-03 Thomas Preud'homme <thomas.preudhomme@arm.com>
gcc/testsuite/
* gcc.target/arm/fpscr.c: Require arm_vfp_ok instead of arm_fp_ok and
add -mfpu=vfp -mfloat-abi=softfp instead of fp_ok options.
From-SVN: r249901
Tom de Vries [Mon, 3 Jul 2017 08:43:40 +0000 (08:43 +0000)]
Backport "Fix sigsegv in find_same_succ_bb"
2017-07-03 Tom de Vries <tom@codesourcery.com>
backport from mainline:
2017-07-03 Tom de Vries <tom@codesourcery.com>
PR tree-optimization/81192
* tree-ssa-tail-merge.c (same_succ_flush_bb): Handle
BB_SAME_SUCC (bb) == NULL.
* gcc.dg/pr81192.c: New test.
From-SVN: r249899
GCC Administrator [Mon, 3 Jul 2017 00:16:17 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r249889
GCC Administrator [Sun, 2 Jul 2017 00:16:12 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r249873
GCC Administrator [Sat, 1 Jul 2017 00:16:12 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r249858
GCC Administrator [Fri, 30 Jun 2017 00:16:09 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r249823
Eric Botcazou [Thu, 29 Jun 2017 18:57:47 +0000 (18:57 +0000)]
backport: re PR sanitizer/78992 (Incorrect sigaction definition on 32-bit sparc)
Backport from mainline
2017-01-10 James Clarke <jrtc27@jrtc27.com>
PR sanitizer/78992
* sanitizer_common/sanitizer_platform_limits_posix.h
(struct __sanitizer_sigaction): Cherry-pick upstream r291561.
2016-11-30 Maxim Ostapenko <m.ostapenko@samsung.com>
PR sanitizer/78532
* sanitizer_common/sanitizer_platform_limits_posix.h
(__sanitizer_sigaction): Adjust for sparc targets and various Glibc
versions.
From-SVN: r249808
GCC Administrator [Thu, 29 Jun 2017 00:16:06 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r249766
GCC Administrator [Wed, 28 Jun 2017 00:16:07 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r249714