public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "epanelelytha at kellertimo dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/14468] New: [tree-ssa] ICE in verify_stmts (tree-cfg.c)
Date: Sun, 07 Mar 2004 16:38:00 -0000	[thread overview]
Message-ID: <20040307163848.14468.epanelelytha@kellertimo.de> (raw)

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


             reply	other threads:[~2004-03-07 16:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-07 16:38 epanelelytha at kellertimo dot de [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040307163848.14468.epanelelytha@kellertimo.de \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).