public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/66951] New: ICE at -O3 on x86_64-linux-gnu, verify_ssa failed
@ 2015-07-20 19:44 su at cs dot ucdavis.edu
2015-07-20 19:51 ` [Bug tree-optimization/66951] [6 Regression] " mpolacek at gcc dot gnu.org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: su at cs dot ucdavis.edu @ 2015-07-20 19:44 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66951
Bug ID: 66951
Summary: ICE at -O3 on x86_64-linux-gnu, verify_ssa failed
Product: gcc
Version: 6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: su at cs dot ucdavis.edu
Target Milestone: ---
The following code causes an ICE when compiled with the current gcc trunk at
-O3 on x86_64-linux-gnu in both 32-bit and 64-bit modes.
It is a regression from 5.1.x.
$ gcc-trunk -v
Using built-in specs.
COLLECT_GCC=gcc-trunk
COLLECT_LTO_WRAPPER=/usr/local/gcc-trunk/libexec/gcc/x86_64-unknown-linux-gnu/6.0.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: ../gcc-trunk/configure --prefix=/usr/local/gcc-trunk
--enable-languages=c,c++ --disable-werror --enable-multilib
Thread model: posix
gcc version 6.0.0 20150719 (experimental) [trunk revision 225987] (GCC)
$
$ gcc-trunk -O2 -c small.c
$ gcc-5.1 -O3 -c small.c
$
$ gcc-trunk -O3 -c small.c
small.c: In function ‘fn1’:
small.c:4:1: error: definition in block 18 does not dominate use in block 9
fn1 ()
^
for SSA_NAME: .MEM_48 in statement:
# VUSE <.MEM_48>
vect__9.18_58 = MEM[(int *)vectp_b.16_56];
small.c:4:1: internal compiler error: verify_ssa failed
0xd6a819 verify_ssa(bool, bool)
../../gcc-trunk/gcc/tree-ssa.c:1047
0xaaea3d execute_function_todo
../../gcc-trunk/gcc/passes.c:1955
0xaaf253 execute_todo
../../gcc-trunk/gcc/passes.c:2005
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
$
--------------------------------
int a, b[16], c, d;
void
fn1 ()
{
for (; d; d++)
{
for (a = 0; a < 2; a++)
;
c ^= b[d];
}
}
>From gcc-bugs-return-492861-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 20 19:50:20 2015
Return-Path: <gcc-bugs-return-492861-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 121068 invoked by alias); 20 Jul 2015 19:50:20 -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 121024 invoked by uid 48); 20 Jul 2015 19:50:16 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/66949] [6 Regression] ICE at -O2 and -O3 on x86_64-linux-gnu in tree_ssa_phiopt_worker, at tree-ssa-phiopt.c:335
Date: Mon, 20 Jul 2015 19:50:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 6.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mpolacek at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc target_milestone short_desc everconfirmed
Message-ID: <bug-66949-4-kOzh2v46vL@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-66949-4@http.gcc.gnu.org/bugzilla/>
References: <bug-66949-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-07/txt/msg01751.txt.bz2
Content-length: 915
https://gcc.gnu.org/bugzilla/show_bug.cgi?idf949
Marek Polacek <mpolacek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2015-07-20
CC| |mpolacek at gcc dot gnu.org
Target Milestone|--- |6.0
Summary|ICE at -O2 and -O3 on |[6 Regression] ICE at -O2
|x86_64-linux-gnu in |and -O3 on x86_64-linux-gnu
|tree_ssa_phiopt_worker, at |in tree_ssa_phiopt_worker,
|tree-ssa-phiopt.c:335 |at tree-ssa-phiopt.c:335
Ever confirmed|0 |1
--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Confirmed.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug tree-optimization/66951] [6 Regression] ICE at -O3 on x86_64-linux-gnu, verify_ssa failed
2015-07-20 19:44 [Bug tree-optimization/66951] New: ICE at -O3 on x86_64-linux-gnu, verify_ssa failed su at cs dot ucdavis.edu
@ 2015-07-20 19:51 ` mpolacek at gcc dot gnu.org
2015-07-20 20:26 ` mpolacek at gcc dot gnu.org
2015-07-26 9:32 ` pinskia at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2015-07-20 19:51 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66951
Marek Polacek <mpolacek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2015-07-20
CC| |mpolacek at gcc dot gnu.org
Target Milestone|--- |6.0
Summary|ICE at -O3 on |[6 Regression] ICE at -O3
|x86_64-linux-gnu, |on x86_64-linux-gnu,
|verify_ssa failed |verify_ssa failed
Ever confirmed|0 |1
--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Confirmed.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug tree-optimization/66951] [6 Regression] ICE at -O3 on x86_64-linux-gnu, verify_ssa failed
2015-07-20 19:44 [Bug tree-optimization/66951] New: ICE at -O3 on x86_64-linux-gnu, verify_ssa failed su at cs dot ucdavis.edu
2015-07-20 19:51 ` [Bug tree-optimization/66951] [6 Regression] " mpolacek at gcc dot gnu.org
@ 2015-07-20 20:26 ` mpolacek at gcc dot gnu.org
2015-07-26 9:32 ` pinskia at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2015-07-20 20:26 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66951
--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Started with r225923.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug tree-optimization/66951] [6 Regression] ICE at -O3 on x86_64-linux-gnu, verify_ssa failed
2015-07-20 19:44 [Bug tree-optimization/66951] New: ICE at -O3 on x86_64-linux-gnu, verify_ssa failed su at cs dot ucdavis.edu
2015-07-20 19:51 ` [Bug tree-optimization/66951] [6 Regression] " mpolacek at gcc dot gnu.org
2015-07-20 20:26 ` mpolacek at gcc dot gnu.org
@ 2015-07-26 9:32 ` pinskia at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2015-07-26 9:32 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66951
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |DUPLICATE
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Dup of bug 66926.
*** This bug has been marked as a duplicate of bug 66926 ***
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-07-26 9:32 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-20 19:44 [Bug tree-optimization/66951] New: ICE at -O3 on x86_64-linux-gnu, verify_ssa failed su at cs dot ucdavis.edu
2015-07-20 19:51 ` [Bug tree-optimization/66951] [6 Regression] " mpolacek at gcc dot gnu.org
2015-07-20 20:26 ` mpolacek at gcc dot gnu.org
2015-07-26 9:32 ` pinskia 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).