public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/21218] New: [4.1 regression] ICE using -ftree-vectorize
@ 2005-04-25 14:37 reichelt at gcc dot gnu dot org
  2005-04-25 14:43 ` [Bug tree-optimization/21218] " pinskia at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2005-04-25 14:37 UTC (permalink / raw)
  To: gcc-bugs

Compiling the following code snippet with
"-ftree-vectorize -O2 -march=pentium4" triggers an ICE on mainline
(the 4.0 branch is not affected):

============================================
struct A
{
    double d[2];
    double foo(int i) { return d[i]; }
};

struct B : public A {};

void bar(B& b)
{
    for (int i=0; i<2; ++i)
        b.d[i] = b.foo(i);
}
============================================

bug.cc: In function 'void bar(B&)':
bug.cc:9: error: Definition in block 1 does not dominate use in block 18
for SSA_NAME: this_5 in statement:
vect_p.20_56 = this_5 + base_off.19_55;
lall.cc:9: internal compiler error: verify_ssa failed.
Please submit a full bug report, [etc.]

-- 
           Summary: [4.1 regression] ICE using -ftree-vectorize
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code, monitored
          Severity: normal
          Priority: P2
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: reichelt at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org


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


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

end of thread, other threads:[~2005-06-29 13:37 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-25 14:37 [Bug tree-optimization/21218] New: [4.1 regression] ICE using -ftree-vectorize reichelt at gcc dot gnu dot org
2005-04-25 14:43 ` [Bug tree-optimization/21218] " pinskia at gcc dot gnu dot org
2005-04-26 10:24 ` irar at il dot ibm dot com
2005-04-28 16:24 ` pinskia at gcc dot gnu dot org
2005-05-20 16:56 ` reichelt at gcc dot gnu dot org
2005-05-20 17:22 ` hubicka at ucw dot cz
2005-06-28 23:11 ` bangerth at dealii dot org
2005-06-28 23:23 ` bangerth at dealii dot org
2005-06-29 13:37 ` reichelt 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).