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

            Bug ID: 86825
           Summary: g++.old-deja/g++.pt/ptrmem10.C test fails on windows
                    targets
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: nightstrike at gmail dot com
  Target Milestone: ---

Executing on host: /local/mw/build/gcc/gcc/testsuite/g++2/../../xg++
-B/local/mw/build/gcc/gcc/testsuite/g++2/../../  -fno-diagnostics-show-caret
-fdiagnostics-color=never --sysroot=/
local/mw/rt -nostdinc++
-I/local/mw/build/gcc/x86_64-w64-mingw32/libstdc++-v3/include/x86_64-w64-mingw32
-I/local/mw/build/gcc/x86_64-w64-mingw32/libstdc++-v3/include -I/loc
al/mw/gccsvn/libstdc++-v3/libsupc++
-I/local/mw/gccsvn/libstdc++-v3/include/backward
-I/local/mw/gccsvn/libstdc++-v3/testsuite/util -fmessage-length=0  -std=c++98 
-pedantic-errors -Wno-long-long  -c   -o ptrmem10.o
/local/mw/gccsvn/gcc/testsuite/g++.old-deja/g++.pt/ptrmem10.C    (timeout =
300)
spawn -ignore SIGHUP /local/mw/build/gcc/gcc/testsuite/g++2/../../xg++
-B/local/mw/build/gcc/gcc/testsuite/g++2/../../ -fno-diagnostics-show-caret
-fdiagnostics-color=never --sysroot=/local/mw/rt -nostdinc++
-I/local/mw/build/gcc/x86_64-w64-mingw32/libstdc++-v3/include/x86_64-w64-mingw32
-I/local/mw/build/gcc/x86_64-w64-mingw32/libstdc++-v3/include
-I/local/mw/gccsvn/libstdc++-v3/libsupc++
-I/local/mw/gccsvn/libstdc++-v3/include/backward
-I/local/mw/gccsvn/libstdc++-v3/testsuite/util -fmessage-length=0 -std=c++98
-pedantic-errors -Wno-long-long -c -o ptrmem10.o
/local/mw/gccsvn/gcc/testsuite/g++.old-deja/g++.pt/ptrmem10.C
/local/mw/gccsvn/gcc/testsuite/g++.old-deja/g++.pt/ptrmem10.C: In member
function 'void A::baz()':
/local/mw/gccsvn/gcc/testsuite/g++.old-deja/g++.pt/ptrmem10.C:24:13: error:
call of overloaded 'foo(<unresolved overloaded function type>)' is ambiguous
/local/mw/gccsvn/gcc/testsuite/g++.old-deja/g++.pt/ptrmem10.C:18:28: note:
candidate: 'void foo(int (*)(T)) [with T = int]'
/local/mw/gccsvn/gcc/testsuite/g++.old-deja/g++.pt/ptrmem10.C:19:28: note:
candidate: 'void foo(int (A::*)(T)) [with T = short int]'
/local/mw/gccsvn/gcc/testsuite/g++.old-deja/g++.pt/ptrmem10.C:25:12: error:
call of overloaded 'foo(<unresolved overloaded function type>)' is ambiguous
/local/mw/gccsvn/gcc/testsuite/g++.old-deja/g++.pt/ptrmem10.C:18:28: note:
candidate: 'void foo(int (*)(T)) [with T = int]'
/local/mw/gccsvn/gcc/testsuite/g++.old-deja/g++.pt/ptrmem10.C:19:28: note:
candidate: 'void foo(int (A::*)(T)) [with T = short int]'
/local/mw/gccsvn/gcc/testsuite/g++.old-deja/g++.pt/ptrmem10.C:26:15: error:
call of overloaded 'foo(<unresolved overloaded function type>)' is ambiguous
/local/mw/gccsvn/gcc/testsuite/g++.old-deja/g++.pt/ptrmem10.C:18:28: note:
candidate: 'void foo(int (*)(T)) [with T = int]'
/local/mw/gccsvn/gcc/testsuite/g++.old-deja/g++.pt/ptrmem10.C:19:28: note:
candidate: 'void foo(int (A::*)(T)) [with T = short int]'
/local/mw/gccsvn/gcc/testsuite/g++.old-deja/g++.pt/ptrmem10.C:27:9: error: call
of overloaded 'foo(<unresolved overloaded function type>)' is ambiguous
/local/mw/gccsvn/gcc/testsuite/g++.old-deja/g++.pt/ptrmem10.C:18:28: note:
candidate: 'void foo(int (*)(T)) [with T = int]'
/local/mw/gccsvn/gcc/testsuite/g++.old-deja/g++.pt/ptrmem10.C:19:28: note:
candidate: 'void foo(int (A::*)(T)) [with T = short int]'
/local/mw/gccsvn/gcc/testsuite/g++.old-deja/g++.pt/ptrmem10.C:28:10: error:
call of overloaded 'foo(<unresolved overloaded function type>)' is ambiguous
/local/mw/gccsvn/gcc/testsuite/g++.old-deja/g++.pt/ptrmem10.C:18:28: note:
candidate: 'void foo(int (*)(T)) [with T = int]'
/local/mw/gccsvn/gcc/testsuite/g++.old-deja/g++.pt/ptrmem10.C:19:28: note:
candidate: 'void foo(int (A::*)(T)) [with T = short int]'
compiler exited with status 1
output is:
/local/mw/gccsvn/gcc/testsuite/g++.old-deja/g++.pt/ptrmem10.C: In member
function 'void A::baz()':
/local/mw/gccsvn/gcc/testsuite/g++.old-deja/g++.pt/ptrmem10.C:24:13: error:
call of overloaded 'foo(<unresolved overloaded function type>)' is ambiguous
/local/mw/gccsvn/gcc/testsuite/g++.old-deja/g++.pt/ptrmem10.C:18:28: note:
candidate: 'void foo(int (*)(T)) [with T = int]'
/local/mw/gccsvn/gcc/testsuite/g++.old-deja/g++.pt/ptrmem10.C:19:28: note:
candidate: 'void foo(int (A::*)(T)) [with T = short int]'
/local/mw/gccsvn/gcc/testsuite/g++.old-deja/g++.pt/ptrmem10.C:25:12: error:
call of overloaded 'foo(<unresolved overloaded function type>)' is ambiguous
/local/mw/gccsvn/gcc/testsuite/g++.old-deja/g++.pt/ptrmem10.C:18:28: note:
candidate: 'void foo(int (*)(T)) [with T = int]'
/local/mw/gccsvn/gcc/testsuite/g++.old-deja/g++.pt/ptrmem10.C:19:28: note:
candidate: 'void foo(int (A::*)(T)) [with T = short int]'
/local/mw/gccsvn/gcc/testsuite/g++.old-deja/g++.pt/ptrmem10.C:26:15: error:
call of overloaded 'foo(<unresolved overloaded function type>)' is ambiguous
/local/mw/gccsvn/gcc/testsuite/g++.old-deja/g++.pt/ptrmem10.C:18:28: note:
candidate: 'void foo(int (*)(T)) [with T = int]'
/local/mw/gccsvn/gcc/testsuite/g++.old-deja/g++.pt/ptrmem10.C:19:28: note:
candidate: 'void foo(int (A::*)(T)) [with T = short int]'
/local/mw/gccsvn/gcc/testsuite/g++.old-deja/g++.pt/ptrmem10.C:27:9: error: call
of overloaded 'foo(<unresolved overloaded function type>)' is ambiguous
/local/mw/gccsvn/gcc/testsuite/g++.old-deja/g++.pt/ptrmem10.C:18:28: note:
candidate: 'void foo(int (*)(T)) [with T = int]'
/local/mw/gccsvn/gcc/testsuite/g++.old-deja/g++.pt/ptrmem10.C:19:28: note:
candidate: 'void foo(int (A::*)(T)) [with T = short int]'
/local/mw/gccsvn/gcc/testsuite/g++.old-deja/g++.pt/ptrmem10.C:28:10: error:
call of overloaded 'foo(<unresolved overloaded function type>)' is ambiguous
/local/mw/gccsvn/gcc/testsuite/g++.old-deja/g++.pt/ptrmem10.C:18:28: note:
candidate: 'void foo(int (*)(T)) [with T = int]'
/local/mw/gccsvn/gcc/testsuite/g++.old-deja/g++.pt/ptrmem10.C:19:28: note:
candidate: 'void foo(int (A::*)(T)) [with T = short int]'

