https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62018
Bug ID: 62018 Summary: FAIL: gcc.dg/torture/ftrapv-1.c * execution test on x86_64-apple-darwin13 Product: gcc Version: 4.10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: dominiq at lps dot ens.fr CC: iains at gcc dot gnu.org, rguenther at suse dot de Host: x86_64-apple-darwin13 Target: x86_64-apple-darwin13 Build: x86_64-apple-darwin13 On x86_64-apple-darwin13 I get the following failures FAIL: gcc.dg/torture/ftrapv-1.c -O0 execution test FAIL: gcc.dg/torture/ftrapv-1.c -O1 execution test FAIL: gcc.dg/torture/ftrapv-1.c -O2 execution test FAIL: gcc.dg/torture/ftrapv-1.c -O3 -fomit-frame-pointer execution test FAIL: gcc.dg/torture/ftrapv-1.c -O3 -fomit-frame-pointer -funroll-loops execution test FAIL: gcc.dg/torture/ftrapv-1.c -O3 -fomit-frame-pointer -funroll-all-loops -finline-functions execution test FAIL: gcc.dg/torture/ftrapv-1.c -O3 -g execution test FAIL: gcc.dg/torture/ftrapv-1.c -Os execution test FAIL: gcc.dg/torture/ftrapv-1.c -O2 -flto -flto-partition=none execution test FAIL: gcc.dg/torture/ftrapv-1.c -O2 -flto execution test According Iain Sandoe the tests pass on x86_64-apple-darwin12.