view gcc/testsuite/gcc.dg/ipa/pr93583.c @ 19:2b5abeee2509 default tip

update gcc11
author anatofuz
date Mon, 25 May 2020 07:50:57 +0900
parents
children
line wrap: on
line source

/* PR ipa/93583 */
/* { dg-do compile } */
/* { dg-options "-O2" } */

void *bar(const char*);
static void *__attribute__((malloc,noinline)) foo(const char *p)
{
  return bar (p);
}

int main(int argc, char **argv)
{
  foo (argv[0]);
  return 0;
}