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

--- Comment #2 from Martin Sebor <msebor at gcc dot gnu.org> ---
For the code in comment #1, the first warning is issued from the front end, the
second one from the Gimplifier, and the last one just before expansion.  The
first one still has the right location.  The second one has the location of the
call because that's what's being folded.  The third one has no location because
it's being issued for a STRING_CST so the code substitutes input_location.

Reply via email to