mfentry and Darwin.

2019-05-21 Thread Iain Sandoe
Hi Uros, It seems to me that (even if it was working “properly”, which it isn't) ‘-mfentry’ would break ABI on Darwin for both 32 and 64b - which require 16byte stack alignment at call sites. For Darwin, the dynamic loader enforces the requirement when it can and will abort a program that tri

-Wformat-diag: floating-point or floating point?

2019-05-21 Thread Martin Sebor
The GCC coding style says to use "floating-point" as an adjective rather than "floating point." After enhancing the -Wformat-diag checker to detect this I found a bunch of uses of the latter, such as in: gcc/c/c-decl.c:10944 gcc/c/c-parser.c:9423, 9446, 9450, etc. gcc/convert.c:418, 422

Re: mfentry and Darwin.

2019-05-21 Thread Uros Bizjak
On Tue, May 21, 2019 at 6:15 PM Iain Sandoe wrote: > > Hi Uros, > > It seems to me that (even if it was working “properly”, which it isn't) > ‘-mfentry’ would break ABI on Darwin for both 32 and 64b - which require > 16byte stack alignment at call sites. > > For Darwin, the dynamic loader enfor

Re: -Wformat-diag: floating-point or floating point?

2019-05-21 Thread Bill Schmidt
On 5/21/19 11:47 AM, Martin Sebor wrote: > The GCC coding style says to use "floating-point" as an adjective > rather than "floating point."  After enhancing the -Wformat-diag > checker to detect this I found a bunch of uses of the latter, such > as in: > >   gcc/c/c-decl.c:10944 >   gcc/c/c-parser

Re: -Wformat-diag: floating-point or floating point?

2019-05-21 Thread Martin Sebor
On 5/21/19 2:18 PM, Bill Schmidt wrote: On 5/21/19 11:47 AM, Martin Sebor wrote: The GCC coding style says to use "floating-point" as an adjective rather than "floating point."  After enhancing the -Wformat-diag checker to detect this I found a bunch of uses of the latter, such as in:   gcc/c/

Determining maximum vector length supported by the CPU?

2019-05-21 Thread Martin Reinecke
[Disclaimer: I sent this to gcc-help two weeks ago, but didn't get an answer. Maybe the topic is more suited for the main gcc list ... I really think the feature in question would be extremely useful to have, and easy to add!] Hi, I'm currently writing an FFT library which tries to make use of SI