Commit 7b975de0 by Richard Biener Committed by Richard Biener

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
parent e02a5f63
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
* gcc.dg/guality/inline-params-2.c: Un-XFAIL for slim LTO.
......
......@@ -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;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment