https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55095

--- Comment #7 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
(In reply to David Binderman from comment #6)
> 
> Still broken a couple of years later. I just got bitten by this one.

I think we want this but nobody so far got enough free time to work on it. In
the past you have provided patches for new warnings, you could try to produce
one based on the ideas above. Even some guidelines on how to implement it would
be helpful for other people decide to produce a working patch.

In particular, I don't even know where to start to add a need a new interface
to wide-int to report whether shift overflow has occurred. This seems to be the
first step. Perhaps it is easy, perhaps not, but someone will need to try
first.

Reply via email to