public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/53459] New: ../../work/libcpp/lex.c:593:18: error: typedef 'check_count' locally defined but not used
Date: Wed, 23 May 2012 14:51:00 -0000	[thread overview]
Message-ID: <bug-53459-4@http.gcc.gnu.org/bugzilla/> (raw)

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: unassigned@gcc.gnu.org
        ReportedBy: dominiq@lps.ens.fr
                CC: dodji@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.


             reply	other threads:[~2012-05-23 14:35 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-23 14:51 dominiq at lps dot ens.fr [this message]
2012-05-24 18:45 ` [Bug bootstrap/53459] " dodji at seketeli dot org
2012-05-24 20:14 ` dodji at gcc dot gnu.org
2012-05-24 21:06 ` dodji at gcc dot gnu.org
2012-05-24 21:07 ` dodji at gcc dot gnu.org
2012-05-24 21:50 ` dodji at gcc dot gnu.org
2012-05-25  6:56 ` jakub at gcc dot gnu.org
2012-05-25  8:53 ` dodji at seketeli dot org
2012-05-29  9:50 ` dodji at gcc dot gnu.org
2012-05-29  9:58 ` dodji at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-53459-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).