From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13752 invoked by alias); 12 Jul 2005 10:29:31 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 13428 invoked by uid 48); 12 Jul 2005 10:29:20 -0000 Date: Tue, 12 Jul 2005 10:44:00 -0000 From: "jakub at redhat dot com" To: gcc-bugs@gcc.gnu.org Message-ID: <20050712102918.22434.jakub@redhat.com> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/22434] New: ICE in simplify_{,gen_}subreg X-Bugzilla-Reason: CC X-SW-Source: 2005-07/txt/msg01403.txt.bz2 List-Id: #include #include #include std::string bar (unsigned int x); template std::ostream & baz (std::ostream &os, const T &v, bool lit) { typename T::const_iterator i = v.begin (); os << (lit ? bar (*i) : *i); return os; } void foo (std::ostream &os, const std::vector &v) { baz (os, v, false); } ICEs in 3.4.4, 4.0.1 and HEAD, trying to generate a BLKmode SUBREG. -- Summary: ICE in simplify_{,gen_}subreg Product: gcc Version: 4.0.2 Status: UNCONFIRMED Severity: normal Priority: P2 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jakub at redhat dot com CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22434