Hi. This is fix of the fallout caused by the warning for -frepo. I've just tested the test locally and I'm going to install the patch.
Thanks, Martin gcc/testsuite/ChangeLog: 2019-07-16 Martin Liska <mli...@suse.cz> PR testsuite/91175 * g++.old-deja/g++.pt/instantiate4.C: Do not use -Werror. --- gcc/testsuite/g++.old-deja/g++.pt/instantiate4.C | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/instantiate4.C b/gcc/testsuite/g++.old-deja/g++.pt/instantiate4.C index 97838689d38..071a64be441 100644 --- a/gcc/testsuite/g++.old-deja/g++.pt/instantiate4.C +++ b/gcc/testsuite/g++.old-deja/g++.pt/instantiate4.C @@ -1,8 +1,8 @@ // { dg-do link } -// { dg-options "-frepo -Werror" } +// { dg-options "-frepo" } // { dg-require-host-local "" } // { dg-skip-if "dkms are not final links" { vxworks_kernel } } -// { dg-error "is deprecated and will be removed in a future release" "" { target *-*-* } 0 } +// { dg-warning "is deprecated and will be removed in a future release" "" { target *-*-* } 0 } // Submitted by Melissa O'Neill <one...@cs.sfu.ca>