public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/53502] New: [4.8 Regression] Bootstrap broken with --disable-build-poststage1-with-cxx
@ 2012-05-27 23:26 tkoenig at gcc dot gnu.org
  2012-05-27 23:42 ` [Bug c/53502] " tkoenig at gcc dot gnu.org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: tkoenig at gcc dot gnu.org @ 2012-05-27 23:26 UTC (permalink / raw)
  To: gcc-bugs

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.


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2012-06-01  9:57 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-27 23:26 [Bug c/53502] New: [4.8 Regression] Bootstrap broken with --disable-build-poststage1-with-cxx tkoenig at gcc dot gnu.org
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

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).