Re: [PATCH] c-family: Add more predefined macros for math flags

2021-09-19 Thread Jeff Law via Gcc-patches
On 6/30/2021 2:59 AM, Matthias Kretz wrote: Library code, especially in headers, sometimes needs to know how the compiler interprets / optimizes floating-point types and operations. This information can be used for additional optimizations or for ensuring correctness. This change makes -frecip

ping-3: [PATCH] c-family: Add more predefined macros for math flags

2021-07-27 Thread Matthias Kretz
OK? On Wednesday, 30 June 2021 10:59:28 CEST Matthias Kretz wrote: > Library code, especially in headers, sometimes needs to know how the > compiler interprets / optimizes floating-point types and operations. > This information can be used for additional optimizations or for > ensuring correctness

Re: ping-2: [PATCH] c-family: Add more predefined macros for math flags

2021-07-15 Thread Matthias Kretz
On Wednesday, 14 July 2021 14:42:01 CEST H.J. Lu wrote: > On Wed, Jul 14, 2021 at 12:32 AM Matthias Kretz wrote: > > OK? > > > > On Wednesday, 30 June 2021 10:59:28 CEST Matthias Kretz wrote: > > > Library code, especially in headers, sometimes needs to know how the > > > compiler interprets / op

Re: ping-2: [PATCH] c-family: Add more predefined macros for math flags

2021-07-14 Thread H.J. Lu via Gcc-patches
On Wed, Jul 14, 2021 at 12:32 AM Matthias Kretz wrote: > > OK? > > On Wednesday, 30 June 2021 10:59:28 CEST Matthias Kretz wrote: > > Library code, especially in headers, sometimes needs to know how the > > compiler interprets / optimizes floating-point types and operations. > > This information c

ping-2: [PATCH] c-family: Add more predefined macros for math flags

2021-07-14 Thread Matthias Kretz
OK? On Wednesday, 30 June 2021 10:59:28 CEST Matthias Kretz wrote: > Library code, especially in headers, sometimes needs to know how the > compiler interprets / optimizes floating-point types and operations. > This information can be used for additional optimizations or for > ensuring correctness

ping: [PATCH] c-family: Add more predefined macros for math flags

2021-07-07 Thread Matthias Kretz
OK? (I want to use the macros in libstdc++.) On Wednesday, 30 June 2021 10:59:28 CEST Matthias Kretz wrote: > Library code, especially in headers, sometimes needs to know how the > compiler interprets / optimizes floating-point types and operations. > This information can be used for additional op

[PATCH] c-family: Add more predefined macros for math flags

2021-06-30 Thread Matthias Kretz
Library code, especially in headers, sometimes needs to know how the compiler interprets / optimizes floating-point types and operations. This information can be used for additional optimizations or for ensuring correctness. This change makes -freciprocal-math, -fno-signed-zeros, -fno-trapping-mat