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

            Bug ID: 79169
           Summary: g++.dg/warn/Wduplicated-branches1.C fails on powerpc
                    since its introduction in r244705
           Product: gcc
           Version: 7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: testsuite
          Assignee: unassigned at gcc dot gnu.org
          Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

This was on a powerpc LE system but the same thing happens on BE.


Fri Jan 20 10:35:29 CST 2017
Differences from previous run:
> FAIL: g++.dg/warn/Wduplicated-branches1.C  -std=gnu++11 (test for excess 
> errors)
> FAIL: g++.dg/warn/Wduplicated-branches1.C  -std=gnu++14 (test for excess 
> errors)
> FAIL: g++.dg/warn/Wduplicated-branches1.C  -std=gnu++98 (test for excess 
> errors)




spawn /home/seurer/gcc/build/gcc-trunk/gcc/testsuite/g++19/../../xg++
-B/home/seurer/gcc/build/gcc-trunk/gcc/testsuite/g++19/../../
/home/seurer/gcc/gcc-trunk/gcc/testsuite/g++.dg/warn/Wduplicated-branches1.C
-fno-diagnostics-show-caret -fdiagnostics-color=never -nostdinc++
-I/home/seurer/gcc/build/gcc-trunk/powerpc64le-unknown-linux-gnu/libstdc++-v3/include/powerpc64le-unknown-linux-gnu
-I/home/seurer/gcc/build/gcc-trunk/powerpc64le-unknown-linux-gnu/libstdc++-v3/include
-I/home/seurer/gcc/gcc-trunk/libstdc++-v3/libsupc++
-I/home/seurer/gcc/gcc-trunk/libstdc++-v3/include/backward
-I/home/seurer/gcc/gcc-trunk/libstdc++-v3/testsuite/util -fmessage-length=0
-std=gnu++98 -Wduplicated-branches -S -o Wduplicated-branches1.s
/home/seurer/gcc/gcc-trunk/gcc/testsuite/g++.dg/warn/Wduplicated-branches1.C:
In instantiation of 'void f(char, int*) [with T = short unsigned int]':
/home/seurer/gcc/gcc-trunk/gcc/testsuite/g++.dg/warn/Wduplicated-branches1.C:20:44:
  required from here
/home/seurer/gcc/gcc-trunk/gcc/testsuite/g++.dg/warn/Wduplicated-branches1.C:9:3:
warning: this condition has identical branches [-Wduplicated-branches]
/home/seurer/gcc/gcc-trunk/gcc/testsuite/g++.dg/warn/Wduplicated-branches1.C:14:3:
warning: this condition has identical branches [-Wduplicated-branches]
/home/seurer/gcc/gcc-trunk/gcc/testsuite/g++.dg/warn/Wduplicated-branches1.C:
In instantiation of 'void f(char, int*) [with T = short int]':
/home/seurer/gcc/gcc-trunk/gcc/testsuite/g++.dg/warn/Wduplicated-branches1.C:21:42:
  required from here
/home/seurer/gcc/gcc-trunk/gcc/testsuite/g++.dg/warn/Wduplicated-branches1.C:9:3:
warning: this condition has identical branches [-Wduplicated-branches]
/home/seurer/gcc/gcc-trunk/gcc/testsuite/g++.dg/warn/Wduplicated-branches1.C:14:3:
warning: this condition has identical branches [-Wduplicated-branches]
output is:
/home/seurer/gcc/gcc-trunk/gcc/testsuite/g++.dg/warn/Wduplicated-branches1.C:
In instantiation of 'void f(char, int*) [with T = short unsigned int]':
/home/seurer/gcc/gcc-trunk/gcc/testsuite/g++.dg/warn/Wduplicated-branches1.C:20:44:
  required from here
/home/seurer/gcc/gcc-trunk/gcc/testsuite/g++.dg/warn/Wduplicated-branches1.C:9:3:
warning: this condition has identical branches [-Wduplicated-branches]
/home/seurer/gcc/gcc-trunk/gcc/testsuite/g++.dg/warn/Wduplicated-branches1.C:14:3:
warning: this condition has identical branches [-Wduplicated-branches]
/home/seurer/gcc/gcc-trunk/gcc/testsuite/g++.dg/warn/Wduplicated-branches1.C:
In instantiation of 'void f(char, int*) [with T = short int]':
/home/seurer/gcc/gcc-trunk/gcc/testsuite/g++.dg/warn/Wduplicated-branches1.C:21:42:
  required from here
