0 | |
# DP: updates from the 7 branch upto 20190909 (r275519).
|
|
0 |
# DP: updates from the 7 branch upto 20190912 (r275684).
|
1 | 1 |
|
2 | 2 |
last_update()
|
3 | 3 |
{
|
4 | 4 |
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)
|
7 | 7 |
EOF
|
8 | 8 |
}
|
9 | 9 |
|
|
429 | 429 |
XMLLINT = @XMLLINT@
|
430 | 430 |
XSLTPROC = @XSLTPROC@
|
431 | 431 |
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):
|
432 | 445 |
Index: libstdc++-v3/Makefile.in
|
433 | 446 |
===================================================================
|
434 | 447 |
--- a/src/libstdc++-v3/Makefile.in (.../tags/gcc_7_4_0_release)
|
|
2055 | 2068 |
===================================================================
|
2056 | 2069 |
--- a/src/libstdc++-v3/ChangeLog (.../tags/gcc_7_4_0_release)
|
2057 | 2070 |
+++ 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 |
+
|
2059 | 2077 |
+2019-09-02 Jonathan Wakely <jwakely@redhat.com>
|
2060 | 2078 |
+
|
2061 | 2079 |
+ PR middle-end/89303
|
|
4077 | 4095 |
+++ b/src/gcc/DATESTAMP (.../branches/gcc-7-branch)
|
4078 | 4096 |
@@ -1 +1 @@
|
4079 | 4097 |
-20181206
|
4080 | |
+20190909
|
|
4098 |
+20190912
|
4081 | 4099 |
Index: gcc/valtrack.c
|
4082 | 4100 |
===================================================================
|
4083 | 4101 |
--- a/src/gcc/valtrack.c (.../tags/gcc_7_4_0_release)
|
|
4343 | 4361 |
{
|
4344 | 4362 |
offset1 = crtl->outgoing_args_size + get_frame_size ();
|
4345 | 4363 |
#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
|
4346 | 4373 |
Index: gcc/internal-fn.c
|
4347 | 4374 |
===================================================================
|
4348 | 4375 |
--- a/src/gcc/internal-fn.c (.../tags/gcc_7_4_0_release)
|
|
5057 | 5084 |
===================================================================
|
5058 | 5085 |
--- a/src/gcc/ChangeLog (.../tags/gcc_7_4_0_release)
|
5059 | 5086 |
+++ 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 |
+
|
5061 | 5094 |
+2019-09-09 Jakub Jelinek <jakub@redhat.com>
|
5062 | 5095 |
+
|
5063 | 5096 |
+ PR target/87853
|
|
6852 | 6885 |
2018-12-06 Release Manager
|
6853 | 6886 |
|
6854 | 6887 |
* GCC 7.4.0 released.
|
6855 | |
@@ -19,13 +1814,13 @@
|
|
6888 |
@@ -19,13 +1820,13 @@
|
6856 | 6889 |
* gcc/dwarf2out.c (FUNC_SECOND_SECT_LABEL): New.
|
6857 | 6890 |
(dwarf2out_switch_text_section): Generate a local label for the second
|
6858 | 6891 |
function sub-section and apply it as the second FDE start label.
|
|
17372 | 17405 |
/* { dg-require-effective-target ilp32 } */
|
17373 | 17406 |
#include <stdio.h>
|
17374 | 17407 |
#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 *-*-* } } } */
|
17375 | 17418 |
Index: gcc/testsuite/gcc.target/aarch64/pr90075.c
|
17376 | 17419 |
===================================================================
|
17377 | 17420 |
--- a/src/gcc/testsuite/gcc.target/aarch64/pr90075.c (.../tags/gcc_7_4_0_release)
|
|
17439 | 17482 |
+{
|
17440 | 17483 |
+ x = _mm_i32gather_pd ((void *) 0, idx, 1);
|
17441 | 17484 |
+}
|
|
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 |
|
17442 | 17497 |
Index: gcc/testsuite/gcc.target/i386/pr32219-1.c
|
17443 | 17498 |
===================================================================
|
17444 | 17499 |
--- a/src/gcc/testsuite/gcc.target/i386/pr32219-1.c (.../tags/gcc_7_4_0_release)
|
|
17459 | 17514 |
+
|
17460 | 17515 |
+/* For Darwin, we default to PIC - but that's needed for Darwin's PIE. */
|
17461 | 17516 |
+/* { 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)
|
17462 | 17531 |
Index: gcc/testsuite/gcc.target/i386/pr91704.c
|
17463 | 17532 |
===================================================================
|
17464 | 17533 |
--- a/src/gcc/testsuite/gcc.target/i386/pr91704.c (.../tags/gcc_7_4_0_release)
|
|
17504 | 17573 |
|
17505 | 17574 |
void fn (void *, int, int);
|
17506 | 17575 |
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" } } */
|
17507 | 17586 |
Index: gcc/testsuite/gcc.target/i386/pr89523-5.c
|
17508 | 17587 |
===================================================================
|
17509 | 17588 |
--- a/src/gcc/testsuite/gcc.target/i386/pr89523-5.c (.../tags/gcc_7_4_0_release)
|
|
17568 | 17647 |
+/* Darwin m32 defaults to PIC but common symbols need to be indirected. */
|
17569 | 17648 |
+/* { dg-final { scan-assembler {movl[ \t]l_xxx\$non_lazy_ptr-L1\$pb\(%eax\),[ \t]%eax} { target { ia32 && *-*-darwin* } } } } */
|
17570 | 17649 |
+
|
|
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* } } } */
|
17571 | 17666 |
Index: gcc/testsuite/gcc.target/i386/pr90547.c
|
17572 | 17667 |
===================================================================
|
17573 | 17668 |
--- a/src/gcc/testsuite/gcc.target/i386/pr90547.c (.../tags/gcc_7_4_0_release)
|
|
17707 | 17802 |
|
17708 | 17803 |
void func0 (void);
|
17709 | 17804 |
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* } } } */
|
17710 | 17821 |
Index: gcc/testsuite/gcc.target/i386/fuse-caller-save-rec.c
|
17711 | 17822 |
===================================================================
|
17712 | 17823 |
--- a/src/gcc/testsuite/gcc.target/i386/fuse-caller-save-rec.c (.../tags/gcc_7_4_0_release)
|
|
17759 | 17870 |
/* Check absence of save/restore of xmm1 register. */
|
17760 | 17871 |
/* { dg-final { scan-assembler-not "movaps\t%xmm1, \\(%\[re\]?sp\\)" } } */
|
17761 | 17872 |
/* { 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" } } */
|
17762 | 17885 |
Index: gcc/testsuite/gcc.target/i386/pr87853.c
|
17763 | 17886 |
===================================================================
|
17764 | 17887 |
--- a/src/gcc/testsuite/gcc.target/i386/pr87853.c (.../tags/gcc_7_4_0_release)
|
|
18282 | 18405 |
+/* { dg-options "-O2 -fgcse-sm -msse3 -mfpmath=387" } */
|
18283 | 18406 |
+
|
18284 | 18407 |
+#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
|
18285 | 18419 |
Index: gcc/testsuite/gcc.target/i386/pr88418.c
|
18286 | 18420 |
===================================================================
|
18287 | 18421 |
--- a/src/gcc/testsuite/gcc.target/i386/pr88418.c (.../tags/gcc_7_4_0_release)
|
|
18631 | 18765 |
+{
|
18632 | 18766 |
+ x = _mm_i64gather_pd (base, idx, 1);
|
18633 | 18767 |
+}
|
|
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 |
|
18634 | 18780 |
Index: gcc/testsuite/gcc.target/i386/pr88906.c
|
18635 | 18781 |
===================================================================
|
18636 | 18782 |
--- a/src/gcc/testsuite/gcc.target/i386/pr88906.c (.../tags/gcc_7_4_0_release)
|
|
18657 | 18803 |
+ __builtin_abort ();
|
18658 | 18804 |
+ return 0;
|
18659 | 18805 |
+}
|
|
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();
|
18660 | 18838 |
Index: gcc/testsuite/gcc.target/i386/pr32219-8.c
|
18661 | 18839 |
===================================================================
|
18662 | 18840 |
--- a/src/gcc/testsuite/gcc.target/i386/pr32219-8.c (.../tags/gcc_7_4_0_release)
|
|
19513 | 19691 |
+ integer :: j, js(3,2)
|
19514 | 19692 |
+ js(:,:) = cshift (js(:,:), shift=j, dim=1)
|
19515 | 19693 |
+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
|
19516 | 19715 |
Index: gcc/testsuite/gfortran.dg/pr85797.f90
|
19517 | 19716 |
===================================================================
|
19518 | 19717 |
--- a/src/gcc/testsuite/gfortran.dg/pr85797.f90 (.../tags/gcc_7_4_0_release)
|
|
23796 | 23995 |
+B (sqrt)
|
23797 | 23996 |
+B (fabs)
|
23798 | 23997 |
+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 } */
|
23799 | 24010 |
Index: gcc/testsuite/gcc.dg/pr89679.c
|
23800 | 24011 |
===================================================================
|
23801 | 24012 |
--- a/src/gcc/testsuite/gcc.dg/pr89679.c (.../tags/gcc_7_4_0_release)
|
|
23987 | 24198 |
===================================================================
|
23988 | 24199 |
--- a/src/gcc/testsuite/ChangeLog (.../tags/gcc_7_4_0_release)
|
23989 | 24200 |
+++ 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 |
+
|
23991 | 24274 |
+2019-09-09 Jakub Jelinek <jakub@redhat.com>
|
23992 | 24275 |
+
|
23993 | 24276 |
+ PR target/87853
|
|
24756 | 25039 |
+
|
24757 | 25040 |
+ PR c++/60994
|
24758 | 25041 |
+ * g++.dg/lookup/pr60994.C: New test.
|
24759 | |
+
|
|
25042 |
+
|
24760 | 25043 |
+ 2018-10-25 Jakub Jelinek <jakub@redhat.com>
|
24761 | 25044 |
+
|
24762 | 25045 |
+ PR fortran/87725
|
|
25210 | 25493 |
+ * gcc.dg/torture/pr86554-2.c: Likewise.
|
25211 | 25494 |
+
|
25212 | 25495 |
+ 2018-11-20 Richard Biener <rguenther@suse.de>
|
25213 | |
+
|
|
25496 |
+
|
25214 | 25497 |
+ PR tree-optimization/88105
|
25215 | 25498 |
+ * gcc.dg/gomp/pr88105.c: New testcase.
|
25216 | 25499 |
+
|
|
28022 | 28305 |
+S *f11 () { return &T::u7; }
|
28023 | 28306 |
+template <int N>
|
28024 | 28307 |
+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* } } } */
|
28025 | 28342 |
Index: gcc/testsuite/objc.dg/instancetype-0.m
|
28026 | 28343 |
===================================================================
|
28027 | 28344 |
--- a/src/gcc/testsuite/objc.dg/instancetype-0.m (.../tags/gcc_7_4_0_release)
|
|
31173 | 31490 |
{
|
31174 | 31491 |
trans_class_vptr_len_assignment (&block, expr1, expr2, &rse, NULL,
|
31175 | 31492 |
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
|
31176 | 31527 |
Index: gcc/fortran/trans-array.c
|
31177 | 31528 |
===================================================================
|
31178 | 31529 |
--- a/src/gcc/fortran/trans-array.c (.../tags/gcc_7_4_0_release)
|
|
31618 | 31969 |
===================================================================
|
31619 | 31970 |
--- a/src/gcc/fortran/ChangeLog (.../tags/gcc_7_4_0_release)
|
31620 | 31971 |
+++ 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 |
+
|
31622 | 31980 |
+2019-08-30 Jakub Jelinek <jakub@redhat.com>
|
31623 | 31981 |
+
|
31624 | 31982 |
+ Backported from mainline
|