public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/64116] New: ice with -O3 -fgraphite-identity on bootstrap
@ 2014-11-29 13:43 hete2 at gmx dot de
  2014-11-30 12:50 ` [Bug bootstrap/64116] " hete2 at gmx dot de
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: hete2 at gmx dot de @ 2014-11-29 13:43 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 64116
           Summary: ice with -O3 -fgraphite-identity on bootstrap
           Product: gcc
           Version: 4.9.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hete2 at gmx dot de

My System: Ubuntu 14.04 on a  Intel(R) Core(TM) i3-2120 CPU @ 3.30GHz

Configuring with --with-arch=native and using -O3 -fgraphite-identity -pipe as
BOOT_CFLAGS i get an ICE in Stage 2:

/home/hete/gcc/gcc-4.9.2/Build/./prev-gcc/xg++
-B/home/hete/gcc/gcc-4.9.2/Build/./prev-gcc/
-B/usr/local/x86_64-unknown-linux-gnu/bin/ -nostdinc++
-B/home/hete/gcc/gcc-4.9.2/Build/prev-x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs
-B/home/hete/gcc/gcc-4.9.2/Build/prev-x86_64-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs

-I/home/hete/gcc/gcc-4.9.2/Build/prev-x86_64-unknown-linux-gnu/libstdc++-v3/include/x86_64-unknown-linux-gnu

-I/home/hete/gcc/gcc-4.9.2/Build/prev-x86_64-unknown-linux-gnu/libstdc++-v3/include
 -I/home/hete/gcc/gcc-4.9.2/libstdc++-v3/libsupc++
-L/home/hete/gcc/gcc-4.9.2/Build/prev-x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs
-L/home/hete/gcc/gcc-4.9.2/Build/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 -pedantic -Wno-long-long
-Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -I. -Icp
-I../../gcc -I../../gcc/cp -I../../gcc/../include -I../../gcc/../libcpp/include
 -I../../gcc/../libdecnumber -I../../gcc/../libdecnumber/bid -I../libdecnumber
-I../../gcc/../libbacktrace -DCLOOG_INT_GMP    -o cp/pt.o -MT cp/pt.o -MMD -MP
-MF cp/.deps/pt.TPo ../../gcc/cp/pt.c
../../gcc/cp/pt.c: In Funktion Âtree_node* add_to_template_args(tree, tree)Â:
../../gcc/cp/pt.c:516:1: interner Compiler-Fehler: Speicherzugriffsfehler
 add_to_template_args (tree args, tree extra_args)
 ^
0xb92df9 crash_signal
    ../../gcc/toplev.c:337
0x7ef7a1 loop_preheader_edge(loop const*)
    ../../gcc/cfgloop.c:1669
0xc3ef1e block_before_loop
    ../../gcc/tree-scalar-evolution.h:48
0xc422a4 analyze_scalar_evolution(loop*, tree_node*)
    ../../gcc/tree-scalar-evolution.c:2042
0xc4238e analyze_scalar_evolution_in_loop
    ../../gcc/tree-scalar-evolution.c:2139
0xc441c5 simple_iv(loop*, loop*, tree_node*, affine_iv*, bool)
    ../../gcc/tree-scalar-evolution.c:3247
0xac5fa1 is_comparison_with_loop_invariant_p
    ../../gcc/predict.c:1144
0xac71e0 predict_loops
    ../../gcc/predict.c:1611
0xac9167 tree_estimate_probability()
    ../../gcc/predict.c:2453
0x11c6a49 graphite_finalize
    ../../gcc/graphite.c:250
0x11c6c20 graphite_transform_loops()
    ../../gcc/graphite.c:310
0x11c6c59 graphite_transforms
    ../../gcc/graphite.c:332
0x11c6d86 execute
    ../../gcc/graphite.c:416
Bitte senden Sie einen vollstÃndigen Fehlerbericht auf Englisch ein;
bearbeiten Sie die Quellen zunÃchst mit einem PrÃprozessor, wenn es
dienlich ist.
Please include the complete backtrace with any bug report.
Siehe <http://gcc.gnu.org/bugs.html> fÃr nÃhere Anweisungen.
make[3]: *** [cp/pt.o] Fehler 1
make[3]: Verlasse Verzeichnis '/home/hete/gcc/gcc-4.9.2/Build/gcc'
make[2]: *** [all-stage2-gcc] Fehler 2
make[2]: Verlasse Verzeichnis '/home/hete/gcc/gcc-4.9.2/Build'
make[1]: *** [stage2-bubble] Fehler 2
make[1]: Verlasse Verzeichnis '/home/hete/gcc/gcc-4.9.2/Build'
make: *** [bootstrap] Fehler 2

I get the same result using gcc-4.9-20141126

Using -O2 -fgraphite-identity -pipe as BOOT_CFLAGS there is no ICE.

Configuring with --enable-checking=valgrind --with-arch=native and using
additionally -j 3 as make option, i get

/home/hete/gcc/gcc-4.9.2/Build2/./prev-gcc/xg++
-B/home/hete/gcc/gcc-4.9.2/Build2/./prev-gcc/
-B/usr/local/x86_64-unknown-linux-gnu/bin/ -nostdinc++
-B/home/hete/gcc/gcc-4.9.2/Build2/prev-x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs
-B/home/hete/gcc/gcc-4.9.2/Build2/prev-x86_64-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs

-I/home/hete/gcc/gcc-4.9.2/Build2/prev-x86_64-unknown-linux-gnu/libstdc++-v3/include/x86_64-unknown-linux-gnu

-I/home/hete/gcc/gcc-4.9.2/Build2/prev-x86_64-unknown-linux-gnu/libstdc++-v3/include
 -I/home/hete/gcc/gcc-4.9.2/libstdc++-v3/libsupc++
-L/home/hete/gcc/gcc-4.9.2/Build2/prev-x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs
-L/home/hete/gcc/gcc-4.9.2/Build2/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 -pedantic -Wno-long-long
-Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -I. -Icp
-I../../gcc -I../../gcc/cp -I../../gcc/../include -I../../gcc/../libcpp/include
 -I../../gcc/../libdecnumber -I../../gcc/../libdecnumber/bid -I../libdecnumber
-I../../gcc/../libbacktrace -DCLOOG_INT_GMP    -o cp/typeck2.o -MT cp/typeck2.o
-MMD -MP -MF cp/.deps/typeck2.TPo ../../gcc/cp/typeck2.c
==32657== Invalid read of size 8
==32657==    at 0x7F9809: loop_preheader_edge(loop const*) (cfgloop.c:1669)
==32657==    by 0xC6092E: block_before_loop(loop*) (tree-scalar-evolution.h:48)
==32657==    by 0xC63CB4: analyze_scalar_evolution(loop*, tree_node*)
(tree-scalar-evolution.c:2042)
==32657==    by 0xC63D9E: analyze_scalar_evolution_in_loop(loop*, loop*,
tree_node*, bool*) (tree-scalar-evolution.c:2139)
==32657==    by 0xC65BD5: simple_iv(loop*, loop*, tree_node*, affine_iv*, bool)
(tree-scalar-evolution.c:3247)
==32657==    by 0xADEA8B:
is_comparison_with_loop_invariant_p(gimple_statement_base*, loop*, tree_node**,
tree_code*, tree_node**, tree_node**) (predict.c:1144)
==32657==    by 0xADFCCA: predict_loops() (predict.c:1611)
==32657==    by 0xAE1C51: tree_estimate_probability() (predict.c:2453)
==32657==    by 0x11F65A9: graphite_finalize(bool) (graphite.c:250)
==32657==    by 0x11F6780: graphite_transform_loops() (graphite.c:310)
==32657==    by 0x11F67B9: graphite_transforms() (graphite.c:332)
==32657==    by 0x11F68E6: (anonymous
namespace)::pass_graphite_transforms::execute() (graphite.c:416)
==32657==  Address 0x8 is not stack'd, malloc'd or (recently) free'd
==32657== 
../../gcc/cp/pt.c: In Funktion Âtree_node* add_to_template_args(tree, tree)Â:
../../gcc/cp/pt.c:516:1: interner Compiler-Fehler: Speicherzugriffsfehler
 add_to_template_args (tree args, tree extra_args)
 ^
Bitte senden Sie einen vollstÃndigen Fehlerbericht auf Englisch ein;
bearbeiten Sie die Quellen zunÃchst mit einem PrÃprozessor, wenn es
dienlich ist.
Siehe <http://gcc.gnu.org/bugs.html> fÃr nÃhere Anweisungen.
make[3]: *** [cp/pt.o] Fehler 1
make[3]: *** Warte auf noch nicht beendete Prozesse...
../../gcc/config/i386/i386.c: In Funktion Âint avx_vperm2f128_parallel(rtx,
machine_mode)Â:
../../gcc/config/i386/i386.c:36991:34: Warnung: Feldindex ist oberhalb der
Feldgrenzen [-Warray-bounds]
     if (ipar[i] + 1 != ipar[i + 1])
                                  ^
rm gfortran.pod gcc.pod
make[3]: Verlasse Verzeichnis '/home/hete/gcc/gcc-4.9.2/Build2/gcc'
make[2]: *** [all-stage2-gcc] Fehler 2
make[2]: Verlasse Verzeichnis '/home/hete/gcc/gcc-4.9.2/Build2'
make[1]: *** [stage2-bubble] Fehler 2
make[1]: Verlasse Verzeichnis '/home/hete/gcc/gcc-4.9.2/Build2'
make: *** [bootstrap] Fehler 2
>From gcc-bugs-return-468915-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Nov 29 14:01:24 2014
Return-Path: <gcc-bugs-return-468915-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 3712 invoked by alias); 29 Nov 2014 14:01:24 -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 3675 invoked by uid 48); 29 Nov 2014 14:01:19 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/64108] ICE: SIGSEGV in decide_alg() with -mmemset-strategy=libcall:-1:align -minline-all-stringops
Date: Sat, 29 Nov 2014 14:01:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 5.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hjl.tools at gmail dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on target_milestone everconfirmed
Message-ID: <bug-64108-4-bxr81p2JU7@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-64108-4@http.gcc.gnu.org/bugzilla/>
References: <bug-64108-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: 2014-11/txt/msg03387.txt.bz2
Content-length: 590

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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2014-11-29
   Target Milestone|---                         |5.0
     Ever confirmed|0                           |1

--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> ---
A patch is posted at

https://gcc.gnu.org/ml/gcc-patches/2014-11/msg03532.html


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

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

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-29 13:43 [Bug bootstrap/64116] New: ice with -O3 -fgraphite-identity on bootstrap hete2 at gmx dot de
2014-11-30 12:50 ` [Bug bootstrap/64116] " hete2 at gmx dot de
2014-12-01 10:02 ` rguenth at gcc dot gnu.org
2014-12-02 22:22 ` hete2 at gmx dot de
2014-12-02 22:25 ` hete2 at gmx dot de
2014-12-02 22:29 ` 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).