mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-12 07:20:27 +08:00
re PR c/78768 (-Walloca-larger-than and -Wformat-length warnings disabled by -flto)
2018-01-10 Richard Biener <rguenther@suse.de> PR testsuite/78768 * gcc.dg/pr78768.c: Un-XFAIL. From-SVN: r256430
This commit is contained in:
parent
e02a5f63dd
commit
7b975de05c
@ -1,3 +1,8 @@
|
||||
2018-01-10 Richard Biener <rguenther@suse.de>
|
||||
|
||||
PR testsuite/78768
|
||||
* gcc.dg/pr78768.c: Un-XFAIL.
|
||||
|
||||
2018-01-10 Richard Biener <rguenther@suse.de>
|
||||
|
||||
PR debug/82425
|
||||
|
@ -9,7 +9,7 @@ int main (void)
|
||||
{
|
||||
char *d = (char *)__builtin_alloca (12); /* { dg-warning "argument to .alloca. is too large" } */
|
||||
|
||||
__builtin_sprintf (d, "%32s", "x"); /* { dg-warning "directive writing 32 bytes into a region of size 12" "-Wformat-overflow" { xfail *-*-* } } */
|
||||
__builtin_sprintf (d, "%32s", "x"); /* { dg-warning "directive writing 32 bytes into a region of size 12" "-Wformat-overflow" } */
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user