/dports/lang/gcc9/gcc-9.4.0/gcc/testsuite/gcc.dg/ |
H A D | strlenopt-45.c | 9 #define PTRDIFF_MAX __PTRDIFF_MAX__ macro 63 ELIM (strnlen (&c, PTRDIFF_MAX) == 0); in elim_strnlen_arr_cst() 71 ELIM (strnlen (a1, PTRDIFF_MAX) == 0); in elim_strnlen_arr_cst() 80 ELIM (strnlen (a3, PTRDIFF_MAX) < 4); in elim_strnlen_arr_cst() 98 ELIM (strnlen (a3_7[2], PTRDIFF_MAX) < sizeof a3_7); in elim_strnlen_arr_cst() 118 ELIM (strnlen (ax, PTRDIFF_MAX) < PTRDIFF_MAX); in elim_strnlen_arr_cst() 119 ELIM (strnlen (ax, SIZE_MAX) < PTRDIFF_MAX); in elim_strnlen_arr_cst() 120 ELIM (strnlen (ax, -1) < PTRDIFF_MAX); in elim_strnlen_arr_cst() 133 ELIM (strnlen (s0, PTRDIFF_MAX) == 0); in elim_strnlen_str_cst() 140 ELIM (strnlen (s1, PTRDIFF_MAX) == 1); in elim_strnlen_str_cst() [all …]
|
/dports/lang/gcc10/gcc-10.3.0/gcc/testsuite/gcc.dg/ |
H A D | strlenopt-45.c | 9 #define PTRDIFF_MAX __PTRDIFF_MAX__ macro 63 ELIM (strnlen (&c, PTRDIFF_MAX) == 0); in elim_strnlen_arr_cst() 71 ELIM (strnlen (a1, PTRDIFF_MAX) == 0); in elim_strnlen_arr_cst() 80 ELIM (strnlen (a3, PTRDIFF_MAX) < 4); in elim_strnlen_arr_cst() 98 ELIM (strnlen (a3_7[2], PTRDIFF_MAX) < sizeof a3_7); in elim_strnlen_arr_cst() 118 ELIM (strnlen (ax, PTRDIFF_MAX) < PTRDIFF_MAX); in elim_strnlen_arr_cst() 119 ELIM (strnlen (ax, SIZE_MAX) < PTRDIFF_MAX); in elim_strnlen_arr_cst() 120 ELIM (strnlen (ax, -1) < PTRDIFF_MAX); in elim_strnlen_arr_cst() 133 ELIM (strnlen (s0, PTRDIFF_MAX) == 0); in elim_strnlen_str_cst() 140 ELIM (strnlen (s1, PTRDIFF_MAX) == 1); in elim_strnlen_str_cst() [all …]
|
/dports/lang/gcc11/gcc-11.2.0/gcc/testsuite/gcc.dg/ |
H A D | strlenopt-45.c | 9 #define PTRDIFF_MAX __PTRDIFF_MAX__ macro 63 ELIM (strnlen (&c, PTRDIFF_MAX) == 0); in elim_strnlen_arr_cst() 71 ELIM (strnlen (a1, PTRDIFF_MAX) == 0); in elim_strnlen_arr_cst() 80 ELIM (strnlen (a3, PTRDIFF_MAX) < 4); in elim_strnlen_arr_cst() 98 ELIM (strnlen (a3_7[2], PTRDIFF_MAX) < sizeof a3_7); in elim_strnlen_arr_cst() 118 ELIM (strnlen (ax, PTRDIFF_MAX) < PTRDIFF_MAX); in elim_strnlen_arr_cst() 119 ELIM (strnlen (ax, SIZE_MAX) < PTRDIFF_MAX); in elim_strnlen_arr_cst() 120 ELIM (strnlen (ax, -1) < PTRDIFF_MAX); in elim_strnlen_arr_cst() 133 ELIM (strnlen (s0, PTRDIFF_MAX) == 0); in elim_strnlen_str_cst() 140 ELIM (strnlen (s1, PTRDIFF_MAX) == 1); in elim_strnlen_str_cst() [all …]
|
H A D | Wstringop-overread-2.c | 6 #define PTRDIFF_MAX __PTRDIFF_MAX__ macro 28 size_t dmax = PTRDIFF_MAX; in test_memchr() 41 size_t dmax = PTRDIFF_MAX; in test_memcmp() 54 size_t dmax = PTRDIFF_MAX; in test_memcpy() 67 size_t dmax = PTRDIFF_MAX; in test_strncmp() 79 size_t dmax = PTRDIFF_MAX; in test_strncat() 96 size_t dmax = PTRDIFF_MAX; in test_strncpy() 109 size_t dmax = PTRDIFF_MAX; in test_strnlen()
|
/dports/lang/gcc9-aux/gcc-9.1.0/gcc/testsuite/gcc.dg/ |
H A D | strlenopt-45.c | 9 #define PTRDIFF_MAX __PTRDIFF_MAX__ macro 63 ELIM (strnlen (&c, PTRDIFF_MAX) == 0); in elim_strnlen_arr_cst() 71 ELIM (strnlen (a1, PTRDIFF_MAX) == 0); in elim_strnlen_arr_cst() 80 ELIM (strnlen (a3, PTRDIFF_MAX) < 4); in elim_strnlen_arr_cst() 98 ELIM (strnlen (a3_7[2], PTRDIFF_MAX) < sizeof a3_7); in elim_strnlen_arr_cst() 118 ELIM (strnlen (ax, PTRDIFF_MAX) < PTRDIFF_MAX); in elim_strnlen_arr_cst() 119 ELIM (strnlen (ax, SIZE_MAX) < PTRDIFF_MAX); in elim_strnlen_arr_cst() 120 ELIM (strnlen (ax, -1) < PTRDIFF_MAX); in elim_strnlen_arr_cst() 133 ELIM (strnlen (s0, PTRDIFF_MAX) == 0); in elim_strnlen_str_cst() 140 ELIM (strnlen (s1, PTRDIFF_MAX) == 1); in elim_strnlen_str_cst() [all …]
|
/dports/lang/gcc9-devel/gcc-9-20211007/gcc/testsuite/gcc.dg/ |
H A D | strlenopt-45.c | 9 #define PTRDIFF_MAX __PTRDIFF_MAX__ macro 63 ELIM (strnlen (&c, PTRDIFF_MAX) == 0); in elim_strnlen_arr_cst() 71 ELIM (strnlen (a1, PTRDIFF_MAX) == 0); in elim_strnlen_arr_cst() 80 ELIM (strnlen (a3, PTRDIFF_MAX) < 4); in elim_strnlen_arr_cst() 98 ELIM (strnlen (a3_7[2], PTRDIFF_MAX) < sizeof a3_7); in elim_strnlen_arr_cst() 118 ELIM (strnlen (ax, PTRDIFF_MAX) < PTRDIFF_MAX); in elim_strnlen_arr_cst() 119 ELIM (strnlen (ax, SIZE_MAX) < PTRDIFF_MAX); in elim_strnlen_arr_cst() 120 ELIM (strnlen (ax, -1) < PTRDIFF_MAX); in elim_strnlen_arr_cst() 133 ELIM (strnlen (s0, PTRDIFF_MAX) == 0); in elim_strnlen_str_cst() 140 ELIM (strnlen (s1, PTRDIFF_MAX) == 1); in elim_strnlen_str_cst() [all …]
|
/dports/lang/gcc11-devel/gcc-11-20211009/gcc/testsuite/gcc.dg/ |
H A D | strlenopt-45.c | 9 #define PTRDIFF_MAX __PTRDIFF_MAX__ macro 63 ELIM (strnlen (&c, PTRDIFF_MAX) == 0); in elim_strnlen_arr_cst() 71 ELIM (strnlen (a1, PTRDIFF_MAX) == 0); in elim_strnlen_arr_cst() 80 ELIM (strnlen (a3, PTRDIFF_MAX) < 4); in elim_strnlen_arr_cst() 98 ELIM (strnlen (a3_7[2], PTRDIFF_MAX) < sizeof a3_7); in elim_strnlen_arr_cst() 118 ELIM (strnlen (ax, PTRDIFF_MAX) < PTRDIFF_MAX); in elim_strnlen_arr_cst() 119 ELIM (strnlen (ax, SIZE_MAX) < PTRDIFF_MAX); in elim_strnlen_arr_cst() 120 ELIM (strnlen (ax, -1) < PTRDIFF_MAX); in elim_strnlen_arr_cst() 133 ELIM (strnlen (s0, PTRDIFF_MAX) == 0); in elim_strnlen_str_cst() 140 ELIM (strnlen (s1, PTRDIFF_MAX) == 1); in elim_strnlen_str_cst() [all …]
|
H A D | Wstringop-overread-2.c | 6 #define PTRDIFF_MAX __PTRDIFF_MAX__ macro 28 size_t dmax = PTRDIFF_MAX; in test_memchr() 41 size_t dmax = PTRDIFF_MAX; in test_memcmp() 54 size_t dmax = PTRDIFF_MAX; in test_memcpy() 67 size_t dmax = PTRDIFF_MAX; in test_strncmp() 79 size_t dmax = PTRDIFF_MAX; in test_strncat() 96 size_t dmax = PTRDIFF_MAX; in test_strncpy() 109 size_t dmax = PTRDIFF_MAX; in test_strnlen()
|
/dports/devel/avr-gcc/gcc-10.2.0/gcc/testsuite/gcc.dg/ |
H A D | strlenopt-45.c | 9 #define PTRDIFF_MAX __PTRDIFF_MAX__ macro 63 ELIM (strnlen (&c, PTRDIFF_MAX) == 0); in elim_strnlen_arr_cst() 71 ELIM (strnlen (a1, PTRDIFF_MAX) == 0); in elim_strnlen_arr_cst() 80 ELIM (strnlen (a3, PTRDIFF_MAX) < 4); in elim_strnlen_arr_cst() 98 ELIM (strnlen (a3_7[2], PTRDIFF_MAX) < sizeof a3_7); in elim_strnlen_arr_cst() 118 ELIM (strnlen (ax, PTRDIFF_MAX) < PTRDIFF_MAX); in elim_strnlen_arr_cst() 119 ELIM (strnlen (ax, SIZE_MAX) < PTRDIFF_MAX); in elim_strnlen_arr_cst() 120 ELIM (strnlen (ax, -1) < PTRDIFF_MAX); in elim_strnlen_arr_cst() 133 ELIM (strnlen (s0, PTRDIFF_MAX) == 0); in elim_strnlen_str_cst() 140 ELIM (strnlen (s1, PTRDIFF_MAX) == 1); in elim_strnlen_str_cst() [all …]
|
/dports/misc/cxx_atomics_pic/gcc-11.2.0/gcc/testsuite/gcc.dg/ |
H A D | strlenopt-45.c | 9 #define PTRDIFF_MAX __PTRDIFF_MAX__ macro 63 ELIM (strnlen (&c, PTRDIFF_MAX) == 0); in elim_strnlen_arr_cst() 71 ELIM (strnlen (a1, PTRDIFF_MAX) == 0); in elim_strnlen_arr_cst() 80 ELIM (strnlen (a3, PTRDIFF_MAX) < 4); in elim_strnlen_arr_cst() 98 ELIM (strnlen (a3_7[2], PTRDIFF_MAX) < sizeof a3_7); in elim_strnlen_arr_cst() 118 ELIM (strnlen (ax, PTRDIFF_MAX) < PTRDIFF_MAX); in elim_strnlen_arr_cst() 119 ELIM (strnlen (ax, SIZE_MAX) < PTRDIFF_MAX); in elim_strnlen_arr_cst() 120 ELIM (strnlen (ax, -1) < PTRDIFF_MAX); in elim_strnlen_arr_cst() 133 ELIM (strnlen (s0, PTRDIFF_MAX) == 0); in elim_strnlen_str_cst() 140 ELIM (strnlen (s1, PTRDIFF_MAX) == 1); in elim_strnlen_str_cst() [all …]
|
H A D | Wstringop-overread-2.c | 6 #define PTRDIFF_MAX __PTRDIFF_MAX__ macro 28 size_t dmax = PTRDIFF_MAX; in test_memchr() 41 size_t dmax = PTRDIFF_MAX; in test_memcmp() 54 size_t dmax = PTRDIFF_MAX; in test_memcpy() 67 size_t dmax = PTRDIFF_MAX; in test_strncmp() 79 size_t dmax = PTRDIFF_MAX; in test_strncat() 96 size_t dmax = PTRDIFF_MAX; in test_strncpy() 109 size_t dmax = PTRDIFF_MAX; in test_strnlen()
|
/dports/lang/gcc10-devel/gcc-10-20211008/gcc/testsuite/gcc.dg/ |
H A D | strlenopt-45.c | 9 #define PTRDIFF_MAX __PTRDIFF_MAX__ macro 63 ELIM (strnlen (&c, PTRDIFF_MAX) == 0); in elim_strnlen_arr_cst() 71 ELIM (strnlen (a1, PTRDIFF_MAX) == 0); in elim_strnlen_arr_cst() 80 ELIM (strnlen (a3, PTRDIFF_MAX) < 4); in elim_strnlen_arr_cst() 98 ELIM (strnlen (a3_7[2], PTRDIFF_MAX) < sizeof a3_7); in elim_strnlen_arr_cst() 118 ELIM (strnlen (ax, PTRDIFF_MAX) < PTRDIFF_MAX); in elim_strnlen_arr_cst() 119 ELIM (strnlen (ax, SIZE_MAX) < PTRDIFF_MAX); in elim_strnlen_arr_cst() 120 ELIM (strnlen (ax, -1) < PTRDIFF_MAX); in elim_strnlen_arr_cst() 133 ELIM (strnlen (s0, PTRDIFF_MAX) == 0); in elim_strnlen_str_cst() 140 ELIM (strnlen (s1, PTRDIFF_MAX) == 1); in elim_strnlen_str_cst() [all …]
|
/dports/lang/gcc12-devel/gcc-12-20211205/gcc/testsuite/gcc.dg/ |
H A D | strlenopt-45.c | 9 #define PTRDIFF_MAX __PTRDIFF_MAX__ macro 63 ELIM (strnlen (&c, PTRDIFF_MAX) == 0); in elim_strnlen_arr_cst() 71 ELIM (strnlen (a1, PTRDIFF_MAX) == 0); in elim_strnlen_arr_cst() 80 ELIM (strnlen (a3, PTRDIFF_MAX) < 4); in elim_strnlen_arr_cst() 98 ELIM (strnlen (a3_7[2], PTRDIFF_MAX) < sizeof a3_7); in elim_strnlen_arr_cst() 118 ELIM (strnlen (ax, PTRDIFF_MAX) < PTRDIFF_MAX); in elim_strnlen_arr_cst() 119 ELIM (strnlen (ax, SIZE_MAX) < PTRDIFF_MAX); in elim_strnlen_arr_cst() 120 ELIM (strnlen (ax, -1) < PTRDIFF_MAX); in elim_strnlen_arr_cst() 133 ELIM (strnlen (s0, PTRDIFF_MAX) == 0); in elim_strnlen_str_cst() 140 ELIM (strnlen (s1, PTRDIFF_MAX) == 1); in elim_strnlen_str_cst() [all …]
|
H A D | Wstringop-overread-2.c | 6 #define PTRDIFF_MAX __PTRDIFF_MAX__ macro 28 size_t dmax = PTRDIFF_MAX; in test_memchr() 41 size_t dmax = PTRDIFF_MAX; in test_memcmp() 54 size_t dmax = PTRDIFF_MAX; in test_memcpy() 67 size_t dmax = PTRDIFF_MAX; in test_strncmp() 79 size_t dmax = PTRDIFF_MAX; in test_strncat() 96 size_t dmax = PTRDIFF_MAX; in test_strncpy() 109 size_t dmax = PTRDIFF_MAX; in test_strnlen()
|
/dports/lang/gcc12-devel/gcc-12-20211205/gcc/testsuite/c-c++-common/ |
H A D | Warray-bounds-7.c | 7 #define PTRDIFF_MAX __PTRDIFF_MAX__ macro 37 T (a0.a + PTRDIFF_MAX); // { dg-warning "\\\[-Warray-bounds|-Wstringop-overread" } in test_zero_length_array() 45 T (a0_0.a + PTRDIFF_MAX); // { dg-warning "\\\[-Warray-bounds|-Wstringop-overread" } in test_zero_length_array() 53 T (a0_0_.a + PTRDIFF_MAX); // { dg-warning "\\\[-Warray-bounds|-Wstringop-overread" } in test_zero_length_array() 63 T (a1.a + PTRDIFF_MAX); // { dg-warning "\\\[-Warray-bounds|-Wstringop-overread" } in test_one_element_array() 70 T (a1_0.a + PTRDIFF_MAX); // { dg-warning "\\\[-Warray-bounds|-Wstringop-overread" } in test_one_element_array() 77 T (a1_0_.a + PTRDIFF_MAX); // { dg-warning "\\\[-Warray-bounds|-Wstringop-overread" } in test_one_element_array() 88 T (ax.a + PTRDIFF_MAX); // { dg-warning "\\\[-Warray-bounds|-Wstringop-overread" } in test_flexible_array_member() 96 T (ax_0.a + PTRDIFF_MAX); // { dg-warning "\\\[-Warray-bounds|-Wstringop-overread" } in test_flexible_array_member() 104 T (ax_0_.a + PTRDIFF_MAX); // { dg-warning "\\\[-Warray-bounds|-Wstringop-overread" } in test_flexible_array_member()
|
/dports/devel/avr-gcc/gcc-10.2.0/gcc/testsuite/c-c++-common/ |
H A D | Warray-bounds-7.c | 7 #define PTRDIFF_MAX __PTRDIFF_MAX__ macro 37 T (a0.a + PTRDIFF_MAX); // { dg-warning "\\\[-Warray-bounds" } in test_zero_length_array() 45 T (a0_0.a + PTRDIFF_MAX); // { dg-warning "\\\[-Warray-bounds" } in test_zero_length_array() 53 T (a0_0_.a + PTRDIFF_MAX); // { dg-warning "\\\[-Warray-bounds" } in test_zero_length_array() 63 T (a1.a + PTRDIFF_MAX); // { dg-warning "\\\[-Warray-bounds" } in test_one_element_array() 70 T (a1_0.a + PTRDIFF_MAX); // { dg-warning "\\\[-Warray-bounds" } in test_one_element_array() 77 T (a1_0_.a + PTRDIFF_MAX); // { dg-warning "\\\[-Warray-bounds" } in test_one_element_array() 88 T (ax.a + PTRDIFF_MAX); // { dg-warning "\\\[-Warray-bounds" } in test_flexible_array_member() 96 T (ax_0.a + PTRDIFF_MAX); // { dg-warning "\\\[-Warray-bounds" } in test_flexible_array_member() 104 T (ax_0_.a + PTRDIFF_MAX); // { dg-warning "\\\[-Warray-bounds" } in test_flexible_array_member()
|
/dports/lang/gcc11-devel/gcc-11-20211009/gcc/testsuite/c-c++-common/ |
H A D | Warray-bounds-7.c | 7 #define PTRDIFF_MAX __PTRDIFF_MAX__ macro 37 T (a0.a + PTRDIFF_MAX); // { dg-warning "\\\[-Warray-bounds|-Wstringop-overread" } in test_zero_length_array() 45 T (a0_0.a + PTRDIFF_MAX); // { dg-warning "\\\[-Warray-bounds|-Wstringop-overread" } in test_zero_length_array() 53 T (a0_0_.a + PTRDIFF_MAX); // { dg-warning "\\\[-Warray-bounds|-Wstringop-overread" } in test_zero_length_array() 63 T (a1.a + PTRDIFF_MAX); // { dg-warning "\\\[-Warray-bounds|-Wstringop-overread" } in test_one_element_array() 70 T (a1_0.a + PTRDIFF_MAX); // { dg-warning "\\\[-Warray-bounds|-Wstringop-overread" } in test_one_element_array() 77 T (a1_0_.a + PTRDIFF_MAX); // { dg-warning "\\\[-Warray-bounds|-Wstringop-overread" } in test_one_element_array() 88 T (ax.a + PTRDIFF_MAX); // { dg-warning "\\\[-Warray-bounds|-Wstringop-overread" } in test_flexible_array_member() 96 T (ax_0.a + PTRDIFF_MAX); // { dg-warning "\\\[-Warray-bounds|-Wstringop-overread" } in test_flexible_array_member() 104 T (ax_0_.a + PTRDIFF_MAX); // { dg-warning "\\\[-Warray-bounds|-Wstringop-overread" } in test_flexible_array_member()
|
/dports/misc/cxx_atomics_pic/gcc-11.2.0/gcc/testsuite/c-c++-common/ |
H A D | Warray-bounds-7.c | 7 #define PTRDIFF_MAX __PTRDIFF_MAX__ macro 37 T (a0.a + PTRDIFF_MAX); // { dg-warning "\\\[-Warray-bounds|-Wstringop-overread" } in test_zero_length_array() 45 T (a0_0.a + PTRDIFF_MAX); // { dg-warning "\\\[-Warray-bounds|-Wstringop-overread" } in test_zero_length_array() 53 T (a0_0_.a + PTRDIFF_MAX); // { dg-warning "\\\[-Warray-bounds|-Wstringop-overread" } in test_zero_length_array() 63 T (a1.a + PTRDIFF_MAX); // { dg-warning "\\\[-Warray-bounds|-Wstringop-overread" } in test_one_element_array() 70 T (a1_0.a + PTRDIFF_MAX); // { dg-warning "\\\[-Warray-bounds|-Wstringop-overread" } in test_one_element_array() 77 T (a1_0_.a + PTRDIFF_MAX); // { dg-warning "\\\[-Warray-bounds|-Wstringop-overread" } in test_one_element_array() 88 T (ax.a + PTRDIFF_MAX); // { dg-warning "\\\[-Warray-bounds|-Wstringop-overread" } in test_flexible_array_member() 96 T (ax_0.a + PTRDIFF_MAX); // { dg-warning "\\\[-Warray-bounds|-Wstringop-overread" } in test_flexible_array_member() 104 T (ax_0_.a + PTRDIFF_MAX); // { dg-warning "\\\[-Warray-bounds|-Wstringop-overread" } in test_flexible_array_member()
|
/dports/lang/gcc10/gcc-10.3.0/gcc/testsuite/c-c++-common/ |
H A D | Warray-bounds-7.c | 7 #define PTRDIFF_MAX __PTRDIFF_MAX__ macro 37 T (a0.a + PTRDIFF_MAX); // { dg-warning "\\\[-Warray-bounds" } in test_zero_length_array() 45 T (a0_0.a + PTRDIFF_MAX); // { dg-warning "\\\[-Warray-bounds" } in test_zero_length_array() 53 T (a0_0_.a + PTRDIFF_MAX); // { dg-warning "\\\[-Warray-bounds" } in test_zero_length_array() 63 T (a1.a + PTRDIFF_MAX); // { dg-warning "\\\[-Warray-bounds" } in test_one_element_array() 70 T (a1_0.a + PTRDIFF_MAX); // { dg-warning "\\\[-Warray-bounds" } in test_one_element_array() 77 T (a1_0_.a + PTRDIFF_MAX); // { dg-warning "\\\[-Warray-bounds" } in test_one_element_array() 88 T (ax.a + PTRDIFF_MAX); // { dg-warning "\\\[-Warray-bounds" } in test_flexible_array_member() 96 T (ax_0.a + PTRDIFF_MAX); // { dg-warning "\\\[-Warray-bounds" } in test_flexible_array_member() 104 T (ax_0_.a + PTRDIFF_MAX); // { dg-warning "\\\[-Warray-bounds" } in test_flexible_array_member()
|
/dports/lang/gcc11/gcc-11.2.0/gcc/testsuite/c-c++-common/ |
H A D | Warray-bounds-7.c | 7 #define PTRDIFF_MAX __PTRDIFF_MAX__ macro 37 T (a0.a + PTRDIFF_MAX); // { dg-warning "\\\[-Warray-bounds|-Wstringop-overread" } in test_zero_length_array() 45 T (a0_0.a + PTRDIFF_MAX); // { dg-warning "\\\[-Warray-bounds|-Wstringop-overread" } in test_zero_length_array() 53 T (a0_0_.a + PTRDIFF_MAX); // { dg-warning "\\\[-Warray-bounds|-Wstringop-overread" } in test_zero_length_array() 63 T (a1.a + PTRDIFF_MAX); // { dg-warning "\\\[-Warray-bounds|-Wstringop-overread" } in test_one_element_array() 70 T (a1_0.a + PTRDIFF_MAX); // { dg-warning "\\\[-Warray-bounds|-Wstringop-overread" } in test_one_element_array() 77 T (a1_0_.a + PTRDIFF_MAX); // { dg-warning "\\\[-Warray-bounds|-Wstringop-overread" } in test_one_element_array() 88 T (ax.a + PTRDIFF_MAX); // { dg-warning "\\\[-Warray-bounds|-Wstringop-overread" } in test_flexible_array_member() 96 T (ax_0.a + PTRDIFF_MAX); // { dg-warning "\\\[-Warray-bounds|-Wstringop-overread" } in test_flexible_array_member() 104 T (ax_0_.a + PTRDIFF_MAX); // { dg-warning "\\\[-Warray-bounds|-Wstringop-overread" } in test_flexible_array_member()
|
/dports/lang/gcc10-devel/gcc-10-20211008/gcc/testsuite/c-c++-common/ |
H A D | Warray-bounds-7.c | 7 #define PTRDIFF_MAX __PTRDIFF_MAX__ macro 37 T (a0.a + PTRDIFF_MAX); // { dg-warning "\\\[-Warray-bounds" } in test_zero_length_array() 45 T (a0_0.a + PTRDIFF_MAX); // { dg-warning "\\\[-Warray-bounds" } in test_zero_length_array() 53 T (a0_0_.a + PTRDIFF_MAX); // { dg-warning "\\\[-Warray-bounds" } in test_zero_length_array() 63 T (a1.a + PTRDIFF_MAX); // { dg-warning "\\\[-Warray-bounds" } in test_one_element_array() 70 T (a1_0.a + PTRDIFF_MAX); // { dg-warning "\\\[-Warray-bounds" } in test_one_element_array() 77 T (a1_0_.a + PTRDIFF_MAX); // { dg-warning "\\\[-Warray-bounds" } in test_one_element_array() 88 T (ax.a + PTRDIFF_MAX); // { dg-warning "\\\[-Warray-bounds" } in test_flexible_array_member() 96 T (ax_0.a + PTRDIFF_MAX); // { dg-warning "\\\[-Warray-bounds" } in test_flexible_array_member() 104 T (ax_0_.a + PTRDIFF_MAX); // { dg-warning "\\\[-Warray-bounds" } in test_flexible_array_member()
|
/dports/astro/gnuastro/gnuastro-0.16/bootstrapped/m4/ |
H A D | malloc.m4 | 53 # Test whether malloc (N) reliably fails when N exceeds PTRDIFF_MAX, 75 #define WIDE_PTRDIFF (PTRDIFF_MAX >> 31 >> 31 != 0) 79 #define NARROW_SIZE (SIZE_MAX <= PTRDIFF_MAX) 134 dnl when the argument is larger than PTRDIFF_MAX. 137 dnl PTRDIFF_MAX. 144 #ifndef PTRDIFF_MAX 145 # define PTRDIFF_MAX ((ptrdiff_t) ((1UL << (8 * sizeof (ptrdiff_t) - 1)) - 1)) 152 fprintf (stderr, "PTRDIFF_MAX = %lu\n", (unsigned long) PTRDIFF_MAX); 155 p = malloc ((unsigned long) PTRDIFF_MAX + 1); 159 p = calloc (PTRDIFF_MAX / 2 + 1, 2); [all …]
|
/dports/print/ttfautohint/ttfautohint-1.8.4/gnulib/m4/ |
H A D | malloc.m4 | 53 # Test whether malloc (N) reliably fails when N exceeds PTRDIFF_MAX, 75 #define WIDE_PTRDIFF (PTRDIFF_MAX >> 31 >> 31 != 0) 79 #define NARROW_SIZE (SIZE_MAX <= PTRDIFF_MAX) 134 dnl when the argument is larger than PTRDIFF_MAX. 137 dnl PTRDIFF_MAX. 144 #ifndef PTRDIFF_MAX 145 # define PTRDIFF_MAX ((ptrdiff_t) ((1UL << (8 * sizeof (ptrdiff_t) - 1)) - 1)) 152 fprintf (stderr, "PTRDIFF_MAX = %lu\n", (unsigned long) PTRDIFF_MAX); 155 p = malloc ((unsigned long) PTRDIFF_MAX + 1); 159 p = calloc (PTRDIFF_MAX / 2 + 1, 2); [all …]
|
/dports/security/libtasn1/libtasn1-4.18.0/src/gl/m4/ |
H A D | malloc.m4 | 53 # Test whether malloc (N) reliably fails when N exceeds PTRDIFF_MAX, 75 #define WIDE_PTRDIFF (PTRDIFF_MAX >> 31 >> 31 != 0) 79 #define NARROW_SIZE (SIZE_MAX <= PTRDIFF_MAX) 134 dnl when the argument is larger than PTRDIFF_MAX. 137 dnl PTRDIFF_MAX. 144 #ifndef PTRDIFF_MAX 145 # define PTRDIFF_MAX ((ptrdiff_t) ((1UL << (8 * sizeof (ptrdiff_t) - 1)) - 1)) 152 fprintf (stderr, "PTRDIFF_MAX = %lu\n", (unsigned long) PTRDIFF_MAX); 155 p = malloc ((unsigned long) PTRDIFF_MAX + 1); 159 p = calloc (PTRDIFF_MAX / 2 + 1, 2); [all …]
|
/dports/editors/emacs-devel/emacs-4d1968b/m4/ |
H A D | malloc.m4 | 53 # Test whether malloc (N) reliably fails when N exceeds PTRDIFF_MAX, 75 #define WIDE_PTRDIFF (PTRDIFF_MAX >> 31 >> 31 != 0) 79 #define NARROW_SIZE (SIZE_MAX <= PTRDIFF_MAX) 134 dnl when the argument is larger than PTRDIFF_MAX. 137 dnl PTRDIFF_MAX. 144 #ifndef PTRDIFF_MAX 145 # define PTRDIFF_MAX ((ptrdiff_t) ((1UL << (8 * sizeof (ptrdiff_t) - 1)) - 1)) 152 fprintf (stderr, "PTRDIFF_MAX = %lu\n", (unsigned long) PTRDIFF_MAX); 155 p = malloc ((unsigned long) PTRDIFF_MAX + 1); 159 p = calloc (PTRDIFF_MAX / 2 + 1, 2); [all …]
|