Re: First set of patches to allow changing the long double default were posted:

2020-09-28 Thread Joseph Myers
On Mon, 28 Sep 2020, Michael Meissner via Gcc wrote: > > I'm not sure which patch in the series is supposed to be implementing > > that, but C requires that long double and _Float128 are distinct types (so > > you can use _Generic to choose between them, for example) even if they > > have the s

Re: {standard input}:1174: Error: inappropriate arguments for opcode 'mpydu'

2020-09-28 Thread Nicolas Pitre
On Sun, 27 Sep 2020, Rong Chen wrote: > Hi Nicolas, > > Thanks for the feedback, the error still remains with gcc 10.2.0: I've created the simplest test case that can be. You won't believe it. Test case: $ cat test.c unsigned int test(unsigned int x, unsigned long long y) { y /= 0x2000

Re: First set of patches to allow changing the long double default were posted:

2020-09-28 Thread Jakub Jelinek via Gcc
On Mon, Sep 28, 2020 at 05:07:55PM -0400, Michael Meissner wrote: > On Mon, Sep 28, 2020 at 04:38:51PM +, Joseph Myers wrote: > > On Thu, 24 Sep 2020, Michael Meissner wrote: > > > > > As per the discussion in this thread, I did decide to keep things to two > > > types > > > within the compil

Re: First set of patches to allow changing the long double default were posted:

2020-09-28 Thread Michael Meissner via Gcc
On Mon, Sep 28, 2020 at 04:38:51PM +, Joseph Myers wrote: > On Thu, 24 Sep 2020, Michael Meissner wrote: > > > As per the discussion in this thread, I did decide to keep things to two > > types > > within the compiler. This means that an explicit __float128 or _Float128 > > will > > use the

[PATCH v4] : Add nitems()

2020-09-28 Thread Alejandro Colomar via Gcc
'nitems()' calculates the length of an array in number of items. It is safe: if a pointer is passed to the macro (or function, in C++), the compilation is broken due to: - In >= C11: _Static_assert() - In C89, C99: Negative anonymous bitfield - In C++: The template requires an array Some BSDs a

Re: First set of patches to allow changing the long double default were posted:

2020-09-28 Thread Joseph Myers
On Thu, 24 Sep 2020, Michael Meissner wrote: > As per the discussion in this thread, I did decide to keep things to two types > within the compiler. This means that an explicit __float128 or _Float128 will > use the same type node and TFmode as long double uses if the default for long > double is

Re: On IPA PTA field sensitivity and pointer expression (part 2)

2020-09-28 Thread Erick Ochoa
On 28/09/2020 14:25, Erick Ochoa wrote: Hi, previously I sent an e-mail inquiring about the state of points-to information of structure variables allocated in the heap. It was brought to my attention that heap variables do not have a size to model and therefore IPA-PTA is not able to provi

On IPA PTA field sensitivity and pointer expression (part 2)

2020-09-28 Thread Erick Ochoa
Hi, previously I sent an e-mail inquiring about the state of points-to information of structure variables allocated in the heap. It was brought to my attention that heap variables do not have a size to model and therefore IPA-PTA is not able to provide field sensitivity. I now understand bet