* gcc.dg/guality/pr49888.c (v): Add __attribute__((used)).

From-SVN: r219913
This commit is contained in:
Jakub Jelinek 2015-01-20 21:41:04 +01:00 committed by Jakub Jelinek
parent 3ea3641880
commit d302f41d4e
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,7 @@
2015-01-20 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/guality/pr49888.c (v): Add __attribute__((used)).
PR sanitizer/64632
* g++.dg/ubsan/pr64632.C: New test.

View File

@ -2,7 +2,7 @@
/* { dg-do run } */
/* { dg-options "-g" } */
static int v;
static int v __attribute__((used));
static void __attribute__((noinline, noclone))
f (int *p)