public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/26197]  New: [4.2 regression] ICE in is_old_name, at tree-into-ssa.c:466
@ 2006-02-09 14:51 reichelt at gcc dot gnu dot org
  2006-02-09 15:10 ` [Bug tree-optimization/26197] " pinskia at gcc dot gnu dot org
                   ` (20 more replies)
  0 siblings, 21 replies; 22+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-02-09 14:51 UTC (permalink / raw)
  To: gcc-bugs

The following testcase triggers an ICE when compiled with
"-O2 -ftree-vectorize" on x86_64-unknown-linux-gnu (mainline):

=====================================================
struct A
{
  int* x[2];
  A() { for (int** p=x; p<x+2; ++p) *p = 0; }
};

struct B
{
  char c;
  A a0, a1, a2, a3, *p;

  B() {}
  B(const B& b) : c(), a0(b.a0), p(b.p) {}
  ~B() { delete p; }
};

inline void foo(const B& b) { new B(b); }

void bar()
{
  foo(B());
  foo(B());
}
=====================================================

bug.cc: In function 'void bar()':
bug.cc:19: internal compiler error: tree check: expected ssa_name, have
struct_field_tag in is_old_name, at tree-into-ssa.c:466
Please submit a full bug report, [etc.]

This is similar to PR 26169, but hasn't been fixed yet.


-- 
           Summary: [4.2 regression] ICE in is_old_name, at tree-into-
                    ssa.c:466
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code, monitored
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: reichelt at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26197


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

end of thread, other threads:[~2006-08-29 17:04 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-09 14:51 [Bug tree-optimization/26197] New: [4.2 regression] ICE in is_old_name, at tree-into-ssa.c:466 reichelt at gcc dot gnu dot org
2006-02-09 15:10 ` [Bug tree-optimization/26197] " pinskia at gcc dot gnu dot org
2006-02-09 15:45 ` pinskia at gcc dot gnu dot org
2006-02-09 16:03 ` law at redhat dot com
2006-02-10 20:24 ` law at redhat dot com
2006-02-12 19:24 ` rakdver at gcc dot gnu dot org
2006-02-13 16:23 ` dorit at il dot ibm dot com
2006-02-16 12:52 ` rakdver at gcc dot gnu dot org
2006-02-16 17:54 ` rakdver at gcc dot gnu dot org
2006-02-17 19:54 ` rakdver at gcc dot gnu dot org
2006-02-19 16:10 ` dorit at il dot ibm dot com
2006-02-28  8:43 ` [Bug tree-optimization/26197] [4.2 regression] ICE in is_old_name with vectorizer dorit at il dot ibm dot com
2006-02-28 14:40 ` dnovillo at gcc dot gnu dot org
2006-03-01 12:35 ` dorit at il dot ibm dot com
2006-03-02  4:44 ` pinskia at gcc dot gnu dot org
2006-03-03 18:00 ` pinskia at gcc dot gnu dot org
2006-04-05 18:38 ` pinskia at gcc dot gnu dot org
2006-06-04 17:41 ` mmitchel at gcc dot gnu dot org
2006-07-24 19:50 ` patchapp at dberlin dot org
2006-08-10 12:07 ` dorit at gcc dot gnu dot org
2006-08-11 14:53 ` reichelt at gcc dot gnu dot org
2006-08-29 17:04 ` pinskia at gcc dot gnu dot 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).