[Bug c/102268] Wrong code with aliasing union pointers

2021-09-10 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102268 --- Comment #6 from rguenther at suse dot de --- On Fri, 10 Sep 2021, davmac at davmac dot org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102268 > > --- Comment #5 from Davin McCall --- > Hi Richard, > I think you marked as a dupli

[Bug c/102268] Wrong code with aliasing union pointers

2021-09-10 Thread davmac at davmac dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102268 --- Comment #5 from Davin McCall --- Hi Richard, I think you marked as a duplicate of the wrong bug. It is indeed a duplicate of 82224 - sorry, I didn't realise that there was already a bug filed, also this test case is "fixed" by version 8.1 an

[Bug c/102268] Wrong code with aliasing union pointers

2021-09-10 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102268 Richard Biener changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW

[Bug c/102268] Wrong code with aliasing union pointers

2021-09-10 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102268 --- Comment #3 from Richard Biener --- Oh, and related to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82224

[Bug c/102268] Wrong code with aliasing union pointers

2021-09-10 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102268 Richard Biener changed: What|Removed |Added Version|unknown |11.2.1 CC|

[Bug c/102268] Wrong code with aliasing union pointers

2021-09-09 Thread davmac at davmac dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102268 --- Comment #1 from Davin McCall --- (fails with -O2)