I did a little searching and compiling and I'd have to say Jehan is right here 
about "absence of evidence". See, [this stackoverflow 
thread](https://stackoverflow.com/questions/21214875/gcc-accuracy-of-strict-aliasing-warnings)
 for a very simple example to people that is (still in 2017) too complex for 
(at least gcc's) Wstrict-aliasing heuristics. It sure seems like 
strict-aliasing is a real morass.

@cdome - perhaps a better solution would be some kind of `emit` and/or `macro` 
machinery that turns on `-fstrict-aliasing` just for the procs you need to 
recover performance. gcc has had this `#pragma` or `__attribute__` way to do 
that for quite a few years now (2011, I think). See 
[here](https://gcc.gnu.org/wiki/FunctionSpecificOpt).

Reply via email to