public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/34035]  New: ICE in calc_dfs_tree with -O2 -fnon-call-exceptions -ffast-math -fno-gcse
@ 2007-11-08 21:49 janis at gcc dot gnu dot org
  2007-11-08 21:52 ` [Bug rtl-optimization/34035] [4.3 Regression] " pinskia at gcc dot gnu dot org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: janis at gcc dot gnu dot org @ 2007-11-08 21:49 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2007-11-12 21:55 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-08 21:49 [Bug rtl-optimization/34035] New: ICE in calc_dfs_tree with -O2 -fnon-call-exceptions -ffast-math -fno-gcse janis at gcc dot gnu dot org
2007-11-08 21:52 ` [Bug rtl-optimization/34035] [4.3 Regression] " pinskia at gcc dot gnu dot org
2007-11-09  9:56 ` ebotcazou at gcc dot gnu dot org
2007-11-09 10:20 ` ebotcazou at gcc dot gnu dot org
2007-11-09 17:23 ` janis at gcc dot gnu dot org
2007-11-12 15:25 ` ebotcazou at gcc dot gnu dot org
2007-11-12 21:21 ` ebotcazou at gcc dot gnu dot org
2007-11-12 21:24 ` ebotcazou at gcc dot gnu dot org
2007-11-12 21:28 ` steven at gcc dot gnu dot org
2007-11-12 21:55 ` ebotcazou at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).