Hi,

  This patch requires int32plus for
  gcc.dg/tree-ssa/builtin-sprintf-warn-1.c, as it reports a bunch of
  failures for a 16 bit int target like the avr. The "%u" format
  specifier tests, for example, use int literals big enough to only fit
  in a long int, and this causes unexpected warnings.

  Comitted to trunk.

Regards
Senthil

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

        * gcc.dg/tree-ssa/builtin-sprintf-warn-1.c: Require int32plus.
 
        PR fortran/77666
Index: gcc.dg/tree-ssa/builtin-sprintf-warn-1.c
===================================================================
--- gcc.dg/tree-ssa/builtin-sprintf-warn-1.c    (revision 240524)
+++ gcc.dg/tree-ssa/builtin-sprintf-warn-1.c    (working copy)
@@ -1,5 +1,6 @@
 /* { 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

Reply via email to