This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/81067] New: [8 regression] g++.dg/template/nontype10.C FAILs


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

            Bug ID: 81067
           Summary: [8 regression] g++.dg/template/nontype10.C FAILs
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ro at gcc dot gnu.org
                CC: jason at gcc dot gnu.org
  Target Milestone: ---

Between 20170609 (r249050) and 20170610 (r249098), the
g++.dg/template/nontype10.C 
testcase started to regress:

FAIL: g++.dg/template/nontype10.C  -std=c++11 (test for excess errors)
FAIL: g++.dg/template/nontype10.C  -std=c++14 (test for excess errors)
FAIL: g++.dg/template/nontype10.C  -std=c++98 (test for excess errors)

I'm seeing it on i386-pc-solaris2.12 and sparc-sun-solaris2.12 (32-bit only),
but according to gcc-testresults many more targets are affected.

Excess errors:
/vol/gcc/src/hg/trunk/local/gcc/testsuite/g++.dg/template/nontype10.C:5:28:
warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
/vol/gcc/src/hg/trunk/local/gcc/testsuite/g++.dg/template/nontype10.C:5:28:
warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
/vol/gcc/src/hg/trunk/local/gcc/testsuite/g++.dg/template/nontype10.C:5:28:
warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]

The warning moved from l.8, where it's expected, to l.5.

  Rainer

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]