diff options
author | meheff <meheff@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-04-22 17:44:53 +0000 |
---|---|---|
committer | meheff <meheff@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-04-22 17:44:53 +0000 |
commit | 57187d90a77fa29871fa5bbf1bffe9cdb35b8cfa (patch) | |
tree | 840228ef3e16705891d50981459aa7fed6153936 /gcc/testsuite/gcc.dg/profile-generate-3.c | |
parent | 2f1c2b417a5b96cb59459c6f4d876bd68c0d406b (diff) | |
download | gcc-57187d90a77fa29871fa5bbf1bffe9cdb35b8cfa.tar.gz |
2009-04-22 Mark Heffernan <meheff@google.com>
* gcc.c (LINK_COMMAND_SPEC): Link with gcov with -fprofile-generate=.
* gcc.dg/profile-generate-3.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@146605 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.dg/profile-generate-3.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/profile-generate-3.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/profile-generate-3.c b/gcc/testsuite/gcc.dg/profile-generate-3.c new file mode 100644 index 00000000000..307045afe04 --- /dev/null +++ b/gcc/testsuite/gcc.dg/profile-generate-3.c @@ -0,0 +1,9 @@ +/* { dg-do link } */ +/* { dg-options "-fprofile-generate=." } */ + +int +main () +{ + return 0; +} + |