Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/torture/pr77937-2.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-do compile } */ |
2 /* { dg-options "-O3" } */ | |
3 /* { dg-additional-options "-march=amdfam10" { target i?86-*-* x86_64-*-* } } */ | |
4 | |
5 extern int fn2(int); | |
6 extern int fn3(int); | |
7 int a, b, c; | |
8 void fn1(long p1) { | |
9 char *d; | |
10 for (;; d += p1) { | |
11 d[0] = fn2(1 >> a); | |
12 fn3(0); | |
13 fn3(c >> a); | |
14 d[1] = fn3(d[1] * b + c >> a); | |
15 d[4] = fn3(d[4] * b + c >> a); | |
16 d[5] = fn3(d[5] * b + c >> a); | |
17 } | |
18 } |