Test eon from SPEC CPU2000 fails to build on powerpc64-linux with both -m32 and -m64 and "-fnon-call-exceptions -ffast-math -fno-gcse " with an ICE in calc_dfs_tree at dominance.c:393
Minimized test case: class One { public: One () { e[0] = e[1] = 0.0; } double e[2]; }; template <class T> class Two { public: Two(); private: T *data; int arraySize; }; template <class T> Two<T>::Two() { data = new T[arraySize]; } class Three { protected: Two<One> data; }; class Four : public Three { public: Four (); void Foo (int n); }; Four :: Four (){ Foo (1); } The ICE starts with: http://gcc.gnu.org/viewcvs?view=rev&rev=123084 r123084 | bonzini | 2007-03-20 08:31:13 +0000 (Tue, 20 Mar 2007) -- Summary: ICE in calc_dfs_tree with -O2 -fnon-call-exceptions - ffast-math -fno-gcse Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: janis at gcc dot gnu dot org GCC target triplet: powerpc*-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34035