https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106322
--- Comment #7 from Mathieu Malaterre ---
I can make it fails with sanitize=address:
/usr/bin/g++-12 -DHWY_STATIC_DEFINE
-I"/home/malat/highway-0.17.1~git20220711.f0a396a" -O2 -fsanitize=address -fPIE
-fvisibility=hidden
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106322
--- Comment #6 from Mathieu Malaterre ---
Using `-fno-strict-aliasing` causes the same symptoms:
/usr/bin/g++-12 -DHWY_STATIC_DEFINE
-I"/home/malat/highway-0.17.1~git20220711.f0a396a" -O2 -fno-strict-aliasing
-fPIE -fvisibility=hidden
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106322
--- Comment #5 from Mathieu Malaterre ---
Compilation line for -save-temps is:
% /usr/bin/g++-12 -DHWY_STATIC_DEFINE
-I"/home/malat/highway-0.17.1~git20220711.f0a396a" -O2 -fPIE
-fvisibility=hidden -fvisibility-inlines-hidden
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106322
--- Comment #4 from Mathieu Malaterre ---
gcc-11 version on my side is:
% gcc-11 --version
gcc-11 (Debian 11.3.0-4) 11.3.0
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106322
--- Comment #3 from Mathieu Malaterre ---
Created attachment 53306
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53306=edit
gcc-12 -O2 -save-temps
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106322
Mathieu Malaterre changed:
What|Removed |Added
CC||malat at debian dot org
---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106322
--- Comment #1 from Mathieu Malaterre ---
I can reduce the gtest code to simply:
```
HWY_NOINLINE void TestAllMulHigh() {
ForPartialVectors test;
test(int16_t());
// test(uint16_t());
}
```