[PATCH] Vector mode addresses

Paulo Matos pmatos@broadcom.com
Thu Jan 30 09:55:00 GMT 2014


As a followup of the thread:
http://gcc.gnu.org/ml/gcc/2014-01/msg00206.html

consider the attached patch for submission. It fixes an ICE in case you try to use vector mode addresses and do not have it as mode dependent target hook.
As discussed in the thread adding VECTOR_MODE_P to the target hook is a way to avoid ICE but as Richard S. mentioned it's more general to patch GCC up.

Bootstrapped and tested on x86_64-unknown-linux-gnu.

2014-01-30  Paulo Matos  <pmatos@broadcom.com>

	* simplify-rtx.c (simplify_subreg): Do not adjust address if memory 
       address has vector mode.


OK to submit?

Paulo Matos


-------------- next part --------------
A non-text attachment was scrubbed...
Name: vector-mode.patch
Type: application/octet-stream
Size: 662 bytes
Desc: vector-mode.patch
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20140130/86a9307a/attachment.obj>


More information about the Gcc-patches mailing list