This is the mail archive of the gcc-patches@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]

Re: [patch] PR 35940 Array BACK ignored in INDEX intrinsic when other args scalar


Bud Davis wrote:
The expression was being simplified when it should not have been.  Corrected by checking for a
constant argument in do_simplify.

The below test case fails prior to application of the patch and passes after.  The test case is
the submitters code, with a bit of editing.

Tested i686/gnu linux with no new regressions.

OK to commit.

Jerry


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