1 /* { dg-do compile } */
2 /* { dg-require-effective-target powerpc_altivec_ok } */
3 /* { dg-options "-O2 -maltivec -mabi=altivec -mdejagnu-cpu=cell" } */
4 #include <altivec.h>
5
6 /* This used to ICE with reloading of a constant address. */
7
8 vector float f(void)
9 {
10 vector float * a = (void*)16;
11 return vec_lvlx (0, a);
12 }