https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70018
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-03-01 CC| |hubicka at gcc dot gnu.org Known to work| |4.3.6 Version|unknown |5.3.0 Target Milestone|--- |4.9.4 Summary|Possible issue around IPO |[4.9/5/6 Regression] |and C++ inline functions |Possible issue around IPO | |and C++ inline functions Ever confirmed|0 |1 Known to fail| |4.7.4, 4.8.5, 5.3.0, 6.0 --- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> --- No, it's not fixed in GCC 6. Basically it would mean that we have to disable local pure/const discovery for all comdat functions which would be sad. Only with LTO when we can localize them we can do the IPA discovery (so we need to optimistically do local analyze and throw it away if we can't localize). Confirmed.