Teresa Johnson <tejohn...@google.com> writes:

> Index: testsuite/gcc.dg/inline-dump.c
> ===================================================================
> --- testsuite/gcc.dg/inline-dump.c      (revision 0)
> +++ testsuite/gcc.dg/inline-dump.c      (revision 0)
> @@ -0,0 +1,11 @@
> +/* Verify that -fopt-info can output correct inline info.  */
> +/* { dg-do compile } */
> +/* { dg-options "-Wall -fopt-info-inline=stderr -O2 -fno-early-inlining" } */
> +static inline int leaf() {
> +  int i, ret = 0;
> +  for (i = 0; i < 10; i++)
> +    ret += i;
> +  return ret;
> +}
> +static inline int foo(void) { return leaf(); } /* { dg-message "note:
> leaf .*inlined into bar .*via inline instance foo.*\n" } */

I don't see that message, neither on ia64 nor m68k.

Andreas.

-- 
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

Reply via email to