https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98594
Richard Biener changed:
What|Removed |Added
CC||slyfox at gcc dot gnu.org
--- Comment #
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98594
Martin Liška changed:
What|Removed |Added
Priority|P3 |P1
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98594
Richard Biener changed:
What|Removed |Added
Keywords||wrong-code
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98594
Jan Hubicka changed:
What|Removed |Added
Assignee|unassigned at gcc dot gnu.org |hubicka at gcc dot
gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98594
--- Comment #3 from Jan Hubicka ---
The initialization is removed by dse1 pass. We get:
ipa-modref: call stmt D.3199 = bitCount::bitCount_bitfield<1, int,
glm::packed_highp> (&D.3185); [return slot optimization]
ipa-modref: call to glm::vec bitC
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98594
--- Comment #4 from rguenther at suse dot de ---
On Wed, 27 Jan 2021, hubicka at gcc dot gnu.org wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98594
>
> --- Comment #3 from Jan Hubicka ---
> The initialization is removed by dse1 pass.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98594
Richard Biener changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98594
--- Comment #6 from Jeffrey A. Law ---
Duh. I should have seen the reinterpret_cast as a red flag on this one. And
not surprising -fno-strict-aliasing makes the glm testsuite happy. Sorry for
the noise.