public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/64976] New: Bootstrap fails with -O3 -fgraphite-identity
@ 2015-02-08 17:57 hete2 at gmx dot de
  2015-02-09  7:53 ` [Bug bootstrap/64976] " jakub at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: hete2 at gmx dot de @ 2015-02-08 17:57 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64976

            Bug ID: 64976
           Summary: Bootstrap fails with -O3 -fgraphite-identity
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hete2 at gmx dot de

On my System (Ubuntu 14.04 on an Sandy-Bridge Processor) bootstrapping
gcc-5-20150201 fails with BOOT_CFLAGS= -O3 -fgraphite-identity. The output is:

 /home/hete/buggcc/gcc-5-20150201/Build1/./prev-gcc/xg++
-B/home/hete/buggcc/gcc-5-20150201/Build1/./prev-gcc/
-B/usr/local/x86_64-unknown-linux-gnu/bin/ -nostdinc++
-B/home/hete/buggcc/gcc-5-20150201/Build1/prev-x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs
-B/home/hete/buggcc/gcc-5-20150201/Build1/prev-x86_64-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs

-I/home/hete/buggcc/gcc-5-20150201/Build1/prev-x86_64-unknown-linux-gnu/libstdc++-v3/include/x86_64-unknown-linux-gnu

-I/home/hete/buggcc/gcc-5-20150201/Build1/prev-x86_64-unknown-linux-gnu/libstdc++-v3/include
 -I/home/hete/buggcc/gcc-5-20150201/libstdc++-v3/libsupc++
-L/home/hete/buggcc/gcc-5-20150201/Build1/prev-x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs
-L/home/hete/buggcc/gcc-5-20150201/Build1/prev-x86_64-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs
-c  -DIN_GCC_FRONTEND -O3 -fgraphite-identity -pipe -gtoggle -DIN_GCC   
-fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing
-Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual
-pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror
-fno-common  -DHAVE_CONFIG_H -I. -Ifortran -I../../gcc -I../../gcc/fortran
-I../../gcc/../include -I../../gcc/../libcpp/include 
-I../../gcc/../libdecnumber -I../../gcc/../libdecnumber/bid -I../libdecnumber
-I../../gcc/../libbacktrace   -o fortran/options.o -MT fortran/options.o -MMD
-MP -MF fortran/.deps/options.TPo ../../gcc/fortran/options.c
../../gcc/fortran/module.c: In Funktion »void load_omp_udrs()«:
../../gcc/fortran/module.c:4582:24: Fehler: »name« könnte in dieser Funktion
uninitialisiert verwendet werden [-Werror=maybe-uninitialized]
    size_t len = strlen (name + 1);
                        ^
/home/hete/buggcc/gcc-5-20150201/Build1/./prev-gcc/xg++
-B/home/hete/buggcc/gcc-5-20150201/Build1/./prev-gcc/
-B/usr/local/x86_64-unknown-linux-gnu/bin/ -nostdinc++
-B/home/hete/buggcc/gcc-5-20150201/Build1/prev-x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs
-B/home/hete/buggcc/gcc-5-20150201/Build1/prev-x86_64-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs

-I/home/hete/buggcc/gcc-5-20150201/Build1/prev-x86_64-unknown-linux-gnu/libstdc++-v3/include/x86_64-unknown-linux-gnu

-I/home/hete/buggcc/gcc-5-20150201/Build1/prev-x86_64-unknown-linux-gnu/libstdc++-v3/include
 -I/home/hete/buggcc/gcc-5-20150201/libstdc++-v3/libsupc++
-L/home/hete/buggcc/gcc-5-20150201/Build1/prev-x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs
-L/home/hete/buggcc/gcc-5-20150201/Build1/prev-x86_64-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs
-c  -DIN_GCC_FRONTEND -O3 -fgraphite-identity -pipe -gtoggle -DIN_GCC   
-fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing
-Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual
-pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror
-fno-common  -DHAVE_CONFIG_H -I. -Ifortran -I../../gcc -I../../gcc/fortran
-I../../gcc/../include -I../../gcc/../libcpp/include 
-I../../gcc/../libdecnumber -I../../gcc/../libdecnumber/bid -I../libdecnumber
-I../../gcc/../libbacktrace   -o fortran/parse.o -MT fortran/parse.o -MMD -MP
-MF fortran/.deps/parse.TPo ../../gcc/fortran/parse.c
../../gcc/fortran/module.c: In Funktion »void read_module()«:
../../gcc/fortran/module.c:1562:7: Fehler: »n« könnte in dieser Funktion
uninitialisiert verwendet werden [-Werror=maybe-uninitialized]
       if (i < 0)
       ^
../../gcc/fortran/module.c:4932:12: Anmerkung: »n« wurde hier deklariert
        int n;
            ^
../../gcc/fortran/module.c:4940:41: Fehler: »comp_name« könnte in dieser
Funktion uninitialisiert verwendet werden [-Werror=maybe-uninitialized]
        gcc_assert (comp_name == c->name);
                                         ^
cc1plus: Alle Warnungen werden als Fehler behandelt
make[3]: *** [fortran/module.o] Fehler 1
make[3]: *** Warte auf noch nicht beendete Prozesse...
rm cpp.pod gcov-tool.pod gcj-dbtool.pod jcf-dump.pod jv-convert.pod grmic.pod
gcov.pod gcj.pod gc-analyze.pod gfdl.pod fsf-funding.pod gij.pod gfortran.pod
gcc.pod
make[3]: Verlasse Verzeichnis '/home/hete/buggcc/gcc-5-20150201/Build1/gcc'
make[2]: *** [all-stage2-gcc] Fehler 2
make[2]: Verlasse Verzeichnis '/home/hete/buggcc/gcc-5-20150201/Build1'
make[1]: *** [stage2-bubble] Fehler 2
make[1]: Verlasse Verzeichnis '/home/hete/buggcc/gcc-5-20150201/Build1'
make: *** [bootstrap] Fehler 2

Without CFLAGS or with --enable-languages='c,c++' bootstrapping works

This is an improvement to gcc 4.9.2 where i get an ICE.
>From gcc-bugs-return-476378-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 08 18:16:02 2015
Return-Path: <gcc-bugs-return-476378-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 4631 invoked by alias); 8 Feb 2015 18:16:01 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 4561 invoked by uid 48); 8 Feb 2015 18:15:57 -0000
From: "jvdelisle at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/57822] I/O: "(g0)" wrongly prints "E+0000"
Date: Sun, 08 Feb 2015 18:16:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 4.9.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jvdelisle at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: jvdelisle at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: assigned_to
Message-ID: <bug-57822-4-8pQ1YhqkXO@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-57822-4@http.gcc.gnu.org/bugzilla/>
References: <bug-57822-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-02/txt/msg00711.txt.bz2
Content-length: 767

https://gcc.gnu.org/bugzilla/show_bug.cgi?idW822

Jerry DeLisle <jvdelisle at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at gcc dot gnu.org      |jvdelisle at gcc dot gnu.org

--- Comment #1 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
Possible Patch:  Still Testing

Index: write_float.def
==================================================================--- write_float.def    (revision 220505)
+++ write_float.def    (working copy)
@@ -724,7 +724,7 @@
     }

   /* Output the exponent.  */
-  if (expchar)
+  if (expchar && !(dtp->u.p.g0_no_blanks && e == 0))
     {
       if (expchar != ' ')
     {


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

* [Bug bootstrap/64976] Bootstrap fails with -O3 -fgraphite-identity
  2015-02-08 17:57 [Bug bootstrap/64976] New: Bootstrap fails with -O3 -fgraphite-identity hete2 at gmx dot de
@ 2015-02-09  7:53 ` jakub at gcc dot gnu.org
  2015-02-14  8:55 ` hete2 at gmx dot de
  2015-10-09 15:11 ` spop at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-02-09  7:53 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64976

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
With such non-standard bootstrap flags you should use --disable-werror, we
don't guarantee no warnings for all possible command line switches.
At least looking at the first warning, it is a clear false positive.


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

