public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/14468] New: [tree-ssa] ICE in verify_stmts (tree-cfg.c)
@ 2004-03-07 16:38 epanelelytha at kellertimo dot de
  2004-03-07 16:56 ` [Bug c++/14468] " pinskia at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: epanelelytha at kellertimo dot de @ 2004-03-07 16:38 UTC (permalink / raw)
  To: gcc-bugs

zztest.cpp: In function `void foo()':
zztest.cpp:9: error: Invalid operand to binary operator
(struct N *)i.6;

zztest.cpp:9: internal compiler error: verify_stmts failed.

class N {
public:
	N() {}
};

N x(N, N) {return N();}

void foo()
{
	N b,c;
	static N a[2]; // no ICE without static

	for (unsigned i=1; i < 2; ++i)
		a[i] = x(a[i-1], b);
}



Reading specs from /usr/local/lib/gcc/i686-pc-cygwin/3.5-tree-ssa/specs
Configured with: ./configure --enable-languages=c,c++ : (reconfigured)
./configure --enable-language
s=c,c++ : (reconfigured) ./configure --enable-languages=c,c++
Thread model: single
gcc version 3.5-tree-ssa 20040307 (merged 20040305)

The code worked with GCC 3.5.0 (some days ago).

-- 
           Summary: [tree-ssa] ICE in verify_stmts (tree-cfg.c)
           Product: gcc
           Version: tree-ssa
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: epanelelytha at kellertimo dot de
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: cygwin
  GCC host triplet: i686-pc-cygwin
GCC target triplet: i686-pc-cygwin


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


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

end of thread, other threads:[~2004-04-06 20:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-07 16:38 [Bug c++/14468] New: [tree-ssa] ICE in verify_stmts (tree-cfg.c) epanelelytha at kellertimo dot de
2004-03-07 16:56 ` [Bug c++/14468] " pinskia at gcc dot gnu dot org
2004-03-07 17:10 ` pinskia at gcc dot gnu dot org
2004-04-06 20:21 ` 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).