https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61913
--- Comment #10 from Marek Polacek <mpolacek at gcc dot gnu.org> --- (In reply to Manuel López-Ibáñez from comment #9) > It doesn't seem to be the same bug at all. The other one does not ICE, just > ignores -Wno-. I understand why -Wno- is ignored, but I don't understand why > it -Wodr ICEs without Var(). Right, but that might be due to common.opt vs c-family/c.opt. I haven't inspected this to be sure. > It seems quite a major deficiency if we are going to keep adding warnings to > LTO, which are never tested and there is a high chance they are not working > at all. Is there a PR about it? Is Jan or someone else working on it? I don't know about such PR. Neither do I know whether Jan's planning to fix this soon. > I added the correct entry in my review. You could use that. It fixes several > deficiencies with the current entry. https://gcc.gnu.org/ml/gcc-patches/2014-07/msg01905.html