* [Bug bootstrap/64976] Bootstrap fails with -O3 -fgraphite-identity
  2015-02-08 17:57 [Bug bootstrap/64976] New: Bootstrap fails with -O3 -fgraphite-identity hete2 at gmx dot de
  2015-02-09  7:53 ` [Bug bootstrap/64976] " jakub at gcc dot gnu.org
@ 2015-02-14  8:55 ` hete2 at gmx dot de
  2015-10-09 15:11 ` spop at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: hete2 at gmx dot de @ 2015-02-14  8:55 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64976

--- Comment #2 from hete2 at gmx dot de ---
Thank you for this hint.
Using this configure option the boootstrapping works. Therefore this report can
be renamed to a false warning about -Werror=maybe-uninitialized (if this is
considered a Bug) or get closed.


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

* [Bug bootstrap/64976] Bootstrap fails with -O3 -fgraphite-identity
  2015-02-08 17:57 [Bug bootstrap/64976] New: Bootstrap fails with -O3 -fgraphite-identity hete2 at gmx dot de
  2015-02-09  7:53 ` [Bug bootstrap/64976] " jakub at gcc dot gnu.org
  2015-02-14  8:55 ` hete2 at gmx dot de
@ 2015-10-09 15:11 ` spop at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: spop at gcc dot gnu.org @ 2015-10-09 15:11 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64976

Sebastian Pop <spop at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |spop at gcc dot gnu.org
         Resolution|---                         |FIXED

--- Comment #3 from Sebastian Pop <spop at gcc dot gnu.org> ---
GCC trunk passes bootstrap with BOOT_CFLAGS="-g -O3 -fgraphite-identity
-floop-nest-optimize" when configured with --disable-werror.


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

end of thread, other threads:[~2015-10-09 15:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-08 17:57 [Bug bootstrap/64976] New: Bootstrap fails with -O3 -fgraphite-identity hete2 at gmx dot de
2015-02-09  7:53 ` [Bug bootstrap/64976] " jakub at gcc dot gnu.org
2015-02-14  8:55 ` hete2 at gmx dot de
2015-10-09 15:11 ` spop 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).