On Wed, 2022-03-09 at 09:37 +0100, Richard Biener wrote:
> On Wed, Mar 9, 2022 at 5:06 AM Xi Ruoyao via Gcc-patches
> <gcc-patches@gcc.gnu.org> wrote:
> > 
> > This should be obvious, OK for trunk?
> 
> OK.

Committed r12-7559.

> > -- >8 --
> > 
> > Calling VECTOR_MODE_P with MAX_MACHINE_MODE has caused out-of-bound
> > access.

/* snip */

> > -  int end = mode == VOIDmode ? MAX_MACHINE_MODE : mode;
> > +  int end = mode == VOIDmode ? MAX_MACHINE_MODE - 1 : mode;

-- 
Xi Ruoyao <xry...@mengyan1223.wang>
School of Aerospace Science and Technology, Xidian University

Reply via email to