Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf-5.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
comparison
equal
deleted
inserted
replaced
111:04ced10e8804 | 131:84e7813d76e9 |
---|---|
26 do { \ | 26 do { \ |
27 int n = __builtin_snprintf (0, 0, __VA_ARGS__); \ | 27 int n = __builtin_snprintf (0, 0, __VA_ARGS__); \ |
28 ASSERT (n, expect); \ | 28 ASSERT (n, expect); \ |
29 } while (0) | 29 } while (0) |
30 | 30 |
31 int ival (int i) { return i; } | 31 static int ival (int i) { return i; } |
32 | 32 |
33 /* Generate a signed int value in the specified range. */ | 33 /* Generate a signed int value in the specified range. */ |
34 | 34 |
35 static int | 35 static int |
36 int_range (int min, int max) | 36 int_range (int min, int max) |