public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "dcb314 at hotmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/68021] New: ice in rewrite_use_nonlinear_expr with -O3
Date: Mon, 19 Oct 2015 18:07:00 -0000 [thread overview]
Message-ID: <bug-68021-4@http.gcc.gnu.org/bugzilla/> (raw)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68021
Bug ID: 68021
Summary: ice in rewrite_use_nonlinear_expr with -O3
Product: gcc
Version: 6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: dcb314 at hotmail dot com
Target Milestone: ---
Created attachment 36540
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36540&action=edit
C++ source code
For today's trunk gcc on x64_64
$ ../results/bin/g++ -O3 -c bug237.cc
svga_cirrus.cc: In function ‘void bitblt_rop_bkwd_src_and_dst(Bit8u*, const
Bit8u*, int, int, int, int)’:
svga_cirrus.cc:3304:13: internal compiler error: in rewrite_use_nonlinear_expr,
at tree-ssa-loop-ivopts.c:6916
0xf044d4 rewrite_use_nonlinear_expr
../../src/trunk/gcc/tree-ssa-loop-ivopts.c:6916
0xf044d4 rewrite_use
../../src/trunk/gcc/tree-ssa-loop-ivopts.c:7177
0xf044d4 rewrite_uses
../../src/trunk/gcc/tree-ssa-loop-ivopts.c:7210
0xf0b190 tree_ssa_iv_optimize_loop
../../src/trunk/gcc/tree-ssa-loop-ivopts.c:7550
0xf0b190 tree_ssa_iv_optimize()
../../src/trunk/gcc/tree-ssa-loop-ivopts.c:7582
0xf24fc0 execute
../../src/trunk/gcc/tree-ssa-loop.c:412
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.
tree-ssa-loop-ivopts.c:6916 is
gcc_assert (comp != NULL_TREE);
>From gcc-bugs-return-499958-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 19 18:16:13 2015
Return-Path: <gcc-bugs-return-499958-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 40460 invoked by alias); 19 Oct 2015 18:16:13 -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 40308 invoked by uid 55); 19 Oct 2015 18:16:09 -0000
From: "kargl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/67987] ICE on declaring and initializing character with negative len
Date: Mon, 19 Oct 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: 5.2.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: kargl at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: kargl at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-67987-4-kU6TYJTCQM@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-67987-4@http.gcc.gnu.org/bugzilla/>
References: <bug-67987-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-10/txt/msg01513.txt.bz2
Content-length: 1301
https://gcc.gnu.org/bugzilla/show_bug.cgi?idg987
--- Comment #6 from kargl at gcc dot gnu.org ---
Author: kargl
Date: Mon Oct 19 18:15:36 2015
New Revision: 228999
URL: https://gcc.gnu.org/viewcvs?rev"8999&root=gcc&view=rev
Log:
2015-10-19 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/67987
* decl.c (char_len_param_value): Unwrap unlong line. If LEN < 0,
force it to zero per the Fortran 90, 95, 2003, and 2008 Standards.
* resolve.c (gfc_resolve_substring_charlen): Unwrap unlong line.
If 'start' is larger than 'end', length of substring is negative,
so explicitly set it to zero.
(resolve_charlen): Remove -Wsurprising warning. Update comment to
reflect that the text is from the F2008 standard.
2015-10-19 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/67987
* gfortran.df/pr67987.f90: New test.
* gfortran.dg/char_length_2.f90: Update testcase.
Added:
branches/gcc-5-branch/gcc/testsuite/gfortran.dg/pr67987.f90
Modified:
branches/gcc-5-branch/gcc/fortran/ChangeLog
branches/gcc-5-branch/gcc/fortran/decl.c
branches/gcc-5-branch/gcc/fortran/resolve.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog
branches/gcc-5-branch/gcc/testsuite/gfortran.dg/char_length_2.f90
next reply other threads:[~2015-10-19 18:07 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-19 18:07 dcb314 at hotmail dot com [this message]
2015-10-20 8:09 ` [Bug tree-optimization/68021] [6 Regression] " rguenth at gcc dot gnu.org
2015-10-20 9:09 ` mpolacek at gcc dot gnu.org
2015-10-20 16:05 ` ysrumyan at gmail dot com
2015-10-21 9:48 ` ysrumyan at gmail dot com
2015-10-21 12:46 ` ysrumyan at gmail dot com
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-68021-4@http.gcc.gnu.org/bugzilla/ \
--to=gcc-bugzilla@gcc.gnu.org \
--cc=gcc-bugs@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).