Codebase list gcc-7 / e4d6dac
* Update to SVN 20190912 (r275684) from the gcc-7-branch. Matthias Klose 4 years ago
2 changed file(s) with 379 addition(s) and 12 deletion(s). Raw diff Collapse all Expand all
0 gcc-7 (7.4.0-13) unstable; urgency=medium
1
2 * Update to SVN 20190912 (r275684) from the gcc-7-branch.
3 - Fix PR rtl-optimization/89795, PR fortran/91686.
4 * Upload without binary packages after the accidential gcc-7-source
5 removal from the archive.
6
7 -- Matthias Klose <doko@debian.org> Thu, 12 Sep 2019 13:33:19 +0200
8
09 gcc-7 (7.4.0-12) unstable; urgency=medium
110
2 * Update to SVN 20190919 (r275519) from the gcc-7-branch.
11 * Update to SVN 20190909 (r275519) from the gcc-7-branch.
312 - Fix PR libgomp/90585, PR target/90811, PR middle-end/89002, PR c/90474,
413 PR sanitizer/90954, PR c++/90108, PR c/89933, PR c/89734,
514 PR tree-optimization/90637, PR tree-optimization/90930,
0 # DP: updates from the 7 branch upto 20190909 (r275519).
0 # DP: updates from the 7 branch upto 20190912 (r275684).
11
22 last_update()
33 {
44 cat > ${dir}LAST_UPDATED <EOF
5 Mon Sep 9 17:30:00 CEST 2019
6 Mon Sep 9 15:30:00 UTC 2019 (revision 275519)
5 Thu Sep 12 13:28:31 CEST 2019
6 Thu Sep 12 11:28:31 UTC 2019 (revision 275684)
77 EOF
88 }
99
429429 XMLLINT = @XMLLINT@
430430 XSLTPROC = @XSLTPROC@
431431 XSL_STYLE_DIR = @XSL_STYLE_DIR@
432 Index: libstdc++-v3/python/libstdcxx/v6/xmethods.py
433 ===================================================================
434 --- a/src/libstdc++-v3/python/libstdcxx/v6/xmethods.py (.../tags/gcc_7_4_0_release)
435 +++ b/src/libstdc++-v3/python/libstdcxx/v6/xmethods.py (.../branches/gcc-7-branch)
436 @@ -728,7 +728,7 @@
437 return gdb.lookup_type('long')
438
439 def __call__(self, obj):
440 - refcounts = ['_M_refcount']['_M_pi']
441 + refcounts = obj['_M_refcount']['_M_pi']
442 return refcounts['_M_use_count'] if refcounts else 0
443
444 class SharedPtrUniqueWorker(SharedPtrUseCountWorker):
432445 Index: libstdc++-v3/Makefile.in
433446 ===================================================================
434447 --- a/src/libstdc++-v3/Makefile.in (.../tags/gcc_7_4_0_release)
20552068 ===================================================================
20562069 --- a/src/libstdc++-v3/ChangeLog (.../tags/gcc_7_4_0_release)
20572070 +++ b/src/libstdc++-v3/ChangeLog (.../branches/gcc-7-branch)
2058 @@ -1,3 +1,248 @@
2071 @@ -1,3 +1,253 @@
2072 +2019-09-11 Jonathan Wakely <jwakely@redhat.com>
2073 +
2074 + * python/libstdcxx/v6/xmethods.py (SharedPtrUseCountWorker.__call__):
2075 + Fix syntax error.
2076 +
20592077 +2019-09-02 Jonathan Wakely <jwakely@redhat.com>
20602078 +
20612079 + PR middle-end/89303
40774095 +++ b/src/gcc/DATESTAMP (.../branches/gcc-7-branch)
40784096 @@ -1 +1 @@
40794097 -20181206
4080 +20190909
4098 +20190912
40814099 Index: gcc/valtrack.c
40824100 ===================================================================
40834101 --- a/src/gcc/valtrack.c (.../tags/gcc_7_4_0_release)
43434361 {
43444362 offset1 = crtl->outgoing_args_size + get_frame_size ();
43454363 #if !STACK_GROWS_DOWNWARD
4364 @@ -4636,7 +4636,7 @@
4365 || ((extend_op = load_extend_op (inner_mode)) == SIGN_EXTEND
4366 ? val_signbit_known_set_p (inner_mode, nonzero)
4367 : extend_op != ZERO_EXTEND)
4368 - || (!MEM_P (SUBREG_REG (x)) && !REG_P (SUBREG_REG (x))))
4369 + || !MEM_P (SUBREG_REG (x)))
4370 && GET_MODE_PRECISION (GET_MODE (x))
4371 > GET_MODE_PRECISION (inner_mode))
4372 nonzero
43464373 Index: gcc/internal-fn.c
43474374 ===================================================================
43484375 --- a/src/gcc/internal-fn.c (.../tags/gcc_7_4_0_release)
50575084 ===================================================================
50585085 --- a/src/gcc/ChangeLog (.../tags/gcc_7_4_0_release)
50595086 +++ b/src/gcc/ChangeLog (.../branches/gcc-7-branch)
5060 @@ -1,3 +1,1794 @@
5087 @@ -1,3 +1,1800 @@
5088 +2019-09-11 Eric Botcazou <ebotcazou@adacore.com>
5089 +
5090 + PR rtl-optimization/89795
5091 + * rtlanal.c (nonzero_bits1) <SUBREG>: Do not propagate results from
5092 + inner REGs to paradoxical SUBREGs if WORD_REGISTER_OPERATIONS is set.
5093 +
50615094 +2019-09-09 Jakub Jelinek <jakub@redhat.com>
50625095 +
50635096 + PR target/87853
68526885 2018-12-06 Release Manager
68536886
68546887 * GCC 7.4.0 released.
6855 @@ -19,13 +1814,13 @@
6888 @@ -19,13 +1820,13 @@
68566889 * gcc/dwarf2out.c (FUNC_SECOND_SECT_LABEL): New.
68576890 (dwarf2out_switch_text_section): Generate a local label for the second
68586891 function sub-section and apply it as the second FDE start label.
1737217405 /* { dg-require-effective-target ilp32 } */
1737317406 #include <stdio.h>
1737417407 #include <stdlib.h>
17408 Index: gcc/testsuite/gcc.target/sparc/20161111-1.c
17409 ===================================================================
17410 --- a/src/gcc/testsuite/gcc.target/sparc/20161111-1.c (.../tags/gcc_7_4_0_release)
17411 +++ b/src/gcc/testsuite/gcc.target/sparc/20161111-1.c (.../branches/gcc-7-branch)
17412 @@ -14,4 +14,4 @@
17413 return retval;
17414 }
17415
17416 -/* { dg-final { scan-assembler-not "and\t%" } } */
17417 +/* { dg-final { scan-assembler-not "and\t%" { xfail *-*-* } } } */
1737517418 Index: gcc/testsuite/gcc.target/aarch64/pr90075.c
1737617419 ===================================================================
1737717420 --- a/src/gcc/testsuite/gcc.target/aarch64/pr90075.c (.../tags/gcc_7_4_0_release)
1743917482 +{
1744017483 + x = _mm_i32gather_pd ((void *) 0, idx, 1);
1744117484 +}
17485 Index: gcc/testsuite/gcc.target/i386/pr66819-4.c
17486 ===================================================================
17487 --- a/src/gcc/testsuite/gcc.target/i386/pr66819-4.c (.../tags/gcc_7_4_0_release)
17488 +++ b/src/gcc/testsuite/gcc.target/i386/pr66819-4.c (.../branches/gcc-7-branch)
17489 @@ -1,6 +1,6 @@
17490 /* { dg-do compile { target ia32 } } */
17491 /* { dg-options "-O2 -mregparm=3" } */
17492 -/* { dg-final { scan-assembler-not "call" } } */
17493 +/* { dg-final { scan-assembler-not {call[ \t]+_?bar} } } */
17494
17495 #include <stdarg.h>
17496
1744217497 Index: gcc/testsuite/gcc.target/i386/pr32219-1.c
1744317498 ===================================================================
1744417499 --- a/src/gcc/testsuite/gcc.target/i386/pr32219-1.c (.../tags/gcc_7_4_0_release)
1745917514 +
1746017515 +/* For Darwin, we default to PIC - but that's needed for Darwin's PIE. */
1746117516 +/* { dg-final { scan-assembler {movl[ \t]_xxx-L1\$pb\(%eax\),[ \t]%eax} { target { ia32 && *-*-darwin* } } } } */
17517 Index: gcc/testsuite/gcc.target/i386/pr59874-3.c
17518 ===================================================================
17519 --- a/src/gcc/testsuite/gcc.target/i386/pr59874-3.c (.../tags/gcc_7_4_0_release)
17520 +++ b/src/gcc/testsuite/gcc.target/i386/pr59874-3.c (.../branches/gcc-7-branch)
17521 @@ -1,7 +1,8 @@
17522 /* PR target/59874 */
17523 /* { dg-do compile } */
17524 /* { dg-options "-O2 -mpopcnt -masm=att" } */
17525 -/* { dg-final { scan-assembler "popcntw" } } */
17526 +/* { dg-final { scan-assembler "\tpopcntw" { target { ! *-*-darwin* } } } } */
17527 +/* { dg-final { scan-assembler "\tpopcnt" { target *-*-darwin* } } } */
17528
17529 unsigned int
17530 foo (unsigned short x)
1746217531 Index: gcc/testsuite/gcc.target/i386/pr91704.c
1746317532 ===================================================================
1746417533 --- a/src/gcc/testsuite/gcc.target/i386/pr91704.c (.../tags/gcc_7_4_0_release)
1750417573
1750517574 void fn (void *, int, int);
1750617575 int fn2 (void);
17576 Index: gcc/testsuite/gcc.target/i386/pr67985-2.c
17577 ===================================================================
17578 --- a/src/gcc/testsuite/gcc.target/i386/pr67985-2.c (.../tags/gcc_7_4_0_release)
17579 +++ b/src/gcc/testsuite/gcc.target/i386/pr67985-2.c (.../branches/gcc-7-branch)
17580 @@ -10,4 +10,4 @@
17581
17582 /* { dg-final { scan-assembler-not "mulss" } } */
17583 /* { dg-final { scan-assembler-not "movl\[ \t\].*, %eax" } } */
17584 -/* { dg-final { scan-assembler "call\[ \t\]__mulsf3" } } */
17585 +/* { dg-final { scan-assembler "call\[ \t\]_?__mulsf3" } } */
1750717586 Index: gcc/testsuite/gcc.target/i386/pr89523-5.c
1750817587 ===================================================================
1750917588 --- a/src/gcc/testsuite/gcc.target/i386/pr89523-5.c (.../tags/gcc_7_4_0_release)
1756817647 +/* Darwin m32 defaults to PIC but common symbols need to be indirected. */
1756917648 +/* { dg-final { scan-assembler {movl[ \t]l_xxx\$non_lazy_ptr-L1\$pb\(%eax\),[ \t]%eax} { target { ia32 && *-*-darwin* } } } } */
1757017649 +
17650 Index: gcc/testsuite/gcc.target/i386/pr39013-1.c
17651 ===================================================================
17652 --- a/src/gcc/testsuite/gcc.target/i386/pr39013-1.c (.../tags/gcc_7_4_0_release)
17653 +++ b/src/gcc/testsuite/gcc.target/i386/pr39013-1.c (.../branches/gcc-7-branch)
17654 @@ -12,5 +12,9 @@
17655 return foo () + bar ();
17656 }
17657
17658 -/* { dg-final { scan-assembler "foo@PLT" } } */
17659 -/* { dg-final { scan-assembler "bar@PLT" } } */
17660 +/* { dg-final { scan-assembler "foo@PLT" { target { ! *-*-darwin* } } } } */
17661 +/* { dg-final { scan-assembler "bar@PLT" { target { ! *-*-darwin* } } } } */
17662 +
17663 +/* Darwin's dynamic linker does PIE without indirection. */
17664 +/* { dg-final { scan-assembler {call[ \t]_foo} { target *-*-darwin* } } } */
17665 +/* { dg-final { scan-assembler {call[ \t]_bar} { target *-*-darwin* } } } */
1757117666 Index: gcc/testsuite/gcc.target/i386/pr90547.c
1757217667 ===================================================================
1757317668 --- a/src/gcc/testsuite/gcc.target/i386/pr90547.c (.../tags/gcc_7_4_0_release)
1770717802
1770817803 void func0 (void);
1770917804 void func1 (void);
17805 Index: gcc/testsuite/gcc.target/i386/pr39013-2.c
17806 ===================================================================
17807 --- a/src/gcc/testsuite/gcc.target/i386/pr39013-2.c (.../tags/gcc_7_4_0_release)
17808 +++ b/src/gcc/testsuite/gcc.target/i386/pr39013-2.c (.../branches/gcc-7-branch)
17809 @@ -12,5 +12,9 @@
17810 return foo () + bar ();
17811 }
17812
17813 -/* { dg-final { scan-assembler "foo@PLT" } } */
17814 -/* { dg-final { scan-assembler "bar@PLT" } } */
17815 +/* { dg-final { scan-assembler "foo@PLT" { target { ! *-*-darwin* } } } } */
17816 +/* { dg-final { scan-assembler "bar@PLT" { target { ! *-*-darwin* } } } } */
17817 +
17818 +/* Darwin's dynamic linker does PIE without indirection. */
17819 +/* { dg-final { scan-assembler {call[ \t]_foo} { target *-*-darwin* } } } */
17820 +/* { dg-final { scan-assembler {call[ \t]_bar} { target *-*-darwin* } } } */
1771017821 Index: gcc/testsuite/gcc.target/i386/fuse-caller-save-rec.c
1771117822 ===================================================================
1771217823 --- a/src/gcc/testsuite/gcc.target/i386/fuse-caller-save-rec.c (.../tags/gcc_7_4_0_release)
1775917870 /* Check absence of save/restore of xmm1 register. */
1776017871 /* { dg-final { scan-assembler-not "movaps\t%xmm1, \\(%\[re\]?sp\\)" } } */
1776117872 /* { dg-final { scan-assembler-not "movapd\t\\(%\[re\]?sp\\), %xmm1" } } */
17873 Index: gcc/testsuite/gcc.target/i386/pr77881.c
17874 ===================================================================
17875 --- a/src/gcc/testsuite/gcc.target/i386/pr77881.c (.../tags/gcc_7_4_0_release)
17876 +++ b/src/gcc/testsuite/gcc.target/i386/pr77881.c (.../branches/gcc-7-branch)
17877 @@ -8,5 +8,5 @@
17878 if (a < 0 || b)
17879 baz ();
17880 }
17881 -/* { dg-final { scan-assembler "js\[ \t\]\.L" } } */
17882 -/* { dg-final { scan-assembler "jne\[ \t\]\.L" } } */
17883 +/* { dg-final { scan-assembler "js\[ \t\]\.?L" } } */
17884 +/* { dg-final { scan-assembler "jne\[ \t\]\.?L" } } */
1776217885 Index: gcc/testsuite/gcc.target/i386/pr87853.c
1776317886 ===================================================================
1776417887 --- a/src/gcc/testsuite/gcc.target/i386/pr87853.c (.../tags/gcc_7_4_0_release)
1828218405 +/* { dg-options "-O2 -fgcse-sm -msse3 -mfpmath=387" } */
1828318406 +
1828418407 +#include "../../gcc.c-torture/execute/stdarg-3.c"
18408 Index: gcc/testsuite/gcc.target/i386/pr24414.c
18409 ===================================================================
18410 --- a/src/gcc/testsuite/gcc.target/i386/pr24414.c (.../tags/gcc_7_4_0_release)
18411 +++ b/src/gcc/testsuite/gcc.target/i386/pr24414.c (.../branches/gcc-7-branch)
18412 @@ -1,5 +1,6 @@
18413 /* { dg-do run } */
18414 /* { dg-options "-O2" } */
18415 +/* { dg-skip-if "asm insert mismatches ABI for Darwin" { *-*-darwin* } } */
18416 int test;
18417
18418 int
1828518419 Index: gcc/testsuite/gcc.target/i386/pr88418.c
1828618420 ===================================================================
1828718421 --- a/src/gcc/testsuite/gcc.target/i386/pr88418.c (.../tags/gcc_7_4_0_release)
1863118765 +{
1863218766 + x = _mm_i64gather_pd (base, idx, 1);
1863318767 +}
18768 Index: gcc/testsuite/gcc.target/i386/pr66819-3.c
18769 ===================================================================
18770 --- a/src/gcc/testsuite/gcc.target/i386/pr66819-3.c (.../tags/gcc_7_4_0_release)
18771 +++ b/src/gcc/testsuite/gcc.target/i386/pr66819-3.c (.../branches/gcc-7-branch)
18772 @@ -1,6 +1,6 @@
18773 /* { dg-do compile { target ia32 } } */
18774 /* { dg-options "-O2 -mregparm=3" } */
18775 -/* { dg-final { scan-assembler-not "call" } } */
18776 +/* { dg-final { scan-assembler-not {call[ \t]+_?bar} } } */
18777
18778 void (*bar)(int, int);
18779
1863418780 Index: gcc/testsuite/gcc.target/i386/pr88906.c
1863518781 ===================================================================
1863618782 --- a/src/gcc/testsuite/gcc.target/i386/pr88906.c (.../tags/gcc_7_4_0_release)
1865718803 + __builtin_abort ();
1865818804 + return 0;
1865918805 +}
18806 Index: gcc/testsuite/gcc.target/i386/pr70738-7.c
18807 ===================================================================
18808 --- a/src/gcc/testsuite/gcc.target/i386/pr70738-7.c (.../tags/gcc_7_4_0_release)
18809 +++ b/src/gcc/testsuite/gcc.target/i386/pr70738-7.c (.../branches/gcc-7-branch)
18810 @@ -1,4 +1,4 @@
18811 -/* { dg-do compile { target ia32 } } */
18812 +/* { dg-do compile { target { ia32 && { ! *-*-darwin* } } } } */
18813 /* { dg-options "-msse2 -mgeneral-regs-only" } */
18814
18815 extern float a, b, c;
18816 Index: gcc/testsuite/gcc.target/i386/pr64317.c
18817 ===================================================================
18818 --- a/src/gcc/testsuite/gcc.target/i386/pr64317.c (.../tags/gcc_7_4_0_release)
18819 +++ b/src/gcc/testsuite/gcc.target/i386/pr64317.c (.../branches/gcc-7-branch)
18820 @@ -2,9 +2,14 @@
18821 /* { dg-require-effective-target ia32 } */
18822 /* { dg-require-effective-target pie } */
18823 /* { dg-options "-O2 -fpie" } */
18824 -/* { dg-final { scan-assembler "addl\[ \\t\]+\[$\]_GLOBAL_OFFSET_TABLE_, %ebx" } } */
18825 -/* { dg-final { scan-assembler "movl\[ \\t\]+c@GOTOFF\[(\]%ebx\[)\]" } } */
18826 -/* { dg-final { scan-assembler-not "movl\[ \\t\]+\[0-9]+\[(\]%esp\[)\], %ebx" } } */
18827 +/* { dg-final { scan-assembler "addl\[ \\t\]+\[$\]_GLOBAL_OFFSET_TABLE_, %ebx" { target { ! *-*-darwin* } } } } */
18828 +/* { dg-final { scan-assembler "movl\[ \\t\]+c@GOTOFF\[(\]%ebx\[)\]" { target { ! *-*-darwin* } } } } */
18829 +/* { dg-final { scan-assembler-not "movl\[ \\t\]+\[0-9]+\[(\]%esp\[)\], %ebx" { target { ! *-*-darwin* } } } } */
18830 +
18831 +/* Check PIC access to c and t1 on Darwin (PIC is default, needed for PIE). */
18832 +/* { dg-final { scan-assembler {_c-L1\$pb\(%} { target *-*-darwin* } } } */
18833 +/* { dg-final { scan-assembler {_t1.[0-9]+-L1\$pb\(%} { target *-*-darwin* } } } */
18834 +
18835 long c = 1;
18836
18837 int bar();
1866018838 Index: gcc/testsuite/gcc.target/i386/pr32219-8.c
1866118839 ===================================================================
1866218840 --- a/src/gcc/testsuite/gcc.target/i386/pr32219-8.c (.../tags/gcc_7_4_0_release)
1951319691 + integer :: j, js(3,2)
1951419692 + js(:,:) = cshift (js(:,:), shift=j, dim=1)
1951519693 +end subroutine bug
19694 Index: gcc/testsuite/gfortran.dg/pr91686.f90
19695 ===================================================================
19696 --- a/src/gcc/testsuite/gfortran.dg/pr91686.f90 (.../tags/gcc_7_4_0_release)
19697 +++ b/src/gcc/testsuite/gfortran.dg/pr91686.f90 (.../branches/gcc-7-branch)
19698 @@ -0,0 +1,16 @@
19699 +! { dg-do run }
19700 +!
19701 +! Test the fix for PR91686
19702 +!
19703 +! Contributed by <urbanjost@comcast.net>
19704 +!
19705 +program shuf
19706 + implicit none
19707 + character(len=:),allocatable :: pageout(:)
19708 + integer :: i
19709 + pageout=[character(len=20) :: 'a','bbbbbbb','ccccc']
19710 + pageout=pageout([3,2,1])
19711 + if (trim( pageout(1)) .ne. 'ccccc') stop 1
19712 + if (trim( pageout(2)) .ne. 'bbbbbbb') stop 2
19713 + if (trim( pageout(3)) .ne. 'a') stop 3
19714 +end program shuf
1951619715 Index: gcc/testsuite/gfortran.dg/pr85797.f90
1951719716 ===================================================================
1951819717 --- a/src/gcc/testsuite/gfortran.dg/pr85797.f90 (.../tags/gcc_7_4_0_release)
2379623995 +B (sqrt)
2379723996 +B (fabs)
2379823997 +B (logb)
23998 Index: gcc/testsuite/gcc.dg/uninit-19.c
23999 ===================================================================
24000 --- a/src/gcc/testsuite/gcc.dg/uninit-19.c (.../tags/gcc_7_4_0_release)
24001 +++ b/src/gcc/testsuite/gcc.dg/uninit-19.c (.../branches/gcc-7-branch)
24002 @@ -23,5 +23,5 @@
24003 fn1 (l, &d, &e, &g, &i, &h, &k, n); /* 23. */
24004 }
24005
24006 -/* { dg-warning "may be used uninitialized" "" { target { { nonpic } || { hppa*64*-*-* } } } 14 } */
24007 -/* { dg-warning "may be used uninitialized" "" { target { ! { { nonpic } || { hppa*64*-*-* } } } } 23 } */
24008 +/* { dg-warning "may be used uninitialized" "" { target { { nonpic } || { hppa*64*-*-* *-*-darwin* } } } 14 } */
24009 +/* { dg-warning "may be used uninitialized" "" { target { ! { { nonpic } || { hppa*64*-*-* *-*-darwin* } } } } 23 } */
2379924010 Index: gcc/testsuite/gcc.dg/pr89679.c
2380024011 ===================================================================
2380124012 --- a/src/gcc/testsuite/gcc.dg/pr89679.c (.../tags/gcc_7_4_0_release)
2398724198 ===================================================================
2398824199 --- a/src/gcc/testsuite/ChangeLog (.../tags/gcc_7_4_0_release)
2398924200 +++ b/src/gcc/testsuite/ChangeLog (.../branches/gcc-7-branch)
23990 @@ -1,3 +1,1832 @@
24201 @@ -1,3 +1,1904 @@
24202 +2019-09-12 Paul Thomas <pault@gcc.gnu.org>
24203 +
24204 + PR fortran/91686
24205 + * gfortran.dg/pr91686.f90 : New test.
24206 +
24207 +2019-09-11 Eric Botcazou <ebotcazou@adacore.com>
24208 +
24209 + * gcc.target/sparc/20161111-1.c: XFAIL redundant zero-extension test.
24210 +
24211 +2019-09-10 Iain Sandoe <iain@sandoe.co.uk>
24212 +
24213 + Backport from mainline.
24214 + 2019-05-26 Iain Sandoe <iain@sandoe.co.uk>
24215 +
24216 + * gcc.target/i386/pr39013-1.c: Adjust scan-asms for PIE to
24217 + account for PIC code on Darwin.
24218 + * gcc.target/i386/pr39013-2.c: Likewise.
24219 + * gcc.target/i386/pr64317.c: Likewise.
24220 +
24221 +2019-09-10 Iain Sandoe <iain@sandoe.co.uk>
24222 +
24223 + Backport from mainline.
24224 + 2019-05-25 Iain Sandoe <iain@sandoe.co.uk>
24225 +
24226 + * gcc.target/i386/pr59874-3.c: Use the spelling of popcnt
24227 + expected for Darwin.
24228 +
24229 +2019-09-09 Iain Sandoe <iain@sandoe.co.uk>
24230 +
24231 + Backport from mainline.
24232 + 2019-07-25 Iain Sandoe <iain@sandoe.co.uk>
24233 +
24234 + PR gcov-profile/91087
24235 + * g++.dg/gcov/pr16855.C: Xfail the count lines for the DTORs and the
24236 + "final" line for the failure summaries. Adjust source layout so that
24237 + dejagnu xfail expressions work.
24238 +
24239 +2019-09-09 Iain Sandoe <iain@sandoe.co.uk>
24240 +
24241 + Backport from mainline.
24242 + 2019-06-11 Iain Sandoe <iain@sandoe.co.uk>
24243 +
24244 + PR testsuite/65364
24245 + * gcc.dg/uninit-19.c (fn1): Adjust target condition for Darwin.
24246 + (fn2): Likewise.
24247 +
24248 +2019-09-09 Iain Sandoe <iain@sandoe.co.uk>
24249 +
24250 + Backport from mainline.
24251 + 2019-05-24 Iain Sandoe <iain@sandoe.co.uk>
24252 +
24253 + * gcc.target/i386/pr66819-3.c: Specifically, check that there is no
24254 + call to "bar".
24255 + * gcc.target/i386/pr66819-4.c: Likewise.
24256 +
24257 +2019-09-09 Iain Sandoe <iain@sandoe.co.uk>
24258 +
24259 + Backport from mainline.
24260 + 2019-05-24 Iain Sandoe <iain@sandoe.co.uk>
24261 +
24262 + * gcc.target/i386/pr67985-2.c: Adjust label checks for
24263 + Darwin.
24264 + * gcc.target/i386/pr77881.c: Likewise.
24265 +
24266 +2019-09-09 Iain Sandoe <iain@sandoe.co.uk>
24267 +
24268 + Backport from mainline.
24269 + 2019-05-24 Iain Sandoe <iain@sandoe.co.uk>
24270 +
24271 + * gcc.target/i386/pr70738-7.c: Likewise.
24272 + * gcc.target/i386/pr24414.c: Likewise.
24273 +
2399124274 +2019-09-09 Jakub Jelinek <jakub@redhat.com>
2399224275 +
2399324276 + PR target/87853
2475625039 +
2475725040 + PR c++/60994
2475825041 + * g++.dg/lookup/pr60994.C: New test.
24759 +
25042 +
2476025043 + 2018-10-25 Jakub Jelinek <jakub@redhat.com>
2476125044 +
2476225045 + PR fortran/87725
2521025493 + * gcc.dg/torture/pr86554-2.c: Likewise.
2521125494 +
2521225495 + 2018-11-20 Richard Biener <rguenther@suse.de>
25213 +
25496 +
2521425497 + PR tree-optimization/88105
2521525498 + * gcc.dg/gomp/pr88105.c: New testcase.
2521625499 +
2802228305 +S *f11 () { return &T::u7; }
2802328306 +template <int N>
2802428307 +int *f12 () { return &T::u8.i; }
28308 Index: gcc/testsuite/g++.dg/gcov/pr16855.C
28309 ===================================================================
28310 --- a/src/gcc/testsuite/g++.dg/gcov/pr16855.C (.../tags/gcc_7_4_0_release)
28311 +++ b/src/gcc/testsuite/g++.dg/gcov/pr16855.C (.../branches/gcc-7-branch)
28312 @@ -1,6 +1,8 @@
28313 /* { dg-options "-fprofile-arcs -ftest-coverage" } */
28314 /* { dg-do run { target native } } */
28315
28316 +/* See PR91087 for information on Darwin xfails. */
28317 +
28318 #include <stdlib.h>
28319 #include <stdio.h>
28320
28321 @@ -18,7 +20,9 @@
28322 {
28323 public:
28324 Test (void) { fprintf (stderr, "In Test::Test\n"); /* count(1) */ }
28325 - ~Test (void) { fprintf (stderr, "In Test::~Test\n"); /* count(1) */ }
28326 + ~Test (void) {
28327 + fprintf (stderr, "In Test::~Test\n"); /* count(1) { xfail *-*-darwin* } */
28328 + }
28329 } T1;
28330
28331 void
28332 @@ -42,7 +46,7 @@
28333
28334 static void __attribute__ ((destructor)) dtor_default ()
28335 {
28336 - fprintf (stderr, "in destructor(())\n"); /* count(1) */
28337 + fprintf (stderr, "in destructor(())\n"); /* count(1) { xfail *-*-darwin* } */
28338 }
28339
28340 -/* { dg-final { run-gcov branches { -b pr16855.C } } } */
28341 +/* { dg-final { run-gcov branches { -b pr16855.C } { xfail *-*-darwin* } } } */
2802528342 Index: gcc/testsuite/objc.dg/instancetype-0.m
2802628343 ===================================================================
2802728344 --- a/src/gcc/testsuite/objc.dg/instancetype-0.m (.../tags/gcc_7_4_0_release)
3117331490 {
3117431491 trans_class_vptr_len_assignment (&block, expr1, expr2, &rse, NULL,
3117531492 NULL);
31493 @@ -10102,19 +10165,27 @@
31494 /* When assigning a character function result to a deferred-length variable,
31495 the function call must happen before the (re)allocation of the lhs -
31496 otherwise the character length of the result is not known.
31497 - NOTE: This relies on having the exact dependence of the length type
31498 + NOTE 1: This relies on having the exact dependence of the length type
31499 parameter available to the caller; gfortran saves it in the .mod files.
31500 - NOTE ALSO: The concatenation operation generates a temporary pointer,
31501 + NOTE 2: Vector array references generate an index temporary that must
31502 + not go outside the loop. Otherwise, variables should not generate
31503 + a pre block.
31504 + NOTE 3: The concatenation operation generates a temporary pointer,
31505 whose allocation must go to the innermost loop.
31506 - NOTE ALSO (2): A character conversion may generate a temporary, too. */
31507 + NOTE 4: Elemental functions may generate a temporary, too. */
31508 if (flag_realloc_lhs
31509 && expr2->ts.type == BT_CHARACTER && expr1->ts.deferred
31510 && !(lss != gfc_ss_terminator
31511 - && ((expr2->expr_type == EXPR_OP
31512 - && expr2->value.op.op == INTRINSIC_CONCAT)
31513 + && rss != gfc_ss_terminator
31514 + && ((expr2->expr_type == EXPR_VARIABLE && expr2->rank)
31515 || (expr2->expr_type == EXPR_FUNCTION
31516 + && expr2->value.function.esym != NULL
31517 + && expr2->value.function.esym->attr.elemental)
31518 + || (expr2->expr_type == EXPR_FUNCTION
31519 && expr2->value.function.isym != NULL
31520 - && expr2->value.function.isym->id == GFC_ISYM_CONVERSION))))
31521 + && expr2->value.function.isym->elemental)
31522 + || (expr2->expr_type == EXPR_OP
31523 + && expr2->value.op.op == INTRINSIC_CONCAT))))
31524 gfc_add_block_to_block (&block, &rse.pre);
31525
31526 /* Nullify the allocatable components corresponding to those of the lhs
3117631527 Index: gcc/fortran/trans-array.c
3117731528 ===================================================================
3117831529 --- a/src/gcc/fortran/trans-array.c (.../tags/gcc_7_4_0_release)
3161831969 ===================================================================
3161931970 --- a/src/gcc/fortran/ChangeLog (.../tags/gcc_7_4_0_release)
3162031971 +++ b/src/gcc/fortran/ChangeLog (.../branches/gcc-7-branch)
31621 @@ -1,3 +1,429 @@
31972 @@ -1,3 +1,436 @@
31973 +2019-09-12 Paul Thomas <pault@gcc.gnu.org>
31974 +
31975 + PR fortran/91686
31976 + Backport from mainline
31977 + * trans-expr.c (gfc_trans_assignment_1): Copy and paste section
31978 + handling the rse.pre block from mainline.
31979 +
3162231980 +2019-08-30 Jakub Jelinek <jakub@redhat.com>
3162331981 +
3162431982 + Backported from mainline