public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/53449] New: [4.8 regression] fortran fails to build
@ 2012-05-22 10:25 vincenzo.innocente at cern dot ch
  2012-05-22 10:33 ` [Bug bootstrap/53449] [4.8 regression] fortran fails to build with LTO bootstrap rguenth at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: vincenzo.innocente at cern dot ch @ 2012-05-22 10:25 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 53449
           Summary: [4.8 regression] fortran fails to build
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: vincenzo.innocente@cern.ch


with revision 187761
I now get an error while building fortran 

In file included from ../../gcc-trunk/gcc/fortran/trans-common.c:1310:0,
                 from ./gt-fortran-trans-io.h:88,
                 from :4794:
../../gcc-trunk/gcc/fortran/parse.c: In function 'gfc_parse_file':
../../gcc-trunk/gcc/fortran/parse.c:4603:60: error: 'errors_before' may be used
uninitialized in this function [-Werror=maybe-uninitialized]
       gfc_dump_module (s.sym->name, errors_before == errors);
                                                            ^
In file included from ../../gcc-trunk/gcc/fortran/trans-common.c:1310:0,
                 from ./gt-fortran-trans-io.h:88,
                 from :4794:
../../gcc-trunk/gcc/fortran/parse.c:4487:21: note: 'errors_before' was declared
here
   int seen_program, errors_before, errors;
                     ^
lto1: all warnings being treated as errors
make[4]: *** [/tmp/innocent/ccixchHw.ltrans30.ltrans.o] Error 1

configuration that fails
../gcc-trunk/configure --prefix=/afs/cern.ch/user/i/innocent/w2
--enable-languages=c,c++,fortran -enable-gold=yes --enable-lto
--with-build-config=bootstrap-lto --with-gmp-lib=/usr/local/lib64
--with-mpfr-lib=/usr/local/lib64 -with-mpc-lib=/usr/local/lib64
--enable-cloog-backend=isl --with-cloog=/usr/local
--with-ppl-lib=/usr/local/lib64 CFLAGS='-O2 -ftree-vectorize -fPIC'
CXXFLAGS='-O2 -fPIC -ftree-vectorize -fvisibility-inlines-hidden -march=native'
-enable-libitm -disable-multilib

configuration that succeeds
../gcc-trunk/configure --enable-languages=c,c++,fortran --disable-multilib
--enable-gold=yes --disable-nls --enable-lto
--with-mpc=/afs/cern.ch/cms/slc5_amd64_gcc470/external/gcc/4.7.0
--with-gmp=/afs/cern.ch/cms/slc5_amd64_gcc470/external/gcc/4.7.0
--with-mpfr=/afs/cern.ch/cms/slc5_amd64_gcc470/external/gcc/4.7.0
--prefix=/afs/cern.ch/user/i/innocent/w3/gcc47slc5


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

* [Bug bootstrap/53449] [4.8 regression] fortran fails to build with LTO bootstrap
  2012-05-22 10:25 [Bug bootstrap/53449] New: [4.8 regression] fortran fails to build vincenzo.innocente at cern dot ch
@ 2012-05-22 10:33 ` rguenth at gcc dot gnu.org
  2012-07-04 13:59 ` [Bug fortran/53449] " rguenth at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-05-22 10:33 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.8.0
            Summary|[4.8 regression] fortran    |[4.8 regression] fortran
                   |fails to build              |fails to build with LTO
                   |                            |bootstrap

--- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-05-22 10:25:13 UTC ---
LTO bootstrap I suppose.


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

* [Bug fortran/53449] [4.8 regression] fortran fails to build with LTO bootstrap
  2012-05-22 10:25 [Bug bootstrap/53449] New: [4.8 regression] fortran fails to build vincenzo.innocente at cern dot ch
  2012-05-22 10:33 ` [Bug bootstrap/53449] [4.8 regression] fortran fails to build with LTO bootstrap rguenth at gcc dot gnu.org
@ 2012-07-04 13:59 ` rguenth at gcc dot gnu.org
  2012-07-04 14:12 ` ubizjak at gmail dot com
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-07-04 13:59 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|bootstrap                   |fortran

--- Comment #2 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-07-04 13:59:15 UTC ---
Frontend issue (if it still prevails).


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

