Re: Fix wi::lshift

2019-07-10 Thread Richard Sandiford
Marc Glisse writes: > Hello, > > because of an other bug, __builtin_constant_p is ignored in some cases, > and this bug in wide_int went unnoticed. I am fixing it by making it match > more closely the comment above. > > Bootstrap+regtest together with a fix for __builtin_constant_p on > x86_64-

Fix wi::lshift

2019-07-09 Thread Marc Glisse
Hello, because of an other bug, __builtin_constant_p is ignored in some cases, and this bug in wide_int went unnoticed. I am fixing it by making it match more closely the comment above. Bootstrap+regtest together with a fix for __builtin_constant_p on x86_64-pc-linux-gnu. 2019-07-11 Marc