Commit 519fdbb5 by Tom de Vries Committed by Tom de Vries

Compile strncpy-fix-1.c with -Wno-stringop-truncation

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

	* gcc.dg/strncpy-fix-1.c: Add -Wno-stringop-truncation to dg-options.

From-SVN: r254772
parent 45161185
2017-11-15 Tom de Vries <tom@codesourcery.com>
* gcc.dg/strncpy-fix-1.c: Add -Wno-stringop-truncation to dg-options.
2017-11-15 Dominique d'Humieres <dominiq@lps.ens.fr>
* gcc.target/i386/pr81706.c: Adjust asm for darwin.
......
/* Test that use of strncpy does not result in a "value computed is
not used" warning. */
/* { dg-do compile } */
/* { dg-options "-O2 -Wall" } */
/* { dg-options "-O2 -Wall -Wno-stringop-truncation" } */
#include <string.h>
void
......
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