blob: b29838a64ee2c392e3d3532ea6f1357a776bc5d6 [file] [log] [blame]
/* { dg-do compile } */
/* { dg-require-effective-target powerpc_altivec_ok } */
/* { dg-options "-O2 -maltivec -mabi=altivec -mdejagnu-cpu=cell" } */
#include <altivec.h>
/* This used to ICE with reloading of a constant address. */
vector float f(void)
{
vector float * a = (void*)16;
return vec_lvlx (0, a);
}