Re: [C++ PATCH] Don't promote bitfields in last arg of __builtin_*_overflow_p

2016-06-16 Thread Joseph Myers
On Wed, 15 Jun 2016, Martin Sebor wrote: > Looks fine to me. The bit-field handling should be explained > in the manual. Though useful, it's unusual enough that I don't > think people will expect it (there have been bug reports or > questions in the past about the C handling of bit-fields from >

Re: [C++ PATCH] Don't promote bitfields in last arg of __builtin_*_overflow_p

2016-06-15 Thread Martin Sebor
On 06/15/2016 01:51 PM, Jakub Jelinek wrote: On Wed, Jun 15, 2016 at 08:08:22AM -0600, Martin Sebor wrote: I like the idea of being able to use the built-ins for this, but I think it would be confusing for them to follow subtly different rules for C than for C++. Since the value of the last arg

[C++ PATCH] Don't promote bitfields in last arg of __builtin_*_overflow_p

2016-06-15 Thread Jakub Jelinek
On Wed, Jun 15, 2016 at 08:08:22AM -0600, Martin Sebor wrote: > I like the idea of being able to use the built-ins for this, but > I think it would be confusing for them to follow subtly different > rules for C than for C++. Since the value of the last argument Here is incremental patch to the pa