https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116516

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Just for reference here is the code:
```
extern void my_func (int);
typedef struct {
  int var;
} info_t;
extern void *_data_offs;
void test()
{
  info_t *info = (info_t *) ((void *)((void *)1) + ((unsigned
int)&_data_offs));
  my_func(info->var == 0);
}

```

Reply via email to