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

--- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
`-fno-lifetime-dse` is already used but I get the feeling there might be strict
aliasing issues in the code though.  What happens if you add
-fno-strict-aliasing ?

This code gives me strict aliasing violation vibes:
```
T **getAddressOfPointer(ExternalASTSource *Source) const {
    // Ensure the integer is in pointer form.
    (void)get(Source);
    return reinterpret_cast<T**>(&Ptr);
  }
```

Reply via email to