comparison gcc/testsuite/c-c++-common/ubsan/vla-1.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
1 /* { dg-do run } */ 1 /* { dg-do run } */
2 /* { dg-options "-fsanitize=vla-bound -Wall -Wno-unused-variable" } */ 2 /* { dg-options "-fsanitize=vla-bound -Wall -Wno-unused-variable -fno-stack-clash-protection" } */
3 3
4 typedef long int V; 4 typedef long int V;
5 int x = -1; 5 int x = -1;
6 double di = -3.2; 6 double di = -3.2;
7 V v = -6; 7 V v = -6;