* [Bug fortran/53449] [4.8 regression] fortran fails to build with LTO bootstrap
  2012-05-22 10:25 [Bug bootstrap/53449] New: [4.8 regression] fortran fails to build vincenzo.innocente at cern dot ch
  2012-05-22 10:33 ` [Bug bootstrap/53449] [4.8 regression] fortran fails to build with LTO bootstrap rguenth at gcc dot gnu.org
  2012-07-04 13:59 ` [Bug fortran/53449] " rguenth at gcc dot gnu.org
@ 2012-07-04 14:12 ` ubizjak at gmail dot com
  2012-07-05  7:22 ` uros at gcc dot gnu.org
  2012-07-05  7:28 ` ubizjak at gmail dot com
  4 siblings, 0 replies; 6+ messages in thread
From: ubizjak at gmail dot com @ 2012-07-04 14:12 UTC (permalink / raw)
  To: gcc-bugs

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

Uros Bizjak <ubizjak at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2012-07-04
         AssignedTo|unassigned at gcc dot       |ubizjak at gmail dot com
                   |gnu.org                     |
     Ever Confirmed|0                           |1

--- Comment #3 from Uros Bizjak <ubizjak at gmail dot com> 2012-07-04 14:12:31 UTC ---
(In reply to comment #2)
> Frontend issue (if it still prevails).

Patch at [1].

[1] http://gcc.gnu.org/ml/gcc-patches/2012-07/msg00145.html


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

* [Bug fortran/53449] [4.8 regression] fortran fails to build with LTO bootstrap
  2012-05-22 10:25 [Bug bootstrap/53449] New: [4.8 regression] fortran fails to build vincenzo.innocente at cern dot ch
                   ` (2 preceding siblings ...)
  2012-07-04 14:12 ` ubizjak at gmail dot com
@ 2012-07-05  7:22 ` uros at gcc dot gnu.org
  2012-07-05  7:28 ` ubizjak at gmail dot com
  4 siblings, 0 replies; 6+ messages in thread
From: uros at gcc dot gnu.org @ 2012-07-05  7:22 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from uros at gcc dot gnu.org 2012-07-05 07:22:25 UTC ---
Author: uros
Date: Thu Jul  5 07:22:17 2012
New Revision: 189281

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=189281
Log:
    * expmed.c (expand_mult): Initialize coeff and is_neg.

java/ChangeLog:

    * jcf-io.c (read_zip_member): Initialize d_stream.

fortran/ChangLog:

    PR fortran/53449
    * parse.c (gfc_parse_file): Initialize errors_before.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/expmed.c
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/parse.c
    trunk/gcc/java/ChangeLog
    trunk/gcc/java/jcf-io.c


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

* [Bug fortran/53449] [4.8 regression] fortran fails to build with LTO bootstrap
  2012-05-22 10:25 [Bug bootstrap/53449] New: [4.8 regression] fortran fails to build vincenzo.innocente at cern dot ch
                   ` (3 preceding siblings ...)
  2012-07-05  7:22 ` uros at gcc dot gnu.org
@ 2012-07-05  7:28 ` ubizjak at gmail dot com
  4 siblings, 0 replies; 6+ messages in thread
From: ubizjak at gmail dot com @ 2012-07-05  7:28 UTC (permalink / raw)
  To: gcc-bugs

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

Uros Bizjak <ubizjak at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
                URL|                            |http://gcc.gnu.org/ml/gcc-p
                   |                            |atches/2012-07/msg00145.htm
                   |                            |l
         Resolution|                            |FIXED

--- Comment #5 from Uros Bizjak <ubizjak at gmail dot com> 2012-07-05 07:27:54 UTC ---
Fixed.


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

end of thread, other threads:[~2012-07-05  7:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-22 10:25 [Bug bootstrap/53449] New: [4.8 regression] fortran fails to build vincenzo.innocente at cern dot ch
2012-05-22 10:33 ` [Bug bootstrap/53449] [4.8 regression] fortran fails to build with LTO bootstrap rguenth at gcc dot gnu.org
2012-07-04 13:59 ` [Bug fortran/53449] " rguenth at gcc dot gnu.org
2012-07-04 14:12 ` ubizjak at gmail dot com
2012-07-05  7:22 ` uros at gcc dot gnu.org
2012-07-05  7:28 ` ubizjak at gmail dot com

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