This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Fix PR66206
- From: Bernd Schmidt <bschmidt at redhat dot com>
- To: Andrew Pinski <pinskia at gmail dot com>, Bernd Schmidt <bernds_cb1 at t-online dot de>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 18 Dec 2015 02:21:49 +0100
- Subject: Re: Fix PR66206
- Authentication-results: sourceware.org; auth=none
- References: <56735A98 dot 9010601 at t-online dot de> <CA+=Sn1mnxXtAsKDmy5fWoMPbLZYbmviRd2kMcGhi7_Qit5R25w at mail dot gmail dot com>
On 12/18/2015 02:15 AM, Andrew Pinski wrote:
Except PATTERN (insn) will never be a REG.
The only case where the input can be a REG is:
gcc_assert (!find_btr_use (src));
Yeah, so we _are_ calling it with a REG. It's a minor issue that won't
trigger in practice, but in order to close the PR we might as well fix
it and this is the least invasive way.
Bernd