public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/63512] New: [5 Regression] ICE: error: virtual use of statement not up-to-date
@ 2014-10-11 21:46 trippels at gcc dot gnu.org
2014-10-13 13:43 ` [Bug tree-optimization/63512] " rguenth at gcc dot gnu.org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: trippels at gcc dot gnu.org @ 2014-10-11 21:46 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63512
Bug ID: 63512
Summary: [5 Regression] ICE: error: virtual use of statement
not up-to-date
Product: gcc
Version: 5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: trippels at gcc dot gnu.org
~ % cat ParseDeclCXX.ii
extern "C" {
void __assert_fail ();
unsigned long strlen (const char *);
}
class A
{
int Data;
int Length;
public:
A (const char *p1) : Data ()
{
p1 ? void() : __assert_fail ();
Length = strlen (p1);
}
};
enum TokenKind
{
semi
};
class B
{
public:
void m_fn1 ();
};
class C
{
void m_fn2 (TokenKind, int, A);
struct D
{
D (int);
B Range;
};
int *m_fn3 (const int &, int &, int **);
};
int a, b;
int *
C::m_fn3 (const int &, int &, int **)
{
D c (0);
if (a)
c.Range.m_fn1 ();
m_fn2 (semi, 0, b ? "" : a ? "alias declaration" : "using declaration");
}
~ % g++ -c -O2 ParseDeclCXX.ii
ParseDeclCXX.ii: In member function ‘int* C::m_fn3(const int&, int&, int**)’:
ParseDeclCXX.ii:38:1: error: virtual use of statement not up-to-date
C::m_fn3 (const int &, int &, int **)
^
# VUSE <.MEM_16>
_21 = 17;
ParseDeclCXX.ii:38:1: internal compiler error: verify_ssa failed
0x10bb6b0b verify_ssa(bool, bool)
../../gcc/gcc/tree-ssa.c:1055
0x1087664b execute_function_todo
../../gcc/gcc/passes.c:1758
0x10877087 do_per_function
../../gcc/gcc/passes.c:1478
0x1087734f execute_todo
../../gcc/gcc/passes.c:1808
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.
>From gcc-bugs-return-463842-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 11 21:59:59 2014
Return-Path: <gcc-bugs-return-463842-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 30098 invoked by alias); 11 Oct 2014 21:59:59 -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 30030 invoked by uid 48); 11 Oct 2014 21:59:55 -0000
From: "trippels at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/63512] [5 Regression] ICE: error: virtual use of statement not up-to-date
Date: Sat, 11 Oct 2014 21:59: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: 5.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: trippels at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
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: target_milestone
Message-ID: <bug-63512-4-fGYnX2HVU9@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-63512-4@http.gcc.gnu.org/bugzilla/>
References: <bug-63512-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-10/txt/msg00863.txt.bz2
Content-length: 395
https://gcc.gnu.org/bugzilla/show_bug.cgi?idc512
Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |5.0
--- Comment #1 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
Started with r216065.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug tree-optimization/63512] [5 Regression] ICE: error: virtual use of statement not up-to-date
2014-10-11 21:46 [Bug tree-optimization/63512] New: [5 Regression] ICE: error: virtual use of statement not up-to-date trippels at gcc dot gnu.org
@ 2014-10-13 13:43 ` rguenth at gcc dot gnu.org
2014-10-14 7:36 ` rguenth at gcc dot gnu.org
2014-10-14 7:41 ` rguenth at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-10-13 13:43 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63512
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2014-10-13
Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Mine.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug tree-optimization/63512] [5 Regression] ICE: error: virtual use of statement not up-to-date
2014-10-11 21:46 [Bug tree-optimization/63512] New: [5 Regression] ICE: error: virtual use of statement not up-to-date trippels at gcc dot gnu.org
2014-10-13 13:43 ` [Bug tree-optimization/63512] " rguenth at gcc dot gnu.org
@ 2014-10-14 7:36 ` rguenth at gcc dot gnu.org
2014-10-14 7:41 ` rguenth at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-10-14 7:36 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63512
--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Tue Oct 14 07:36:02 2014
New Revision: 216174
URL: https://gcc.gnu.org/viewcvs?rev=216174&root=gcc&view=rev
Log:
2014-10-14 Richard Biener <rguenther@suse.de>
PR tree-optimization/63512
* tree-ssa-pre.c (create_expression_by_pieces): Mark stmts
modified.
* g++.dg/torture/pr63512.C: New testcase.
Added:
trunk/gcc/testsuite/g++.dg/torture/pr63512.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-ssa-pre.c
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug tree-optimization/63512] [5 Regression] ICE: error: virtual use of statement not up-to-date
2014-10-11 21:46 [Bug tree-optimization/63512] New: [5 Regression] ICE: error: virtual use of statement not up-to-date trippels at gcc dot gnu.org
2014-10-13 13:43 ` [Bug tree-optimization/63512] " rguenth at gcc dot gnu.org
2014-10-14 7:36 ` rguenth at gcc dot gnu.org
@ 2014-10-14 7:41 ` rguenth at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-10-14 7:41 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63512
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fixed.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-10-14 7:41 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-11 21:46 [Bug tree-optimization/63512] New: [5 Regression] ICE: error: virtual use of statement not up-to-date trippels at gcc dot gnu.org
2014-10-13 13:43 ` [Bug tree-optimization/63512] " rguenth at gcc dot gnu.org
2014-10-14 7:36 ` rguenth at gcc dot gnu.org
2014-10-14 7:41 ` rguenth 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).