This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ipa/86436] IPA-ICF: miissed optimization at class template member functions
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 09 Jul 2018 00:11:10 +0000
- Subject: [Bug ipa/86436] IPA-ICF: miissed optimization at class template member functions
- Auto-submitted: auto-generated
- References: <bug-86436-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86436
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
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.