[Bug ipa/86436] IPA-ICF: miissed optimization at class template member functions

2018-07-16 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86436 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug ipa/86436] IPA-ICF: miissed optimization at class template member functions

2018-07-12 Thread petschy at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86436 --- Comment #2 from petschy at gmail dot com --- Folding instantiations of member functions of class templates is a low hanging fruit IMHO. So if they are not handled ATM, then consider this ticket as a feature request, rather than a bug.

[Bug ipa/86436] IPA-ICF: miissed optimization at class template member functions

2018-07-08 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86436 --- Comment #1 from Andrew Pinski --- The reason Foldable are not folded is because Foldable<0> and Foldable<42> clases are different. Yes they have the same layout but for aliasing rules they are different.