Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/g++.dg/opt/pr84272.C @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | |
children |
line wrap: on
line source
// PR target/84272 // { dg-do compile } // { dg-options "-O2" } // { dg-additional-options "-march=armv8-a -mtune=cortex-a57" { target aarch64-*-* } } struct A { float b, c; A (); A (float, float, float); float operator * (A) { float d = b * b + c * c; return d; } }; void foo () { A g[1]; A h (0, 0, h * g[2]); }