Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/pr80218.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 1 /* { dg-options "-O2 -fdump-rtl-ira-details-blocks" } */ |
2 /* { dg-require-effective-target c99_runtime } */ | |
3 | |
4 #include <math.h> | |
5 | |
6 void foo (float *); | |
7 | |
8 void | |
9 f1 (float *x) | |
10 { | |
11 x[0] = sqrtf (x[0]); | |
12 } | |
13 | |
14 void | |
15 f2 (float *x) | |
16 { | |
17 sqrtf (x[0]); | |
18 foo (x); | |
19 } | |
20 | |
21 void | |
22 f3 (float *x) | |
23 { | |
24 acosf (x[0]); | |
25 foo (x); | |
26 } | |
27 | |
28 /* { dg-final { scan-rtl-dump-not "Invalid sum" "ira" } } */ |