This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug optimization/11592] New: "make check-gcc" fails on gcc.dg/duff-2.c with "warning: unreachable code at beginning of switch statement"
- From: "dank at kegel dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Jul 2003 18:32:13 -0000
- Subject: [Bug optimization/11592] New: "make check-gcc" fails on gcc.dg/duff-2.c with "warning: unreachable code at beginning of switch statement"
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11592
Summary: "make check-gcc" fails on gcc.dg/duff-2.c with "warning:
unreachable code at beginning of switch statement"
Product: gcc
Version: 3.3
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: dank at kegel dot com
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: powerpc-unknown-linux-gnu,sh4-unknown-linux-gnu
I'm building and testing cross-compilers using http://kegel.com/crosstool
Both gcc-3.3 and gcc-ss-3_3-20030714's 'make check-gcc' produce
the following error:
FAIL: gcc.dg/duff-2.c (test for excess errors)
Excess errors:
/crosstool-0.13/build/powerpc-750-linux-gnu/gcc-3.3-glibc-2.2.5/gcc-3.3/gcc/testsuite/gcc.dg/duff-2.c:28:
warning: unreachable code at beginning of switch statement
This looks like PR 5230 but on a different platform.
I haven't tested an x86 compiler.
It also looks similar to PR 11370.