Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/pr42461.c @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 1 /* PR rtl-optimization/42461 */ |
2 /* Reported by Patrick Pelissier <patrick.pelissier@gmail.com> */ | |
3 | |
4 /* { dg-do link } */ | |
5 /* { dg-options "-O2" } */ | |
6 | |
7 extern int link_failure (int) __attribute__ ((pure)); | |
8 | |
9 int main (void) | |
10 { | |
11 if (link_failure (0) < 1) | |
12 __builtin_unreachable (); | |
13 return 0; | |
14 } |