On Thu, 4 Jun 2026, Jakub Jelinek wrote:

> On Wed, Jun 03, 2026 at 06:14:53PM +0000, Joseph Myers wrote:
> > The enumerated type error seems to be tested only for C++ (likewise for 
> > __builtin_bitreverseg).  Presumably it could be tested for C with a cast 
> > to or variable of enumerated type, or by using an enumeration with fixed 
> > underlying type.
> 
> I've followed what was tested for the other builtins
> (clt/ctz/clrsb/ffs/parity/popcount).
> 
> So, here is an incremental patch to extend the testing of enumeral
> arguments for all those builtins, including enums with fixed underlying
> type.
> 
> Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk?

OK.

-- 
Joseph S. Myers
[email protected]

Reply via email to