aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/always_inline3.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/always_inline3.c')
-rw-r--r--gcc/testsuite/gcc.dg/always_inline3.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/gcc.dg/always_inline3.c b/gcc/testsuite/gcc.dg/always_inline3.c
index 7b575d7..369bb87 100644
--- a/gcc/testsuite/gcc.dg/always_inline3.c
+++ b/gcc/testsuite/gcc.dg/always_inline3.c
@@ -3,9 +3,9 @@
int do_something_evil (void);
inline __attribute__ ((always_inline)) void
q2(void)
-{ /* { dg-error "recursive" "" } */
+{ /* { dg-message "recursive" "" } */
if (do_something_evil ())
return;
- q2(); /* { dg-error "called from here" "" } */
+ q2(); /* { dg-message "called from here" "" } */
q2(); /* With -O2 we don't warn here, it is eliminated by tail recursion. */
}