/home/seurer/gcc/gcc-trunk/gcc/testsuite/g++.dg/warn/Wduplicated-branches1.C:9:3:
warning: this condition has identical branches [-Wduplicated-branches]
/home/seurer/gcc/gcc-trunk/gcc/testsuite/g++.dg/warn/Wduplicated-branches1.C:14:3:
warning: this condition has identical branches [-Wduplicated-branches]

PASS: g++.dg/warn/Wduplicated-branches1.C  -std=gnu++98  (test for warnings,
line 14)
PASS: g++.dg/warn/Wduplicated-branches1.C  -std=gnu++98  (test for warnings,
line 20)
FAIL: g++.dg/warn/Wduplicated-branches1.C  -std=gnu++98 (test for excess
errors)
Excess errors:
/home/seurer/gcc/gcc-trunk/gcc/testsuite/g++.dg/warn/Wduplicated-branches1.C:9:3:
warning: this condition has identical branches [-Wduplicated-branches]
/home/seurer/gcc/gcc-trunk/gcc/testsuite/g++.dg/warn/Wduplicated-branches1.C:9:3:
warning: this condition has identical branches [-Wduplicated-branches]

Executing on host:
/home/seurer/gcc/build/gcc-trunk/gcc/testsuite/g++19/../../xg++
-B/home/seurer/gcc/build/gcc-trunk/gcc/testsuite/g++19/../../
/home/seurer/gcc/gcc-trunk/gcc/testsuite/g++.dg/warn/Wduplicated-branches1.C 
-fno-diagnostics-show-caret -fdiagnostics-color=never  -nostdinc++
-I/home/seurer/gcc/build/gcc-trunk/powerpc64le-unknown-linux-gnu/libstdc++-v3/include/powerpc64le-unknown-linux-gnu
-I/home/seurer/gcc/build/gcc-trunk/powerpc64le-unknown-linux-gnu/libstdc++-v3/include
-I/home/seurer/gcc/gcc-trunk/libstdc++-v3/libsupc++
-I/home/seurer/gcc/gcc-trunk/libstdc++-v3/include/backward
-I/home/seurer/gcc/gcc-trunk/libstdc++-v3/testsuite/util -fmessage-length=0 
-std=gnu++11 -Wduplicated-branches  -S   -o Wduplicated-branches1.s    (timeout
= 300)
spawn /home/seurer/gcc/build/gcc-trunk/gcc/testsuite/g++19/../../xg++
-B/home/seurer/gcc/build/gcc-trunk/gcc/testsuite/g++19/../../
/home/seurer/gcc/gcc-trunk/gcc/testsuite/g++.dg/warn/Wduplicated-branches1.C
-fno-diagnostics-show-caret -fdiagnostics-color=never -nostdinc++
-I/home/seurer/gcc/build/gcc-trunk/powerpc64le-unknown-linux-gnu/libstdc++-v3/include/powerpc64le-unknown-linux-gnu
-I/home/seurer/gcc/build/gcc-trunk/powerpc64le-unknown-linux-gnu/libstdc++-v3/include
-I/home/seurer/gcc/gcc-trunk/libstdc++-v3/libsupc++
-I/home/seurer/gcc/gcc-trunk/libstdc++-v3/include/backward
-I/home/seurer/gcc/gcc-trunk/libstdc++-v3/testsuite/util -fmessage-length=0
-std=gnu++11 -Wduplicated-branches -S -o Wduplicated-branches1.s
/home/seurer/gcc/gcc-trunk/gcc/testsuite/g++.dg/warn/Wduplicated-branches1.C:
In instantiation of 'void f(char, int*) [with T = short unsigned int]':
/home/seurer/gcc/gcc-trunk/gcc/testsuite/g++.dg/warn/Wduplicated-branches1.C:20:44:
  required from here
/home/seurer/gcc/gcc-trunk/gcc/testsuite/g++.dg/warn/Wduplicated-branches1.C:9:3:
warning: this condition has identical branches [-Wduplicated-branches]
/home/seurer/gcc/gcc-trunk/gcc/testsuite/g++.dg/warn/Wduplicated-branches1.C:14:3:
warning: this condition has identical branches [-Wduplicated-branches]
/home/seurer/gcc/gcc-trunk/gcc/testsuite/g++.dg/warn/Wduplicated-branches1.C:
In instantiation of 'void f(char, int*) [with T = short int]':
/home/seurer/gcc/gcc-trunk/gcc/testsuite/g++.dg/warn/Wduplicated-branches1.C:21:42:
  required from here
