This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/34846] New: ICE on STL container iterator copy
- From: "dougkwan at google dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Jan 2008 04:08:35 -0000
- Subject: [Bug c++/34846] New: ICE on STL container iterator copy
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
My copy of top of trunk, which was updated today, ICEd with this piece of code:
------
#include <vector> // fails with vector and set
void
test()
{
typedef int a; // must be locally defined
std::vector<a*>::iterator x; // element must be pointer to
// aliased type
std::vector<a*>::iterator y=x;
}
------
--
Summary: ICE on STL container iterator copy
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: critical
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: dougkwan at google dot com
GCC build triplet: i686-unknown-linux-gnu
GCC host triplet: i686-unknown-linux-gnu
GCC target triplet: i686-unknown-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34846