comparison gcc/testsuite/gcc.dg/pure-2.c @ 145:1830386684a0

gcc-9.2.0
author anatofuz
date Thu, 13 Feb 2020 11:34:05 +0900
parents 04ced10e8804
children
comparison
equal deleted inserted replaced
131:84e7813d76e9 145:1830386684a0
1 /* { dg-do compile } */ 1 /* { dg-do compile } */
2 /* { dg-options "-O2 -Wsuggest-attribute=pure" } */ 2 /* { dg-options "-O2 -Wsuggest-attribute=pure -fno-finite-loops" } */
3 /* { dg-add-options bind_pic_locally } */ 3 /* { dg-add-options bind_pic_locally } */
4 4
5 extern int extern_const(int a) __attribute__ ((pure)); 5 extern int extern_const(int a) __attribute__ ((pure));
6 extern int v; 6 extern int v;
7 7