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