[PATCH] Don't constant fold 1.0/0.0 at compile-time

Segher Boessenkool segher@koffie.nl
Fri Jul 4 06:19:00 GMT 2003


Roger Sayle wrote:
  > Could one of the language lawyers post their opinions on "x = 1.0/0.0"?

If x has static storage duration, no exceptions are raised.
See C99, F.7.4.


Segher






More information about the Gcc-patches mailing list