[Bug target/111231] [13/14/15/16 regression] armhf: Miscompilation with -O2/-fno-exceptions level (-fno-tree-vectorize is working)
malat at debian dot org
gcc-bugzilla@gcc.gnu.org
Thu Dec 4 20:20:30 GMT 2025
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111231
--- Comment #42 from Mathieu Malaterre <malat at debian dot org> ---
(In reply to Andrew Pinski from comment #41)
> (In reply to Richard Earnshaw from comment #34)
> > To be honest, I'm more concerned that we aren't eliminating a lot of these
> > copies during the gimple optimization phase. The memcpy is really a type
> > punning step (that's strictly ISO C compliant, rather than using the GCC
> > union extension), so ideally we'd recognize that and eliminate as many of
> > the copies as possible (perhaps using some form of view_convert or whatever
> > gimple is appropriate for changing the view without changing the contents).
> >
> > But that's for another day...
>
> After r16-3887-g597b50abb0d2fc1f123a99e1b4beb89ad6259d9e, this issue might
> not show up any more due to the removal of the extra copies has been
> improved (there is still more to fixed there though).
I still see on gcc-15 today:
*
https://buildd.debian.org/status/fetch.php?pkg=highway&arch=armhf&ver=1.3.1%7Egit20251202.ee36c83-1&stamp=1764838662&raw=0
Do you want me to report a different bug number ? Or do you need more
information ?
Thanks
More information about the Gcc-bugs
mailing list