https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82770

            Bug ID: 82770
           Summary: [8 regression] gcc.dg/pr78768.c xpass
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
          Assignee: unassigned at gcc dot gnu.org
          Reporter: andrey.y.guskov at intel dot com
                CC: marxin at gcc dot gnu.org
  Target Milestone: ---

r248035 triggers this unexpected pass:

XPASS: gcc.dg/pr78768.c -Wformat-overflow (test for warnings, line 12)

Tagging as LTO since it is LTO-related:
/* PR c/78768 - -Walloca-larger-than and -Wformat-overflow warnings disabled
   by -flto
  { dg-do link }
  { dg-require-effective-target lto }
  { dg-require-linker-plugin "" }
  { dg-options "-O2 -Walloca-larger-than=10 -Wformat -Wformat-overflow -flto" }
*/

Option set:
-with-system-zlib --with-demangler-in-ld --with-fpmath=sse --enable-shared
--enable-host-shared --enable-clocale=gnu --enable-cloog-backend=isl
--enable-languages=c,c++,fortran,jit,lto -with-arch=haswell --with-cpu=haswell

Reply via email to