Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/cse_recip.c @ 144:8f4e72ab4e11
fix segmentation fault caused by nothing next cur_op to end
author | Takahiro SHIMIZU <anatofuz@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 23 Dec 2018 21:23:56 +0900 |
parents | 84e7813d76e9 |
children |
line wrap: on
line source
/* { dg-do compile } */ /* { dg-options "-Ofast -fdump-tree-optimized-raw -fno-tree-slp-vectorize" } */ void cse_recip (float x, float y, float *a) { a[0] = y / (5 * x); a[1] = y / (3 * x); a[2] = y / x; } /* { dg-final { scan-tree-dump-times "rdiv_expr" 1 "optimized" } } */