Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.c-torture/compile/pr30311.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 /* ICE in subreg_get_info: bug 30311. */ |
2 /* { dg-do compile { target i?86-*-* x86_64-*-* } } */ | |
3 inline double bar(double x) | |
4 { | |
5 long double d; | |
6 __asm__ ("" : "=t" (d) : "0" (x)); | |
7 return d; | |
8 } | |
9 | |
10 double foo(double x) | |
11 { | |
12 if (x) | |
13 return bar(x); | |
14 else | |
15 return bar(x); | |
16 } |