[Bug target/106187] armhf: Miscompilation at O2 level (O0 / O1 are working)

malat at debian dot org gcc-bugzilla@gcc.gnu.org
Fri Jul 8 15:03:05 GMT 2022


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106187

--- Comment #20 from Mathieu Malaterre <malat at debian dot org> ---
The Debian package highway 0.17.0-9 is not build with neon option (aka ARM7=OFF
in cmake), the code build just fine and test suite run fine (-O1):

*
https://buildd.debian.org/status/fetch.php?pkg=highway&arch=armhf&ver=0.17.0-9&stamp=1657025640&raw=0

If you go through the logs of old compilation, you should fine the one with -O2
at:

*
https://buildd.debian.org/status/fetch.php?pkg=highway&arch=armhf&ver=0.17.0-2&stamp=1655882301&raw=0

I can also build and use it just fine on Debian porterbox `abel.d.o` which is:

```
% cat /proc/cpuinfo
processor       : 0
model name      : ARMv7 Processor rev 2 (v7l)
BogoMIPS        : 50.00
Features        : half thumb fastmult vfp edsp thumbee vfpv3 tls idiva idivt
vfpd32 lpae
CPU implementer : 0x56
CPU architecture: 7
CPU variant     : 0x2
CPU part        : 0x584
CPU revision    : 2
```


More information about the Gcc-bugs mailing list