Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/g++.dg/opt/pr20931.C @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
// PR middle-end // This testcase ICEd because fold checking saw a type change which // is allowed as TYPE_CONTAINS_PLACEHOLDER_INTERNAL could change. // { dg-do compile } // { dg-options "-O2" } int __finite (double __x) throw () { return (__extension__ (((((union { double __d; int __i[2]; }) {__d: __x}).__i[1] | 0x800fffffu) + 1) >> 31)); }