public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "ppluzhnikov at google dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/61723] [C++11] ICE in contains_struct_check
Date: Tue, 15 Jul 2014 20:51:00 -0000	[thread overview]
Message-ID: <bug-61723-4-rmVcj4Hy9J@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-61723-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #6 from Paul Pluzhnikov <ppluzhnikov at google dot com> ---
It turns out that the original unreduced test case does not error on trunk
@r212277;
it only ICEs on gcc-4.8 and gcc-4.9 branches.

But once I creduced it using 4.9, the reduced test also ICEd on trunk.

I have just verified that the latest 4.9 @r212536 crashes like so on
non-reduced test:

gcc-svn-4_9-r212536/bin/g++ -c -std=c++11 t.ii  -O2
t.cc: In function ‘ZZZZ’:
t.cc:22:24: internal compiler error: Segmentation fault
0xb947ff crash_signal
    ../../gcc/toplev.c:337
0x952096 fold_comparison
    ../../gcc/fold-const.c:9074
0x95be35 fold_binary_loc(unsigned int, tree_code, tree_node*, tree_node*,
tree_node*)
    ../../gcc/fold-const.c:13563
0xbca30d cleanup_control_expr_graph
    ../../gcc/tree-cfgcleanup.c:112
0xbca30d cleanup_control_flow_bb
    ../../gcc/tree-cfgcleanup.c:187
0xbca30d cleanup_tree_cfg_bb
    ../../gcc/tree-cfgcleanup.c:630
0xbcbd48 cleanup_tree_cfg_1
    ../../gcc/tree-cfgcleanup.c:675
0xbcbd48 cleanup_tree_cfg_noloop
    ../../gcc/tree-cfgcleanup.c:731
0xbcbd48 cleanup_tree_cfg()
    ../../gcc/tree-cfgcleanup.c:786
0xaea194 execute_function_todo
    ../../gcc/passes.c:1811
0xaeaa83 execute_todo
    ../../gcc/passes.c:1887
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.


This appears to be a different ICE.
Should I reduce it?
>From gcc-bugs-return-456435-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jul 15 21:08:11 2014
Return-Path: <gcc-bugs-return-456435-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 11571 invoked by alias); 15 Jul 2014 21:08:10 -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 11433 invoked by uid 48); 15 Jul 2014 21:08:04 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/61723] [C++11] ICE in contains_struct_check
Date: Tue, 15 Jul 2014 21:08:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords: ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jason at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 4.10.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-61723-4-4u5sHZ5Sfy@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-61723-4@http.gcc.gnu.org/bugzilla/>
References: <bug-61723-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-07/txt/msg01026.txt.bz2
Content-length: 260

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

--- Comment #7 from Jason Merrill <jason at gcc dot gnu.org> ---
(In reply to Paul Pluzhnikov from comment #6)
> This appears to be a different ICE.
> Should I reduce it?

Please.  And open a new PR for it.


  parent reply	other threads:[~2014-07-15 20:51 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-05 18:58 [Bug c++/61723] New: " ppluzhnikov at google dot com
2014-07-15 14:09 ` [Bug c++/61723] " paolo.carlini at oracle dot com
2014-07-15 15:22 ` jason at gcc dot gnu.org
2014-07-15 19:17 ` jason at gcc dot gnu.org
2014-07-15 19:37 ` jason at gcc dot gnu.org
2014-07-15 20:51 ` ppluzhnikov at google dot com [this message]
2014-07-31 13:34 ` paolo.carlini at oracle dot com
2014-12-12 18:53 ` paolo.carlini at oracle 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-61723-4-rmVcj4Hy9J@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).