[Bug testsuite/86519] [9 Regression] New test case gcc.dg/strcmpopt_6.c fails with its introduction in r262636

qing.zhao at oracle dot com gcc-bugzilla@gcc.gnu.org
Mon Jul 23 20:58:00 GMT 2018


--- Comment #11 from Qing Zhao <qing.zhao at oracle dot com> ---
> to reply: Comment #10 from Martin Sebor <msebor at gcc dot gnu.org> —
thanks for the details.
However, I do not feel comfortable for the compiler to change an undefined
buggy code.
I think that it’s better to let the user to correct his/her own buggy code.
What the compiler should do
is just tell the user that his/her code is wrong, and why it’s wrong. the user
should know better how
to correct his code.

More information about the Gcc-bugs mailing list