[Bug c++/110622] x86: Miscompilation at O1 level (O0 is working)

2023-07-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110622 --- Comment #6 from Andrew Pinski --- (In reply to Mathieu Malaterre from comment #5) > > Does adding -fexcess-precision=standard help? What about -ffloat-store ? > > highway is c++ only. Those flags are C only No they are not.

[Bug c++/110622] x86: Miscompilation at O1 level (O0 is working)

2023-07-11 Thread malat at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110622 --- Comment #5 from Mathieu Malaterre --- > Does adding -fexcess-precision=standard help? What about -ffloat-store ? highway is c++ only. Those flags are C only

[Bug c++/110622] x86: Miscompilation at O1 level (O0 is working)

2023-07-11 Thread malat at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110622 --- Comment #4 from Mathieu Malaterre --- Here is my current state of work: * https://github.com/malaterre/highway/commit/771ca57d2d29b48f91beae033f6854f9b2dfb730 I am open to suggestion to further reduce the test case, as I am not familiar

[Bug c++/110622] x86: Miscompilation at O1 level (O0 is working)

2023-07-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110622 Andrew Pinski changed: What|Removed |Added See Also||https://github.com/google/h

[Bug c++/110622] x86: Miscompilation at O1 level (O0 is working)

2023-07-11 Thread malat at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110622 --- Comment #2 from Mathieu Malaterre --- Created attachment 55518 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55518=edit Preprocessed source % /usr/bin/g++-13 -save-temps -DHWY_STATIC_DEFINE -DTOOLCHAIN_MISS_ASM_HWCAP_H

[Bug c++/110622] x86: Miscompilation at O1 level (O0 is working)

2023-07-11 Thread malat at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110622 --- Comment #1 from Mathieu Malaterre --- For reference: * https://github.com/google/highway/issues/1488#issuecomment-1621528097

[Bug c++/110622] New: x86: Miscompilation at O1 level (O0 is working)

2023-07-11 Thread malat at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110622 Bug ID: 110622 Summary: x86: Miscompilation at O1 level (O0 is working) Product: gcc Version: 13.1.0 Status: UNCONFIRMED Severity: normal Priority: P3

<    1   2