PASS: g++.old-deja/g++.pt/ptrmem10.C  -std=c++98  (test for warnings, line 18)
PASS: g++.old-deja/g++.pt/ptrmem10.C  -std=c++98  (test for warnings, line 19)
PASS: g++.old-deja/g++.pt/ptrmem10.C  -std=c++98  (test for errors, line 24)
FAIL: g++.old-deja/g++.pt/ptrmem10.C  -std=c++98 (test for excess errors)
Excess errors:
/local/mw/gccsvn/gcc/testsuite/g++.old-deja/g++.pt/ptrmem10.C:25:12: error:
call of overloaded 'foo(<unresolved overloaded function type>)' is ambiguous
/local/mw/gccsvn/gcc/testsuite/g++.old-deja/g++.pt/ptrmem10.C:26:15: error:
call of overloaded 'foo(<unresolved overloaded function type>)' is ambiguous
/local/mw/gccsvn/gcc/testsuite/g++.old-deja/g++.pt/ptrmem10.C:27:9: error: call
of overloaded 'foo(<unresolved overloaded function type>)' is ambiguous
/local/mw/gccsvn/gcc/testsuite/g++.old-deja/g++.pt/ptrmem10.C:28:10: error:
call of overloaded 'foo(<unresolved overloaded function type>)' is ambiguous

Reply via email to