This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/18877] decompose (reload.c) can be forced to access hard_regno_nregs over its array bounds
- From: "cvs-commit at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Apr 2005 20:37:06 -0000
- Subject: [Bug rtl-optimization/18877] decompose (reload.c) can be forced to access hard_regno_nregs over its array bounds
- References: <20041207191548.18877.e9925248@stud4.tuwien.ac.at>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-04-28 20:37 -------
Subject: Bug 18877
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: wilson@gcc.gnu.org 2005-04-28 20:36:57
Modified files:
gcc : ChangeLog reload.c
Log message:
Prevent out-of-bounds array access in reload.
PR rtl-optimization/18877
* reload.c (decompose) <case REG, case SUBREG>: Handle pseudo reg
number in val.start.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.8515&r2=2.8516
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/reload.c.diff?cvsroot=gcc&r1=1.270&r2=1.271
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18877