Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: olebole at debian dot org
Target Milestone: ---
Created attachment 48776
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48776&action=edit
Source file that reprodu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77365
Ole Streicher changed:
What|Removed |Added
Status|WAITING |RESOLVED
Resolution|---
Assignee: unassigned at gcc dot gnu.org
Reporter: olebole at debian dot org
Target Milestone: ---
With gcc-6.2.0 on Debian, I get a wrong result with the following code:
#include
#include
#include
double f(double x) {
return sqrt(1.0 - x) - 1.0;
}
double g(double x
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77365
--- Comment #2 from Ole Streicher ---
Created attachment 39497
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39497&action=edit
Preprocessed source file
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77365
--- Comment #3 from Ole Streicher ---
# gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-linux-gnu/6/lto-wrapper
Target: i686-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 6.2.0-1'
--wi
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77365
--- Comment #4 from Ole Streicher ---
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-linux-gnu/6/lto-wrapper
Target: i686-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 6.2.0-1'
--with-bugurl