Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/c-c++-common/ubsan/object-size-9.c @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | 04ced10e8804 |
children |
comparison
equal
deleted
inserted
replaced
131:84e7813d76e9 | 145:1830386684a0 |
---|---|
1 /* { dg-do run } */ | 1 /* { dg-do run } */ |
2 /* { dg-skip-if "" { *-*-* } { "*" } { "-O2" } } */ | 2 /* { dg-skip-if "" { *-*-* } { "*" } { "-O2" } } */ |
3 /* { dg-options "-fsanitize=undefined" } */ | 3 /* { dg-options "-Wno-stringop-overflow -fsanitize=undefined" } */ |
4 | 4 |
5 /* Test PARM_DECLs and RESULT_DECLs. */ | 5 /* Test PARM_DECLs and RESULT_DECLs. */ |
6 | 6 |
7 struct T { char d[8]; int e; }; | 7 struct T { char d[8]; int e; }; |
8 struct T t = { "abcdefg", 1 }; | 8 struct T t = { "abcdefg", 1 }; |