Skip to content

Commit

Permalink
Merge pull request #127 from marcosps/implicit-int
Browse files Browse the repository at this point in the history
testsuite: inline: inlined-into-1: Skip implicit-int warning
  • Loading branch information
marcosps authored Sep 2, 2024
2 parents 4c858e7 + e5070ef commit 703568b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions testsuite/inline/inlined-into-1.c
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
/* { dg-compile "-fdump-ipa-clones -O3 -g3 -shared"} */
/* { dg-compile "-fdump-ipa-clones -O3 -g3 -shared -Wno-implicit-int"} */
/* { dg-options "-where-is-inlined g"} */

static inline int g(void)
{
return 42;
}

static __attribute__((noinline)) h(void)
static __attribute__((noipa)) h(void)
{
return g();
}
Expand Down

0 comments on commit 703568b

Please sign in to comment.