public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/21933] New: [4.1 regression] ICE with -ftree-vectorize
@ 2005-06-06 19:19 reichelt at gcc dot gnu dot org
  2005-06-07 10:13 ` [Bug tree-optimization/21933] " dorit at il dot ibm dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2005-06-06 19:19 UTC (permalink / raw)
  To: gcc-bugs

Compiling the following code snippet with today's mainline
(g++ -O -march=pentium4 -ftree-vectorize) I get an ICE:

======================================================================
struct A
{
    int a[4];
    A& foo() { for (int i=0; i<4; ++i) a[i]=0; return *this; }
    int bar();
};

struct B
{
    A* p;
    ~B() { ++p; }
};

struct C : B {};

struct X { int i; };

struct Y : virtual X
{
    Y& operator<<(X) { ++i; return *this; }
};

void baz()
{
    C c0, c1, c2, c3;
    A(*c0.p).foo().bar();

    X x;
    Y() << x << x << x << x;
}
======================================================================

bug.cc: In function 'void baz()':
bug.cc:23: internal compiler error: tree check: expected ssa_name, have var_decl
in verify_ssa, at tree-ssa.c:750
Please submit a full bug report, [etc.]

-- 
           Summary: [4.1 regression] ICE with -ftree-vectorize
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          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=21933


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

* [Bug tree-optimization/21933] [4.1 regression] ICE with -ftree-vectorize
  2005-06-06 19:19 [Bug tree-optimization/21933] New: [4.1 regression] ICE with -ftree-vectorize reichelt at gcc dot gnu dot org
@ 2005-06-07 10:13 ` dorit at il dot ibm dot com
  2005-06-09  8:45 ` dorit at il dot ibm dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: dorit at il dot ibm dot com @ 2005-06-07 10:13 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From dorit at il dot ibm dot com  2005-06-07 10:13 -------
I also see this on powerpc-apple-darwin:
g++ -O -ftree-vectorize -maltivec pr21933.cc

pr21933.cc: In function 'void baz()':
pr21933.cc:23: internal compiler error: tree check: expected ssa_name, have 
var_decl in verify_ssa, at tree-ssa.c:750

Keith is looking into it. (probably a duplicate of PR21884 ?)

-- 


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


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

* [Bug tree-optimization/21933] [4.1 regression] ICE with -ftree-vectorize
  2005-06-06 19:19 [Bug tree-optimization/21933] New: [4.1 regression] ICE with -ftree-vectorize reichelt at gcc dot gnu dot org
  2005-06-07 10:13 ` [Bug tree-optimization/21933] " dorit at il dot ibm dot com
@ 2005-06-09  8:45 ` dorit at il dot ibm dot com
  2005-06-09  8:51 ` reichelt at gcc dot gnu dot org
  2005-06-11 14:04 ` reichelt at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: dorit at il dot ibm dot com @ 2005-06-09  8:45 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From dorit at il dot ibm dot com  2005-06-09 08:45 -------
patch: http://gcc.gnu.org/ml/gcc-patches/2005-06/msg00850.html



-- 


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


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

* [Bug tree-optimization/21933] [4.1 regression] ICE with -ftree-vectorize
  2005-06-06 19:19 [Bug tree-optimization/21933] New: [4.1 regression] ICE with -ftree-vectorize reichelt at gcc dot gnu dot org
  2005-06-07 10:13 ` [Bug tree-optimization/21933] " dorit at il dot ibm dot com
  2005-06-09  8:45 ` dorit at il dot ibm dot com
@ 2005-06-09  8:51 ` reichelt at gcc dot gnu dot org
  2005-06-11 14:04 ` reichelt at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2005-06-09  8:51 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From reichelt at gcc dot gnu dot org  2005-06-09 08:51 -------
Confirmed by Dorit.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |http://gcc.gnu.org/ml/gcc-
                   |                            |patches/2005-
                   |                            |06/msg00445.html
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |patch
   Last reconfirmed|0000-00-00 00:00:00         |2005-06-09 08:51:11
               date|                            |
   Target Milestone|---                         |4.1.0


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


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

* [Bug tree-optimization/21933] [4.1 regression] ICE with -ftree-vectorize
  2005-06-06 19:19 [Bug tree-optimization/21933] New: [4.1 regression] ICE with -ftree-vectorize reichelt at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2005-06-09  8:51 ` reichelt at gcc dot gnu dot org
@ 2005-06-11 14:04 ` reichelt at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2005-06-11 14:04 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From reichelt at gcc dot gnu dot org  2005-06-11 14:04 -------
Fixed by Keith's patch.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


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


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

end of thread, other threads:[~2005-06-11 14:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-06-06 19:19 [Bug tree-optimization/21933] New: [4.1 regression] ICE with -ftree-vectorize reichelt at gcc dot gnu dot org
2005-06-07 10:13 ` [Bug tree-optimization/21933] " dorit at il dot ibm dot com
2005-06-09  8:45 ` dorit at il dot ibm dot com
2005-06-09  8:51 ` reichelt at gcc dot gnu dot org
2005-06-11 14:04 ` 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).