https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68767
--- Comment #6 from Manuel López-Ibáñez <manu at gcc dot gnu.org> --- (In reply to Martin Sebor from comment #4) > Interestingly, the problem seems specific to C++ and 6.0. GCC (in C mode) > or 5.1 in either C or C++ mode don't issue the warning. I've changed the > Component to C++. Shouldn't be [6 Regression] then? If this is true, it may be a regression in folding caused by the delayed folding work. However, I do see the warning when compiling the original testcase (minus throw) with C in r230753.