Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
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
];
}