r279878 - in /branches/ibm/pcrel-trunk/gcc: Cha...
meissner@gcc.gnu.org
meissner@gcc.gnu.org
Sat Jan 4 00:35:00 GMT 2020
Author: meissner
Date: Sat Jan 4 00:35:31 2020
New Revision: 279878
URL: https://gcc.gnu.org/viewcvs?rev=279878&root=gcc&view=rev
Log:
Fix vector extract element from memory issues.
2020-01-03 Michael Meissner <meissner@linux.ibm.com>
* config/rs6000/rs6000.c (rs6000_adjust_vec_address): Add
gcc_assert tests to make sure the temporary register is safe to
use. If the element number is variable, make sure it does not go
beyond the number of elements in the vector. Simplify testing for
illegal address offsets.
(rs6000_split_vec_extract_var): Move the code for restricting the
variable element number for vectors in memory to the
rs6000_adjust_vec_address function.
Modified:
branches/ibm/pcrel-trunk/gcc/ChangeLog.meissner
branches/ibm/pcrel-trunk/gcc/config/rs6000/rs6000.c
More information about the Gcc-cvs
mailing list