[Bug c++/68767] [5 regression] spurious warning: null argument where non-null required

manu at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Dec 9 17:53:00 GMT 2015


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.


More information about the Gcc-bugs mailing list