This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]