: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: scott.a.mayo at gmail dot com
Target Milestone: ---
Created attachment 45450
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45450&action=edit
processed .cpp
The compiler complains about shift operations t
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88895
--- Comment #4 from Scott ---
Um... yes, that would kill the warning; but then I'd be writing
/* The modulo operation is meaningless and will be optimized out, I
promise. It's here
because there's a specific compiler, g++ 7.3.0, that can't fig
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88895
--- Comment #7 from Scott ---
While that's brilliant,
1) I don't lack for ways to code around the problem, but whether or not
I do, g++ nonetheless has a problem here.
2) At a guess, the recursive solution is avoiding the warnings because
the