[PATCH] Fix combiner from accessing or writing out of bounds SET_N_REGS (PR other/63504)
H.J. Lu
hjl.tools@gmail.com
Tue Feb 3 15:43:00 GMT 2015
On Mon, Feb 2, 2015 at 11:20 PM, Jakub Jelinek <jakub@redhat.com> wrote:
> On Mon, Feb 02, 2015 at 05:26:23PM -0600, Segher Boessenkool wrote:
>> On Mon, Feb 02, 2015 at 07:54:46PM +0100, Jakub Jelinek wrote:
>> > +/* Highest pseudo for which we track REG_N_SETS. */
>> > +static unsigned int reg_n_sets_max;
>>
>> One more than the highest reg num, actually.
>
> Changed in my copy to
> /* One plus the highest pseudo for which we track REG_N_SETS. */
>
> Ok with that change?
>
> Jakub
This may have caused:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64921
--
H.J.
More information about the Gcc-patches
mailing list