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++/66667] New: FAIL: g++.dg/diagnostic/inhibit-warn-2.C


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

            Bug ID: 66667
           Summary: FAIL: g++.dg/diagnostic/inhibit-warn-2.C
           Product: gcc
           Version: 5.1.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: danglin at gcc dot gnu.org
                CC: miyuki at gcc dot gnu.org
  Target Milestone: ---
              Host: hppa2.0w-hp-hpux11.11
            Target: hppa2.0w-hp-hpux11.11
             Build: hppa2.0w-hp-hpux11.11

Executing on host: /mnt/gnu/gcc/objdir-test/gcc/testsuite/g++/../../xg++
-B/mnt/
gnu/gcc/objdir-test/gcc/testsuite/g++/../../
/mnt/gnu/gcc/gcc/gcc/testsuite/g++.
dg/diagnostic/inhibit-warn-2.C  -fno-diagnostics-show-caret
-fdiagnostics-color=
never  -nostdinc++
-I/mnt/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/incl
ude/hppa2.0w-hp-hpux11.11
-I/mnt/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-
v3/include -I/mnt/gnu/gcc/gcc/libstdc++-v3/libsupc++
-I/mnt/gnu/gcc/gcc/libstdc+
+-v3/include/backward -I/mnt/gnu/gcc/gcc/libstdc++-v3/testsuite/util
-fmessage-l
ength=0  -std=c++98  -pedantic-errors -Wno-long-long  -S   -o inhibit-warn-2.s
  (timeout = 300)
spawn /mnt/gnu/gcc/objdir-test/gcc/testsuite/g++/../../xg++
-B/mnt/gnu/gcc/objdi
r-test/gcc/testsuite/g++/../../
/mnt/gnu/gcc/gcc/gcc/testsuite/g++.dg/diagnostic
/inhibit-warn-2.C -fno-diagnostics-show-caret -fdiagnostics-color=never
-nostdin
c++
-I/mnt/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/hppa2.0w-hp
-hpux11.11 -I/mnt/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include
-I/m
nt/gnu/gcc/gcc/libstdc++-v3/libsupc++
-I/mnt/gnu/gcc/gcc/libstdc++-v3/include/ba
ckward -I/mnt/gnu/gcc/gcc/libstdc++-v3/testsuite/util -fmessage-length=0
-std=c+
+98 -pedantic-errors -Wno-long-long -S -o inhibit-warn-2.s
/mnt/gnu/gcc/gcc/gcc/testsuite/g++.dg/diagnostic/inhibit-warn-2.C: In function
'
void fn1()':
/mnt/gnu/gcc/gcc/gcc/testsuite/g++.dg/diagnostic/inhibit-warn-2.C:29:3: error:
'
typename A<(F<typename C< <template-parameter-1-1> >::type>::value || B::
value)
>::type D::operator=(Expr) [with Expr = int; typename A<(F<typename C< <template
-parameter-1-1> >::type>::value || B:: value)>::type = int]' is private
/mnt/gnu/gcc/gcc/gcc/testsuite/g++.dg/diagnostic/inhibit-warn-2.C:35:7: error:
within this context
compiler exited with status 1
output is:
/mnt/gnu/gcc/gcc/gcc/testsuite/g++.dg/diagnostic/inhibit-warn-2.C: In function
'void fn1()':
/mnt/gnu/gcc/gcc/gcc/testsuite/g++.dg/diagnostic/inhibit-warn-2.C:29:3: error:
'typename A<(F<typename C< <template-parameter-1-1> >::type>::value || B::
value)>::type D::operator=(Expr) [with Expr = int; typename A<(F<typename C<
<template-parameter-1-1> >::type>::value || B:: value)>::type = int]' is
private
/mnt/gnu/gcc/gcc/gcc/testsuite/g++.dg/diagnostic/inhibit-warn-2.C:35:7: error:
within this context

FAIL: g++.dg/diagnostic/inhibit-warn-2.C  -std=c++98  (test for warnings, line
29)
FAIL: g++.dg/diagnostic/inhibit-warn-2.C  -std=c++98  (test for errors, line
35)
FAIL: g++.dg/diagnostic/inhibit-warn-2.C  -std=c++98 (test for excess errors)

FAIL: g++.dg/diagnostic/inhibit-warn-2.C  -std=c++11  (test for warnings, line
29)
FAIL: g++.dg/diagnostic/inhibit-warn-2.C  -std=c++11  (test for errors, line
35)
FAIL: g++.dg/diagnostic/inhibit-warn-2.C  -std=c++11 (test for excess errors)

This is with revision 224902.


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