This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r242082 - /branches/ARM/sve-branch/gcc/rtlanal.c
- From: rsandifo at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Fri, 11 Nov 2016 16:56:43 -0000
- Subject: r242082 - /branches/ARM/sve-branch/gcc/rtlanal.c
Author: rsandifo
Date: Fri Nov 11 16:56:43 2016
New Revision: 242082
URL: https://gcc.gnu.org/viewcvs?rev=242082&root=gcc&view=rev
Log:
Fix WORD_REGISTER_OPERATIONS conversion
This code used to be:
#if defined (WORD_REGISTER_OPERATIONS) && defined (LOAD_EXTEND_OP)
if (...stuff...)
#endif
{
but was converted to:
#ifdef LOAD_EXTEND_OP
if (WORD_REGISTER_OPERATIONS && ...stuff...)
#endif
{
It should be:
#ifdef LOAD_EXTEND_OP
if (!WORD_REGISTER_OPERATIONS || ...stuff...)
#endif
{
since the block was supposed to be executed on targets that
don't define WORD_REGISTER_OPERATIONS.
Modified:
branches/ARM/sve-branch/gcc/rtlanal.c