[Bug target/106440] New: on Mac M1 chip undefined behavior of double arithmetic

2022-07-25 Thread yaobig97 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106440 Bug ID: 106440 Summary: on Mac M1 chip undefined behavior of double arithmetic Product: gcc Version: 12.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Co

[Bug target/106440] on Mac M1 chip undefined behavior of double arithmetic

2022-07-25 Thread yaobig97 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106440 --- Comment #3 from Yuhao Yao --- (In reply to Andrew Pinski from comment #1) > ubuntu@ubuntu:~/src/upstream-gcc-aarch64\# g++ t55.cc -ffp-contract=on -O2 > ubuntu@ubuntu:~/src/upstream-gcc-aarch64\# ./a.out > 3e+09 3e+09 > 0 > 0 > ubuntu@ubuntu