rs6000.c (rs6000_handle_altivec_attribute): Propagate all type qualifiers from elemen...
authorUlrich Weigand <uweigand@de.ibm.com>
Mon, 25 Aug 2008 18:51:24 +0000 (18:51 +0000)
committerUlrich Weigand <uweigand@gcc.gnu.org>
Mon, 25 Aug 2008 18:51:24 +0000 (18:51 +0000)
commit4f538d42772a6089366a80d20fac26905bcd6749
tree0c8d6fa225b5a087485b84d3c70bbee0d5ddf539
parent7cede6436921a2f1cc7d93abf2fc2cf96796d4c2
rs6000.c (rs6000_handle_altivec_attribute): Propagate all type qualifiers from element type to vector type.

ChangeLog:

* config/rs6000/rs6000.c (rs6000_handle_altivec_attribute): Propagate
all type qualifiers from element type to vector type.

testsuite/ChangeLog:

* gcc.target/powerpc/altivec-volatile.c: New test.

Co-Authored-By: Andrew Pinski <andrew_pinski@playstation.sony.com>
From-SVN: r139569
gcc/ChangeLog
gcc/config/rs6000/rs6000.c
gcc/testsuite/ChangeLog