>Number: 10861
>Category: optimization
>Synopsis: [tree-ssa] ICE in assign_var
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon May 19 14:46:01 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Wolfgang Bangerth
>Release: unknown-1.0
>Organization:
>Environment:
>Description:
This proved hard to track down (thus a test case that's a little
longish), but worthwhile since this assertion triggers in
some 20 files of my library:
----------------------------------
void foo();
struct B {
~B() {
int *p;
if (0 != p) {
int** x = 0;
int* q = p;
*x = q;
}
}
};
struct V : B {
V() { }
V(const V& x) { foo(); }
};
struct S {
S(const S&);
};
struct P {
S s;
V v;
P(const S& a, const V& b) : s(a), v(b) {}
};
void bar (P);
void baz (const S &s)
{
P p(s, V());
bar(p);
}
------------------------------
g/x> /home/bangerth/bin/gcc-3.4-tree-ssa/bin/c++ -O2 -c x.cc
x.cc: In function `void baz(const S&)':
x.cc:6: internal compiler error: in assign_vars, at tree-ssa.c:1557
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
W.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.