public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* optimization/10861: [tree-ssa] ICE in assign_var
@ 2003-05-19 14:46 bangerth
  0 siblings, 0 replies; 2+ messages in thread
From: bangerth @ 2003-05-19 14:46 UTC (permalink / raw)
  To: gcc-gnats


>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:


^ permalink raw reply	[flat|nested] 2+ messages in thread
* Re: optimization/10861: [tree-ssa] ICE in assign_var
@ 2003-05-19 14:49 bangerth
  0 siblings, 0 replies; 2+ messages in thread
From: bangerth @ 2003-05-19 14:49 UTC (permalink / raw)
  To: bangerth, gcc-bugs, gcc-prs, nobody

Synopsis: [tree-ssa] ICE in assign_var

State-Changed-From-To: open->closed
State-Changed-By: bangerth
State-Changed-When: Mon May 19 14:49:09 2003
State-Changed-Why:
    Duplicate of 10863 created by GNATS for unknown reasons...

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10861


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-05-19 14:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-19 14:46 optimization/10861: [tree-ssa] ICE in assign_var bangerth
2003-05-19 14:49 bangerth

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).