Mercurial > hg > CbC > CbC_gcc
view 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 |
line wrap: on
line source
/* { dg-options "-O2 -fdump-rtl-ira-details-blocks" } */ /* { dg-require-effective-target c99_runtime } */ #include <math.h> void foo (float *); void f1 (float *x) { x[0] = sqrtf (x[0]); } void f2 (float *x) { sqrtf (x[0]); foo (x); } void f3 (float *x) { acosf (x[0]); foo (x); } /* { dg-final { scan-rtl-dump-not "Invalid sum" "ira" } } */