[Bug target/95115] [10 Regression] RISC-V 64: inf/inf division optimized out, invalid operation not raised

glisse at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed May 13 20:58:33 GMT 2020


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95115

--- Comment #2 from Marc Glisse <glisse at gcc dot gnu.org> ---
Or during CCP with the simpler

double f(){
  double d=__builtin_inf();
  return d/d;
}

and all the -frounding-math -ftrapping-math -fsignaling-nans don't seem to
help.


More information about the Gcc-bugs mailing list