view gcc/testsuite/gcc.c-torture/compile/pr94179.c @ 152:2b5abeee2509

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

/* PR c/94179 */

struct S { char c, d, e[64]; } a;

unsigned char *
foo (int b)
{
  return (unsigned char *)((char *)&a.e[b != 0] - (char *)&((struct S *)0)->d);
}