On 03/15/2017 10:30 AM, Rainer Orth wrote:
Hi Martin,
This is a small follow-up patch, where local.local flag should be also dropped
for a default implementation.
Patch can bootstrap on x86_64-linux-gnu and survives regression tests.
Ready to be installed?
the testcase causes
WARNING: profopt.exp does not support dg-error
I suspect it can just as well go into gcc.dg with
Thanks for pointing out. As I read the test-case, the dg-error is not needed.
I'm going to install following patch as obvious.
Martin
/* { dg-require-profiling "-fprofile-generate" } */
and -fprofile-generate added to dg-options.
Rainer
>From 3ac3656787ded319f19c347a3576474adc48a6d9 Mon Sep 17 00:00:00 2001
From: marxin <mli...@suse.cz>
Date: Wed, 15 Mar 2017 11:03:27 +0100
Subject: [PATCH] Removed unused dg-error.
gcc/testsuite/ChangeLog:
2017-03-15 Martin Liska <mli...@suse.cz>
* gcc.dg/tree-prof/pr66295.c: Removed unused dg-error.
---
gcc/testsuite/gcc.dg/tree-prof/pr66295.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/testsuite/gcc.dg/tree-prof/pr66295.c b/gcc/testsuite/gcc.dg/tree-prof/pr66295.c
index 1ab7e6c8f64..b90ef84ed10 100644
--- a/gcc/testsuite/gcc.dg/tree-prof/pr66295.c
+++ b/gcc/testsuite/gcc.dg/tree-prof/pr66295.c
@@ -11,7 +11,7 @@ foo (double *__restrict a, double *__restrict b, int n)
}
double
-bar (double *__restrict a, double *__restrict b, int n) /* { dg-error "attribute\[^\n\r]*foo\[^\n\r]* is unknown" } */
+bar (double *__restrict a, double *__restrict b, int n)
{
double s;
int i;
--
2.11.1