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

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Actually wait it is enabled:
```
Wjump-misses-init
C ObjC Var(warn_jump_misses_init) Warning LangEnabledby(C ObjC,Wc++-compat)
Warn when a jump misses a variable initialization.

```

But I don't get a warning unless I use the option directly.

Simple example:
```
int f(int a)
{
  goto b;
  int t = a;
b:
  return t;
}
```

Reply via email to