This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Remove legacy testcase for -fprofile-generate=./


Hi.

As new option mangles absolute path of a compiled file, it's hard
to come up with a scan-file pattern. Note similar test is done in
gcc.dg/profile-dir-*.c that I adjusted few days ago.

Ready for trunk?
Thanks,
Martin

gcc/testsuite/ChangeLog:

2018-07-03  Martin Liska  <mliska@suse.cz>

	* gcc.dg/pr47793.c: Remove.
---
 gcc/testsuite/gcc.dg/pr47793.c | 13 -------------
 1 file changed, 13 deletions(-)
 delete mode 100644 gcc/testsuite/gcc.dg/pr47793.c


diff --git a/gcc/testsuite/gcc.dg/pr47793.c b/gcc/testsuite/gcc.dg/pr47793.c
deleted file mode 100644
index 0ee1aaee421..00000000000
--- a/gcc/testsuite/gcc.dg/pr47793.c
+++ /dev/null
@@ -1,13 +0,0 @@
-/* Bug pr47793: Allow relative paths in profile-generate.  */
-/* { dg-do run } */
-/* { dg-options "-O -fprofile-generate=./" } */
-/* { dg-require-profiling "-fprofile-generate" } */
-/* { dg-final { scan-file pr47793.gcda "."} } */
-
-int
-main(void)
-{
-  return 0;
-}
-
-/* { dg-final { cleanup-coverage-files } } */


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]