public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/53898] New: [4.8 regression] bootstrap failure: graphite-optimize-isl.c: ISO C forbids an empty translation unit
@ 2012-07-09 11:32 mikpe at it dot uu.se
  2012-07-09 12:07 ` [Bug bootstrap/53898] " rguenth at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: mikpe at it dot uu.se @ 2012-07-09 11:32 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 53898
           Summary: [4.8 regression] bootstrap failure:
                    graphite-optimize-isl.c: ISO C forbids an empty
                    translation unit
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: mikpe@it.uu.se


Attempting to bootstrap gcc-4.8-20120708 on x86_64-linux with
--disable-build-poststage1-with-cxx and no cloog installed fails for me with:

/mnt/scratch/objdir48/./prev-gcc/xgcc -B/mnt/scratch/objdir48/./prev-gcc/
-B/mnt/scratch/install48/x86_64-unknown-linux-gnu/bin/
-B/mnt/scratch/install48/x86_64-unknown-linux-gnu/bin/
-B/mnt/scratch/install48/x86_64-unknown-linux-gnu/lib/ -isystem
/mnt/scratch/install48/x86_64-unknown-linux-gnu/include -isystem
/mnt/scratch/install48/x86_64-unknown-linux-gnu/sys-include    -c   -g -O2
-gtoggle -DIN_GCC   -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -pedantic
-Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror
-Wold-style-definition -Wc++-compat   -DHAVE_CONFIG_H -I. -I.
-I/mnt/scratch/gcc-4.8-20120708/gcc -I/mnt/scratch/gcc-4.8-20120708/gcc/.
-I/mnt/scratch/gcc-4.8-20120708/gcc/../include
-I/mnt/scratch/gcc-4.8-20120708/gcc/../libcpp/include
-I/home/mikpe/pkgs/linux-x86_64/gmp-5.0.5/include
-I/home/mikpe/pkgs/linux-x86_64/mpfr-3.1.1/include
-I/home/mikpe/pkgs/linux-x86_64/mpc-0.9/include 
-I/mnt/scratch/gcc-4.8-20120708/gcc/../libdecnumber
-I/mnt/scratch/gcc-4.8-20120708/gcc/../libdecnumber/bid -I../libdecnumber   
/mnt/scratch/gcc-4.8-20120708/gcc/graphite-optimize-isl.c -o
graphite-optimize-isl.o
/mnt/scratch/gcc-4.8-20120708/gcc/graphite-optimize-isl.c:471:0: error: ISO C
forbids an empty translation unit [-Werror=pedantic]
 #endif
 ^
cc1: all warnings being treated as errors
make[3]: *** [graphite-optimize-isl.o] Error 1
make[3]: Leaving directory `/mnt/scratch/objdir48/gcc'
make[2]: *** [all-stage2-gcc] Error 2
make[2]: Leaving directory `/mnt/scratch/objdir48'
make[1]: *** [stage2-bubble] Error 2
make[1]: Leaving directory `/mnt/scratch/objdir48'
make: *** [bootstrap] Error 2

This is a regression from 4.8-20120701 which bootstrapped fine.

Apart from the standard preamble all of graphite-optimize-isl.c is inside an
#ifdef HAVE_cloog.  I would suggest either not compiling this file at all when
!HAVE_cloog, or to drop -Werror when compiling it.

For now I'm resuming my build with an

#else
int this_is_silly;

inserted before the trailing #endif.


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

* [Bug bootstrap/53898] [4.8 regression] bootstrap failure: graphite-optimize-isl.c: ISO C forbids an empty translation unit
  2012-07-09 11:32 [Bug bootstrap/53898] New: [4.8 regression] bootstrap failure: graphite-optimize-isl.c: ISO C forbids an empty translation unit mikpe at it dot uu.se
@ 2012-07-09 12:07 ` rguenth at gcc dot gnu.org
  2012-07-09 12:41 ` rguenth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-07-09 12:07 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2012-07-09
         AssignedTo|unassigned at gcc dot       |rguenth at gcc dot gnu.org
                   |gnu.org                     |
   Target Milestone|---                         |4.8.0
     Ever Confirmed|0                           |1

--- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-07-09 12:07:10 UTC ---
Mine.


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

* [Bug bootstrap/53898] [4.8 regression] bootstrap failure: graphite-optimize-isl.c: ISO C forbids an empty translation unit
  2012-07-09 11:32 [Bug bootstrap/53898] New: [4.8 regression] bootstrap failure: graphite-optimize-isl.c: ISO C forbids an empty translation unit mikpe at it dot uu.se
  2012-07-09 12:07 ` [Bug bootstrap/53898] " rguenth at gcc dot gnu.org
  2012-07-09 12:41 ` rguenth at gcc dot gnu.org
@ 2012-07-09 12:41 ` rguenth at gcc dot gnu.org
  2012-07-09 12:41 ` rguenth at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-07-09 12:41 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #3 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-07-09 12:41:25 UTC ---
Fixed.


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

* [Bug bootstrap/53898] [4.8 regression] bootstrap failure: graphite-optimize-isl.c: ISO C forbids an empty translation unit
  2012-07-09 11:32 [Bug bootstrap/53898] New: [4.8 regression] bootstrap failure: graphite-optimize-isl.c: ISO C forbids an empty translation unit mikpe at it dot uu.se
                   ` (2 preceding siblings ...)
  2012-07-09 12:41 ` rguenth at gcc dot gnu.org
@ 2012-07-09 12:41 ` rguenth at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-07-09 12:41 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-07-09 12:40:56 UTC ---
Author: rguenth
Date: Mon Jul  9 12:40:51 2012
New Revision: 189374

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=189374
Log:
2012-07-09  Richard Guenther  <rguenther@suse.de>

    PR bootstrap/53898
    * graphite-optimize-isl.c: Make sure CU is not empty.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/graphite-optimize-isl.c


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

* [Bug bootstrap/53898] [4.8 regression] bootstrap failure: graphite-optimize-isl.c: ISO C forbids an empty translation unit
  2012-07-09 11:32 [Bug bootstrap/53898] New: [4.8 regression] bootstrap failure: graphite-optimize-isl.c: ISO C forbids an empty translation unit mikpe at it dot uu.se
  2012-07-09 12:07 ` [Bug bootstrap/53898] " rguenth at gcc dot gnu.org
@ 2012-07-09 12:41 ` rguenth at gcc dot gnu.org
  2012-07-09 12:41 ` rguenth at gcc dot gnu.org
  2012-07-09 12:41 ` rguenth at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-07-09 12:41 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #2 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-07-09 12:40:56 UTC ---
Author: rguenth
Date: Mon Jul  9 12:40:51 2012
New Revision: 189374

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=189374
Log:
2012-07-09  Richard Guenther  <rguenther@suse.de>

    PR bootstrap/53898
    * graphite-optimize-isl.c: Make sure CU is not empty.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/graphite-optimize-isl.c

--- Comment #3 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-07-09 12:41:25 UTC ---
Fixed.


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

end of thread, other threads:[~2012-07-09 12:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-09 11:32 [Bug bootstrap/53898] New: [4.8 regression] bootstrap failure: graphite-optimize-isl.c: ISO C forbids an empty translation unit mikpe at it dot uu.se
2012-07-09 12:07 ` [Bug bootstrap/53898] " rguenth at gcc dot gnu.org
2012-07-09 12:41 ` rguenth at gcc dot gnu.org
2012-07-09 12:41 ` rguenth at gcc dot gnu.org
2012-07-09 12:41 ` rguenth 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).