summaryrefslogtreecommitdiffstats
path: root/gcc/testsuite/gcc.c-torture/execute/string-opt-4.c
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2003-01-21 19:43:53 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2003-01-21 19:43:53 +0000
commit052b6e71e8fe928b3552d6ba4ca3514875445297 (patch)
tree6cea8638978c2b18f09807ee57035e2b14ee8180 /gcc/testsuite/gcc.c-torture/execute/string-opt-4.c
parentf416ba9b4c6915643128863d665b56cca771c3a6 (diff)
downloadppe42-gcc-052b6e71e8fe928b3552d6ba4ca3514875445297.tar.gz
ppe42-gcc-052b6e71e8fe928b3552d6ba4ca3514875445297.zip
* gcc.c-torture/execute/990208-1.c: Add noinline attributes as needed.
* gcc.c-torture/execute/eeprof-1.c: Likewise. * gcc.c-torture/execute/stdio-opt-*.c: Likewise. * gcc.c-torture/execute/string-opt-*.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61563 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.c-torture/execute/string-opt-4.c')
-rw-r--r--gcc/testsuite/gcc.c-torture/execute/string-opt-4.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.c-torture/execute/string-opt-4.c b/gcc/testsuite/gcc.c-torture/execute/string-opt-4.c
index d82bb69a2ab..9182eb27838 100644
--- a/gcc/testsuite/gcc.c-torture/execute/string-opt-4.c
+++ b/gcc/testsuite/gcc.c-torture/execute/string-opt-4.c
@@ -53,6 +53,7 @@ index (const char *s, int c)
/* When optimizing, all the above cases should be transformed into
something else. So any remaining calls to the original function
should abort. */
+__attribute__ ((noinline))
static char *
strchr (const char *s, int c)
{
OpenPOWER on IntegriCloud