blob: 19ec1dbdf0c822231508934cfd9ae8571aa242a9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
/* { dg-additional-options "-fcx-limited-range -fdump-tree-optimized" } */
/* { dg-skip-if "" { *-*-* } { "-flto" } { "" } } */
#pragma GCC optimize "-fno-cx-limited-range"
void do_div (_Complex double *a, _Complex double *b)
{
*a = *b / (4.0 - 5.0fi);
}
/* { dg-final { scan-tree-dump "__(?:gnu_)?divdc3" "optimized" { target { large_double } } } } */
/* { dg-final { scan-tree-dump "__(?:gnu_)?divsc3" "optimized" { target { ! { large_double } } } } } */
|