Commit 511d092e by Senthil Kumar Selvaraj Committed by Senthil Kumar Selvaraj

Fix bogus test failure for avr

The test has a bunch of hardcoded integer literals that would fit only in a 
32 bits+ int, causing overflow warnings for a 16 bit int target like avr.

gcc/testsuite/ChangeLog

2016-09-27  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>

	* gcc.dg/tree-ssa/builtin-sprintf-warn-1.c: Require int32plus.

From-SVN: r240528
parent 9cdb2ca4
2016-09-27 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
* gcc.dg/tree-ssa/builtin-sprintf-warn-1.c: Require int32plus.
2016-09-27 Jakub Jelinek <jakub@redhat.com>
PR fortran/77666
......
/* { dg-do compile } */
/* { dg-options "-std=c99 -Wformat -Wformat-length=1 -ftrack-macro-expansion=0" } */
/* { dg-require-effective-target int32plus } */
/* When debugging, define LINE to the line number of the test case to exercise
and avoid exercising any of the others. The buffer and objsize macros
......
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