Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/gcc.dg/Warray-bounds-30.c @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | 84e7813d76e9 |
children |
comparison
equal
deleted
inserted
replaced
131:84e7813d76e9 | 145:1830386684a0 |
---|---|
1 /* PR tree-optimization/84047 - missing -Warray-bounds on an out-of-bounds | 1 /* PR tree-optimization/84047 - missing -Warray-bounds on an out-of-bounds |
2 index into an array | 2 index into an array |
3 { dg-do compile } | 3 { dg-do compile } |
4 { dg-options "-O2 -Warray-bounds=2 -ftrack-macro-expansion=0" } */ | 4 { dg-options "-O2 -Warray-bounds=2 -ftrack-macro-expansion=0" } |
5 { dg-skip-if "too many arguments in function call" { bpf-*-* } } */ | |
5 | 6 |
6 #include "range.h" | 7 #include "range.h" |
7 | 8 |
8 #define MAX DIFF_MAX | 9 #define MAX DIFF_MAX |
9 #define MIN DIFF_MIN | 10 #define MIN DIFF_MIN |