Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/pr54919.c @ 158:494b0b89df80 default tip
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 18:13:55 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
/* PR tree-optimization/54919 */ /* Testcase by Zdenek Sojka <zsojka@seznam.cz> */ /* { dg-do run } */ /* { dg-options "-O3 -ffast-math -funroll-loops -fvariable-expansion-in-unroller" } */ int a[10]; extern void abort(void) __attribute__((noreturn)); int __attribute__((__noinline__, __noclone__)) foo (void) { double d; int i; for (i = 0, d = 0; i < 64; i++) d--; return (int) d; } int main (void) { if (foo () != -64) abort (); return 0; }