public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/53502] New: [4.8 Regression] Bootstrap broken with --disable-build-poststage1-with-cxx
Date: Sun, 27 May 2012 23:26:00 -0000	[thread overview]
Message-ID: <bug-53502-4@http.gcc.gnu.org/bugzilla/> (raw)

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53502

             Bug #: 53502
           Summary: [4.8 Regression] Bootstrap broken with
                    --disable-build-poststage1-with-cxx
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: tkoenig@gcc.gnu.org


../trunk/configure --prefix=$HOME --enable-languages=c,fortran
--disable-build-poststage1-with-cxx

The error was:

../../trunk/gcc/fortran/decl.c: In function 'match_attr_spec':
../../trunk/gcc/fortran/decl.c:3276:3: error: typedef 'decl_types' locally
defined but not used [-Werror=unused-local-typedefs]
decl_types;
^
cc1: all warnings being treated as errors
make[3]: *** [fortran/decl.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/home/ig25/Gcc/trunk-bin/gcc'
make[2]: *** [all-stage2-gcc] Error 2
make[2]: Leaving directory `/home/ig25/Gcc/trunk-bin'
make[1]: *** [stage2-bubble] Error 2
make[1]: Leaving directory `/home/ig25/Gcc/trunk-bin'
make: *** [all] Error 2

Reduced test case:

ig25@linux-fd1f:~/Krempel/Boot> gcc -Werror -Wall foo.c
foo.c: In function 'bar':
foo.c:6:5: error: typedef 'foo' locally defined but not used
[-Werror=unused-local-typedefs]
   } foo;
     ^
cc1: all warnings being treated as errors
ig25@linux-fd1f:~/Krempel/Boot> gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/home/ig25/lib/gcc/x86_64-unknown-linux-gnu/4.8.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: ../trunk/configure --prefix=/home/ig25
--enable-languages=c,fortran
Thread model: posix
gcc version 4.8.0 20120527 (experimental) (GCC) 
ig25@linux-fd1f:~/Krempel/Boot> 

4.6.2 doesn't warn.


             reply	other threads:[~2012-05-27 23:24 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-27 23:26 tkoenig at gcc dot gnu.org [this message]
2012-05-27 23:42 ` [Bug c/53502] " tkoenig at gcc dot gnu.org
2012-05-28  2:26 ` pinskia at gcc dot gnu.org
2012-05-28  8:27 ` mikpe at it dot uu.se
2012-05-28 14:57 ` dominiq at lps dot ens.fr
2012-05-28 15:28 ` dominiq at lps dot ens.fr
2012-05-28 15:53 ` jakub at gcc dot gnu.org
2012-05-29  9:27 ` burnus at gcc dot gnu.org
2012-05-30 16:52 ` burnus at gcc dot gnu.org
2012-05-30 17:06 ` burnus at gcc dot gnu.org
2012-06-01  9:57 ` jakub 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-53502-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).