Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
ext
/
alias-canon3.C
blob: 22e29e8ad582de8c1c6c6596b8b48005c0acfbea [
file
] [
log
] [
blame
]
// { dg-do compile }
// PR c++/66270
typedef
float
__m256 __attribute__
((
__vector_size__
(
32
),
__may_alias__
));
struct
A
{
__m256 ymm
;
const
float
&
f
()
const
;
};
const
float
&
A
::
f
()
const
{
return
ymm
[
1
];
}