http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53459
Bug #: 53459 Summary: ../../work/libcpp/lex.c:593:18: error: typedef 'check_count' locally defined but not used Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap AssignedTo: unassig...@gcc.gnu.org ReportedBy: domi...@lps.ens.fr CC: do...@gcc.gnu.org Host: powerpc-apple-darwin9 Target: powerpc-apple-darwin9 Build: powerpc-apple-darwin9 On powerpc-apple-darwin9 bootstrap failed at r187775 with ... /opt/gcc/darwin_buildw/./prev-gcc/g++ -B/opt/gcc/darwin_buildw/./prev-gcc/ -B/opt/gcc/gcc4.8w/powerpc-apple-darwin9.8.0/bin/ -nostdinc++ -B/opt/gcc/darwin_buildw/prev-powerpc-apple-darwin9.8.0/libstdc++-v3/src/.libs -B/opt/gcc/darwin_buildw/prev-powerpc-apple-darwin9.8.0/libstdc++-v3/libsupc++/.libs -I/opt/gcc/darwin_buildw/prev-powerpc-apple-darwin9.8.0/libstdc++-v3/include/powerpc-apple-darwin9.8.0 -I/opt/gcc/darwin_buildw/prev-powerpc-apple-darwin9.8.0/libstdc++-v3/include -I/opt/gcc/work/libstdc++-v3/libsupc++ -L/opt/gcc/darwin_buildw/prev-powerpc-apple-darwin9.8.0/libstdc++-v3/src/.libs -L/opt/gcc/darwin_buildw/prev-powerpc-apple-darwin9.8.0/libstdc++-v3/libsupc++/.libs -I../../work/libcpp -I. -I../../work/libcpp/../include -I./../intl -I../../work/libcpp/include -g -O2 -mdynamic-no-pic -gtoggle -W -Wall -Wno-narrowing -Wwrite-strings -Wmissing-format-attribute -pedantic -Wno-long-long -Werror -fno-exceptions -fno-rtti -I../../work/libcpp -I. -I../../work/libcpp/../include -I./../intl -I../../work/libcpp/include -c -o lex.o -MT lex.o -MMD -MP -MF .deps/lex.Tpo ../../work/libcpp/lex.c ../../work/libcpp/lex.c: In function 'const uchar* search_line_fast(const uchar*, const uchar*)': ../../work/libcpp/lex.c:593:18: error: typedef 'check_count' locally defined but not used [-Werror=unused-local-typedefs] typedef char check_count[(N == 2 || N == 4) * 2 - 1]; AFAICT check_count is indeed unused and removing the line allows bootstrap to complete. This has probably been exposed by r187757.