[Bug c++/58678] [4.9 Regression] pykde4-4.11.2 link error (devirtualization too trigger happy)

trippels at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Mar 16 09:07:00 GMT 2014


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58678

Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #42 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
This looks like an application issue, when I move:
     bool operator<(const Conditions& conditions) const {
        return qHash(*this) < qHash(conditions);
    }
from sheets/Condition.h to sheets/Condition.cpp (where it belongs)
Calligra compiles just fine with -flto.



More information about the Gcc-bugs mailing list