/home/seurer/gcc/gcc-trunk/gcc/testsuite/g++.dg/warn/Wduplicated-branches1.C:9:3:
warning: this condition has identical branches [-Wduplicated-branches]
/home/seurer/gcc/gcc-trunk/gcc/testsuite/g++.dg/warn/Wduplicated-branches1.C:14:3:
warning: this condition has identical branches [-Wduplicated-branches]
output is:
/home/seurer/gcc/gcc-trunk/gcc/testsuite/g++.dg/warn/Wduplicated-branches1.C:
In instantiation of 'void f(char, int*) [with T = short unsigned int]':
/home/seurer/gcc/gcc-trunk/gcc/testsuite/g++.dg/warn/Wduplicated-branches1.C:20:44:
  required from here
/home/seurer/gcc/gcc-trunk/gcc/testsuite/g++.dg/warn/Wduplicated-branches1.C:9:3:
warning: this condition has identical branches [-Wduplicated-branches]
/home/seurer/gcc/gcc-trunk/gcc/testsuite/g++.dg/warn/Wduplicated-branches1.C:14:3:
warning: this condition has identical branches [-Wduplicated-branches]
/home/seurer/gcc/gcc-trunk/gcc/testsuite/g++.dg/warn/Wduplicated-branches1.C:
In instantiation of 'void f(char, int*) [with T = short int]':
/home/seurer/gcc/gcc-trunk/gcc/testsuite/g++.dg/warn/Wduplicated-branches1.C:21:42:
  required from here
/home/seurer/gcc/gcc-trunk/gcc/testsuite/g++.dg/warn/Wduplicated-branches1.C:9:3:
warning: this condition has identical branches [-Wduplicated-branches]
/home/seurer/gcc/gcc-trunk/gcc/testsuite/g++.dg/warn/Wduplicated-branches1.C:14:3:
warning: this condition has identical branches [-Wduplicated-branches]

PASS: g++.dg/warn/Wduplicated-branches1.C  -std=gnu++11  (test for warnings,
line 14)
PASS: g++.dg/warn/Wduplicated-branches1.C  -std=gnu++11  (test for warnings,
line 20)
FAIL: g++.dg/warn/Wduplicated-branches1.C  -std=gnu++11 (test for excess
errors)
Excess errors:
/home/seurer/gcc/gcc-trunk/gcc/testsuite/g++.dg/warn/Wduplicated-branches1.C:9:3:
warning: this condition has identical branches [-Wduplicated-branches]
/home/seurer/gcc/gcc-trunk/gcc/testsuite/g++.dg/warn/Wduplicated-branches1.C:9:3:
warning: this condition has identical branches [-Wduplicated-branches]

Executing on host:
/home/seurer/gcc/build/gcc-trunk/gcc/testsuite/g++19/../../xg++
-B/home/seurer/gcc/build/gcc-trunk/gcc/testsuite/g++19/../../
/home/seurer/gcc/gcc-trunk/gcc/testsuite/g++.dg/warn/Wduplicated-branches1.C 
-fno-diagnostics-show-caret -fdiagnostics-color=never  -nostdinc++
-I/home/seurer/gcc/build/gcc-trunk/powerpc64le-unknown-linux-gnu/libstdc++-v3/include/powerpc64le-unknown-linux-gnu
-I/home/seurer/gcc/build/gcc-trunk/powerpc64le-unknown-linux-gnu/libstdc++-v3/include
-I/home/seurer/gcc/gcc-trunk/libstdc++-v3/libsupc++
-I/home/seurer/gcc/gcc-trunk/libstdc++-v3/include/backward
-I/home/seurer/gcc/gcc-trunk/libstdc++-v3/testsuite/util -fmessage-length=0 
-std=gnu++14 -Wduplicated-branches  -S   -o Wduplicated-branches1.s    (timeout
= 300)
spawn /home/seurer/gcc/build/gcc-trunk/gcc/testsuite/g++19/../../xg++
-B/home/seurer/gcc/build/gcc-trunk/gcc/testsuite/g++19/../../
/home/seurer/gcc/gcc-trunk/gcc/testsuite/g++.dg/warn/Wduplicated-branches1.C
-fno-diagnostics-show-caret -fdiagnostics-color=never -nostdinc++
-I/home/seurer/gcc/build/gcc-trunk/powerpc64le-unknown-linux-gnu/libstdc++-v3/include/powerpc64le-unknown-linux-gnu
-I/home/seurer/gcc/build/gcc-trunk/powerpc64le-unknown-linux-gnu/libstdc++-v3/include
-I/home/seurer/gcc/gcc-trunk/libstdc++-v3/libsupc++
-I/home/seurer/gcc/gcc-trunk/libstdc++-v3/include/backward
-I/home/seurer/gcc/gcc-trunk/libstdc++-v3/testsuite/util -fmessage-length=0
-std=gnu++14 -Wduplicated-branches -S -o Wduplicated-branches1.s
/home/seurer/gcc/gcc-trunk/gcc/testsuite/g++.dg/warn/Wduplicated-branches1.C:
In instantiation of 'void f(char, int*) [with T = short unsigned int]':
/home/seurer/gcc/gcc-trunk/gcc/testsuite/g++.dg/warn/Wduplicated-branches1.C:20:44:
  required from here
