Commit 3d8d3012 by Tom de Vries Committed by Tom de Vries

Require alloca for c-c++-common/Wstringop-truncation.c

2017-11-14  Tom de Vries  <tom@codesourcery.com>

	* c-c++-common/Wstringop-truncation.c: Require effective target alloca.

From-SVN: r254722
parent 79a6b3de
2017-11-14 Tom de Vries <tom@codesourcery.com>
* c-c++-common/Wstringop-truncation.c: Require effective target alloca.
2017-11-13 Jan Hubicka <hubicka@ucw.cz> 2017-11-13 Jan Hubicka <hubicka@ucw.cz>
* gcc.dg/tree-ssa/fnsplit-2.c: New testcase. * gcc.dg/tree-ssa/fnsplit-2.c: New testcase.
......
/* PR middle-end/81117 - Improve buffer overflow checking in strncpy /* PR middle-end/81117 - Improve buffer overflow checking in strncpy
{ dg-do compile } { dg-do compile }
{ dg-options "-O2 -Wstringop-truncation -Wno-stringop-overflow -ftrack-macro-expansion=0" } */ { dg-options "-O2 -Wstringop-truncation -Wno-stringop-overflow -ftrack-macro-expansion=0" }
{ dg-require-effective-target alloca } */
typedef __SIZE_TYPE__ size_t; typedef __SIZE_TYPE__ size_t;
......
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