summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr89342.c
blob: 3bc779c1ddc0bab34942e69003408f1f7d8b049b (plain)
1
2
3
4
5
6
7
8
9
10
11
/* PR other/89342 */
/* { dg-do compile } */
/* { dg-options "-O0" } */

__attribute__((optimize("Ofast")))
void foo (void)
{
  __attribute__((optimize("no-inline")))
  void bar (void) {}
  bar ();
}