/home/seurer/gcc/gcc-trunk/gcc/testsuite/g++.dg/warn/Wduplicated-branches1.C:9:3:
warning: this condition has identical branches [-Wduplicated-branches]
/home/seurer/gcc/gcc-trunk/gcc/testsuite/g++.dg/warn/Wduplicated-branches1.C:14:3:
warning: this condition has identical branches [-Wduplicated-branches]
/home/seurer/gcc/gcc-trunk/gcc/testsuite/g++.dg/warn/Wduplicated-branches1.C:
In instantiation of 'void f(char, int*) [with T = short int]':
/home/seurer/gcc/gcc-trunk/gcc/testsuite/g++.dg/warn/Wduplicated-branches1.C:21:42:
  required from here
/home/seurer/gcc/gcc-trunk/gcc/testsuite/g++.dg/warn/Wduplicated-branches1.C:9:3:
warning: this condition has identical branches [-Wduplicated-branches]
/home/seurer/gcc/gcc-trunk/gcc/testsuite/g++.dg/warn/Wduplicated-branches1.C:14:3:
warning: this condition has identical branches [-Wduplicated-branches]
output is:
/home/seurer/gcc/gcc-trunk/gcc/testsuite/g++.dg/warn/Wduplicated-branches1.C:
In instantiation of 'void f(char, int*) [with T = short unsigned int]':
/home/seurer/gcc/gcc-trunk/gcc/testsuite/g++.dg/warn/Wduplicated-branches1.C:20:44:
  required from here
/home/seurer/gcc/gcc-trunk/gcc/testsuite/g++.dg/warn/Wduplicated-branches1.C:9:3:
warning: this condition has identical branches [-Wduplicated-branches]
/home/seurer/gcc/gcc-trunk/gcc/testsuite/g++.dg/warn/Wduplicated-branches1.C:14:3:
warning: this condition has identical branches [-Wduplicated-branches]
/home/seurer/gcc/gcc-trunk/gcc/testsuite/g++.dg/warn/Wduplicated-branches1.C:
In instantiation of 'void f(char, int*) [with T = short int]':
/home/seurer/gcc/gcc-trunk/gcc/testsuite/g++.dg/warn/Wduplicated-branches1.C:21:42:
  required from here
/home/seurer/gcc/gcc-trunk/gcc/testsuite/g++.dg/warn/Wduplicated-branches1.C:9:3:
warning: this condition has identical branches [-Wduplicated-branches]
/home/seurer/gcc/gcc-trunk/gcc/testsuite/g++.dg/warn/Wduplicated-branches1.C:14:3:
warning: this condition has identical branches [-Wduplicated-branches]

PASS: g++.dg/warn/Wduplicated-branches1.C  -std=gnu++14  (test for warnings,
line 14)
PASS: g++.dg/warn/Wduplicated-branches1.C  -std=gnu++14  (test for warnings,
line 20)
FAIL: g++.dg/warn/Wduplicated-branches1.C  -std=gnu++14 (test for excess
errors)
Excess errors:
/home/seurer/gcc/gcc-trunk/gcc/testsuite/g++.dg/warn/Wduplicated-branches1.C:9:3:
warning: this condition has identical branches [-Wduplicated-branches]
/home/seurer/gcc/gcc-trunk/gcc/testsuite/g++.dg/warn/Wduplicated-branches1.C:9:3:
warning: this condition has identical branches [-Wduplicated-branches]

Reply via email to