forked from gcc-mirror/gcc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* cfglayout.c (force_one_exit_fallthru): New function. (cfg_layout_finalize): Use it. * gcc.dg/pr32773.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@126700 138bc75d-0d04-0410-961f-82ee72b054a4
- Loading branch information
rakdver
committed
Jul 17, 2007
1 parent
bbafafc
commit c473c07
Showing
4 changed files
with
73 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
/* { dg-do compile } */ | ||
/* { dg-options "-O -fprofile-use" } */ | ||
/* { dg-options "-O -m4 -fprofile-use" { target sh-*-* } } */ | ||
|
||
void foo (int *p) | ||
{ | ||
if (p) | ||
*p = 0; | ||
} /* { dg-message "note: \[^\n\]*execution counts estimated" } */ | ||
|
||
/* { dg-final { cleanup-coverage-files } } */ |