]> git.ipfire.org Git - thirdparty/gcc.git/log
thirdparty/gcc.git
7 years agoDaily bump.
GCC Administrator [Mon, 4 Sep 2017 00:16:12 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r251630

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

From-SVN: r251621

7 years agobackport: re PR fortran/81770 (Bogus warning: Pointer in pointer assignment might...
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

7 years agoDaily bump.
GCC Administrator [Sat, 2 Sep 2017 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r251614

7 years agoMake std::scoped_allocator_adaptor's OUTERMOST recursive
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

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

From-SVN: r251577

7 years agoDaily bump.
GCC Administrator [Thu, 31 Aug 2017 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r251550

7 years agoDaily bump.
GCC Administrator [Wed, 30 Aug 2017 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r251441

7 years agoDaily bump.
GCC Administrator [Tue, 29 Aug 2017 00:16:12 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r251392

7 years agoDaily bump.
GCC Administrator [Mon, 28 Aug 2017 00:16:10 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r251370

7 years agoDaily bump.
GCC Administrator [Sun, 27 Aug 2017 00:16:28 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r251364

7 years agoDaily bump.
GCC Administrator [Sat, 26 Aug 2017 00:16:28 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r251359

7 years agoDaily bump.
GCC Administrator [Fri, 25 Aug 2017 00:16:10 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r251343

7 years agoDaily bump.
GCC Administrator [Thu, 24 Aug 2017 00:16:10 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r251322

7 years agoDaily bump.
GCC Administrator [Wed, 23 Aug 2017 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r251297

7 years agobackport: re PR target/80210 (ICE in in extract_insn, at recog.c:2311 on ppc64 for...
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

7 years agobackport: re PR lto/81487 ([mingw32] ld.exe: error: asprintf failed)
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

7 years agobackport: re PR rtl-optimization/75964 (insn combiner removes comparison after ABS)
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

7 years agobackport: re PR target/81305 ([avr] avrtiny uses LDS for SREG in ISR routines which...
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

7 years agobackport: re PR target/79883 (avr i18n: untranslated "interrupt" or "signal")
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

7 years agobackport: re PR target/80462 ([avr] Incorrect "warning: uninitialized variable 'xxx...
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

7 years agobackport: re PR target/81910 ([avr] ICE with "address" attribute on type)
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

7 years agoDaily bump.
GCC Administrator [Tue, 22 Aug 2017 00:16:15 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r251250

7 years agoDaily bump.
GCC Administrator [Mon, 21 Aug 2017 00:16:32 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r251212

7 years agoDaily bump.
GCC Administrator [Sun, 20 Aug 2017 00:16:10 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r251202

7 years agore PR target/81894 (Typo in x86 built-in function list)
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

7 years agoDaily bump.
GCC Administrator [Sat, 19 Aug 2017 00:16:07 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r251193

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

From-SVN: r251175

7 years agobackport: re PR target/81861 (ASan pr64820.c testcase segfaults with LTO and -fstack...
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

7 years agoDaily bump.
GCC Administrator [Thu, 17 Aug 2017 00:16:20 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r251136

7 years agobackport: re PR tree-optimization/81354 (Segmentation fault in SSA Strength Reduction...
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

7 years agoDaily bump.
GCC Administrator [Wed, 16 Aug 2017 00:17:39 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r251110

7 years agoDaily bump.
GCC Administrator [Mon, 14 Aug 2017 00:16:40 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r251077

7 years agoDaily bump.
GCC Administrator [Sun, 13 Aug 2017 00:16:32 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r251069

7 years agoDaily bump.
GCC Administrator [Sat, 12 Aug 2017 00:16:09 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r251061

7 years agoDaily bump.
GCC Administrator [Fri, 11 Aug 2017 00:16:43 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r251042

7 years agoDaily bump.
GCC Administrator [Thu, 10 Aug 2017 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r251014

7 years agoDaily bump.
GCC Administrator [Wed, 9 Aug 2017 00:16:07 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r250980

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

From-SVN: r250937

7 years agoDaily bump.
GCC Administrator [Mon, 7 Aug 2017 00:16:16 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r250905

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

From-SVN: r250891

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

From-SVN: r250886

8 years agoDaily bump.
GCC Administrator [Fri, 4 Aug 2017 00:16:10 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r250861

8 years agoDaily bump.
GCC Administrator [Thu, 3 Aug 2017 00:16:07 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r250838

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

From-SVN: r250807

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

From-SVN: r250753

8 years agore PR sanitizer/81604 (Ubsan type reporting can be bogus in some cases)
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

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

From-SVN: r250722

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

From-SVN: r250715

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

From-SVN: r250690

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

From-SVN: r250644

8 years agore PR tree-optimization/81555 (Wrong code at -O1)
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

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

From-SVN: r250598

8 years agobackport: rs6000.c (rs6000_elf_output_toc_section_asm_op): Align .toc.
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

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

From-SVN: r250551

8 years agobackport: re PR tree-optimization/81162 (UBSAN switch triggers incorrect optimization...
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

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

From-SVN: r250490

8 years agore PR target/80569 (i686: "shrx" instruction generated in 16-bit mode)
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

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

From-SVN: r250467

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

From-SVN: r250454

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

From-SVN: r250447

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

From-SVN: r250409

8 years agore PR go/81393 (Bootstrap failure on s390x-linux while building libgo against recent...
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

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

From-SVN: r250373

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

From-SVN: r250329

8 years agore PR target/81471 (internal compiler error: in curr_insn_transform, at lra-constrain...
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

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

From-SVN: r250291

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

From-SVN: r250248

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

From-SVN: r250227

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

From-SVN: r250218

8 years agobackport: re PR target/81375 (unrecognizable insn)
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

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

From-SVN: r250192

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

From-SVN: r250170

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

From-SVN: r250144

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

From-SVN: r250108

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

From-SVN: r250087

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

From-SVN: r250076

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

From-SVN: r250069

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

From-SVN: r250044

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

From-SVN: r250009

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

From-SVN: r249979

8 years agoFix ChangeLog format in r249901
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

8 years agoUse ucontext_t not struct ucontext in linux-unwind.h files.
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

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

From-SVN: r249939

8 years agoFix gcc.target/arm/fpscr.c
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

8 years agoBackport "Fix sigsegv in find_same_succ_bb"
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

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

From-SVN: r249889

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

From-SVN: r249873

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

From-SVN: r249858

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

From-SVN: r249823

8 years agobackport: re PR sanitizer/78992 (Incorrect sigaction definition on 32-bit sparc)
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

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

From-SVN: r249766

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

From-SVN: r249714

8 years agoRevert: backport PRs 80382, 80966
Segher Boessenkool [Tue, 27 Jun 2017 21:45:45 +0000 (23:45 +0200)] 
Revert: backport PRs 80382, 80966

Those two changes aren't actually applicable to 5.  Sorry for the noise.

Revert:
Backports from trunk:

2017-04-12  Segher Boessenkool  <segher@kernel.crashing.org>
PR target/80382
* config/rs6000/sync.md (atomic_load<mode>, atomic_store<mode): Test
for quad_address_p for TImode, instead of just not indexed_address.

2017-06-09  Segher Boessenkool  <segher@kernel.crashing.org>
PR target/80966
* config/rs6000/rs6000.c (rs6000_emit_allocate_stack): Assert that
gen_add3_insn did not fail.
* config/rs6000/rs6000.md (add<mode>3): If asked to add a constant to
r0, construct that number in a temporary reg and add that reg to r0.
If asked to put the result in r0 as well, fail.

Revert:
Backport from trunk:

2017-06-09  Segher Boessenkool  <segher@kernel.crashing.org>
PR target/80966
* gcc.target/powerpc/stack-limit.c: New testcase.

From-SVN: r249711

8 years agoBackport PRs 61729, 73650, 77850, 80382, 80618, 80692, 80902, 80966
Segher Boessenkool [Tue, 27 Jun 2017 18:24:51 +0000 (20:24 +0200)] 
Backport PRs 61729, 73650, 77850, 80382, 80618, 80692, 80902, 80966

Backports from trunk:

2016-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
PR rtl-optimization/73650
* lra-constraints.c (simple_move_p): If the insn is multiple_sets
it is not a simple move.

2017-01-20  Segher Boessenkool  <segher@kernel.crashing.org>
PR target/61729
PR target/77850
* config/rs6000/rs6000.c (rs6000_gimplify_va_arg): Adjust address to
read from, for big endian.

2017-04-12  Segher Boessenkool  <segher@kernel.crashing.org>
PR target/80382
* config/rs6000/sync.md (atomic_load<mode>, atomic_store<mode): Test
for quad_address_p for TImode, instead of just not indexed_address.

2017-05-17  Segher Boessenkool  <segher@kernel.crashing.org>
PR middle-end/80692
* real.c (do_compare): Give decimal_do_compare preference over
comparing just the signs.

2017-05-31  Segher Boessenkool  <segher@kernel.crashing.org>
PR target/80618
* config/rs6000/vector.md (*vector_uneq<mode>): Write the nor in the
splitter result in the canonical way.

2017-06-09  Segher Boessenkool  <segher@kernel.crashing.org>
PR target/80966
* config/rs6000/rs6000.c (rs6000_emit_allocate_stack): Assert that
gen_add3_insn did not fail.
* config/rs6000/rs6000.md (add<mode>3): If asked to add a constant to
r0, construct that number in a temporary reg and add that reg to r0.
If asked to put the result in r0 as well, fail.

2017-06-23  Segher Boessenkool  <segher@kernel.crashing.org>
PR middle-end/80902
* builtins.c (expand_builtin_atomic_fetch_op): If emitting code after
a call, force the call to not be a tail call.

gcc/testsuite/
Backports from trunk:

2017-05-17  Segher Boessenkool  <segher@kernel.crashing.org>
PR middle-end/80692
* gcc.c-torture/execute/pr80692.c: New testcase.

2017-06-09  Segher Boessenkool  <segher@kernel.crashing.org>
PR target/80966
* gcc.target/powerpc/stack-limit.c: New testcase.

From-SVN: r249707

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

From-SVN: r249670

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

From-SVN: r249634

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

From-SVN: r249629

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

From-SVN: r249616

8 years ago[ARM] Rename FPSCR builtins to correct names
Thomas Preud'homme [Fri, 23 Jun 2017 16:15:56 +0000 (16:15 +0000)] 
[ARM] Rename FPSCR builtins to correct names

2017-06-23  Thomas Preud'homme  <thomas.preudhomme@arm.com>

    Backport from mainline
    2017-05-04  Prakhar Bahuguna  <prakhar.bahuguna@arm.com>

    gcc/
    * gcc/config/arm/arm-builtins.c (arm_init_builtins): Rename
    __builtin_arm_ldfscr to __builtin_arm_get_fpscr, and rename
    __builtin_arm_stfscr to __builtin_arm_set_fpscr.

    gcc/testsuite/
    * gcc.target/arm/fpscr.c: New file.

From-SVN: r249598