From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 356 invoked by alias); 8 Nov 2007 21:49:57 -0000 Received: (qmail 327 invoked by uid 48); 8 Nov 2007 21:49:48 -0000 Date: Thu, 08 Nov 2007 21:49:00 -0000 Subject: [Bug rtl-optimization/34035] New: ICE in calc_dfs_tree with -O2 -fnon-call-exceptions -ffast-math -fno-gcse X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "janis at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2007-11/txt/msg00750.txt.bz2 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 Two { public: Two(); private: T *data; int arraySize; }; template Two::Two() { data = new T[arraySize]; } class Three { protected: Two 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