https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85788
--- Comment #5 from qinzhao at gcc dot gnu.org ---
with my current patch to PR109071, adding -fdiagnostics-explain-harder, with
an additional option -fno-tree-dominator-opts, the diagnostic becomes:
t_85788.c:5:3: warning: ‘__builtin___memset_ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85788
--- Comment #4 from qinzhao at gcc dot gnu.org ---
(In reply to Martin Liška from comment #0)
> As seen, d == 0, thus 'for (; c; c = e)' never executes. It's combination of
> jump-threading and VRP that triggers the warning.
Yes, in this specific
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85788
qinzhao at gcc dot gnu.org changed:
What|Removed |Added
CC||qinzhao at gcc dot gnu.org
-
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85788
--- Comment #2 from Martin Liška ---
Created attachment 44137
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44137&action=edit
original test-case
On trunk disappeared in r259672. I'm attaching original test-case which
reproduces on trunk a
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85788
Martin Sebor changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|