[Bug target/78386] [PPC] Optimization -O2 and higher cause math inconsistency

2016-11-22 Thread brenohl at br dot ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78386 Breno Leitao changed: What|Removed |Added Status|RESOLVED|CLOSED --- Comment #12 from Breno Leitao

[Bug target/78386] [PPC] Optimization -O2 and higher cause math inconsistency

2016-11-17 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78386 Bill Schmidt changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/78386] [PPC] Optimization -O2 and higher cause math inconsistency

2016-11-17 Thread dje at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78386 --- Comment #10 from David Edelsohn --- -std=gnuXX affects IEEE 754 conformance, but that is not mentioned in the documentation, only in source code comments (c-family/c-cppbuiltin.c)

[Bug target/78386] [PPC] Optimization -O2 and higher cause math inconsistency

2016-11-17 Thread gromero at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78386 --- Comment #9 from Gustavo Romero --- Both -ffp-contract=off and -std=c11 (with -O3) do not damage the precision: CFLAGS=-I. -g -static -O3 -ffp-contract=off# Precision is OK CFLAGS=-I. -g -static -std=c11 -O3 #

[Bug target/78386] [PPC] Optimization -O2 and higher cause math inconsistency

2016-11-17 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78386 Bill Schmidt changed: What|Removed |Added Target|powerpc64le-unknown-linux-g |powerpc64le-unknown-linux-g