[Bug fortran/89821] Get a SIGFPE on a simple test of a kind=real128 variable with -ffpe-trap=invalid switch

2019-03-30 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89821 Dominique d'Humieres changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug fortran/89821] Get a SIGFPE on a simple test of a kind=real128 variable with -ffpe-trap=invalid switch

2019-03-26 Thread sgk at troutmask dot apl.washington.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89821 --- Comment #3 from Steve Kargl --- On Tue, Mar 26, 2019 at 06:34:09PM +, kargl at gcc dot gnu.org wrote: > > This reduced testcase fails with 8-branch and trunk when compiled > with -ffpe-trap=invalid. > > program demo_nan >

[Bug fortran/89821] Get a SIGFPE on a simple test of a kind=real128 variable with -ffpe-trap=invalid switch

2019-03-26 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89821 kargl at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P4

[Bug fortran/89821] Get a SIGFPE on a simple test of a kind=real128 variable with -ffpe-trap=invalid switch

2019-03-26 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89821 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org ---

[Bug fortran/89821] Get a SIGFPE on a simple test of a kind=real128 variable with -ffpe-trap=invalid switch

2019-03-26 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89821 --- Comment #1 from Richard Biener --- The invalid exception is raised here: Program received signal SIGFPE, Arithmetic exception. 0x00400cde in demo_nan () at t.f90:17 17 if ( (r32<=0.0_real32) .or. (r32>=0.0_real32) )then