This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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






Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]