[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#370248: [alpha] ICE in tree_split_edge, at tree-cfg.c:3107



forwarded 370248 http://gcc.gnu.org/PR27891
tags 370248 + upstream
retitle 370248 [4.0/4.1 regression][alpha] ICE in tree_split_edge, at tree-cfg.c:3107
thanks

* Martin Michlmayr <tbm@cyrius.com> [2006-06-04 12:42]:
> ICE on Alpha, doesn't happen with gcc 4.0 or 4.2.  I'm running delta
> now...

Actually, it happens with gcc 4.0 too, but not with 3.4 or 4.2.

-- 
Martin Michlmayr
http://www.cyrius.com/
namespace qdbm
{
  class DBM_error;
  class Datum;
  class ADBM;
}
class qdbm::DBM_error
{
public:DBM_error ()
  throw ();
  DBM_error (const char *message)
  throw ();
};
class qdbm::Datum { };
class qdbm::ADBM
{
public:virtual ~
  ADBM () { }
  virtual Datum
  firstkey ()
  throw (DBM_error) = 0;
  virtual Datum
  nextkey ()
  throw (DBM_error) = 0;
};
using namespace qdbm;
int domisc (const char *name)
{
  int i, len;
  ADBM * adbm = 0;
  try
  {
    try
    {
      for (adbm->firstkey (); true; adbm->nextkey ())
	{
	  i++;
	}
    }
    catch (DBM_error & e)
    {
    }
    if (i != 100)
      DBM_error ("iteration error");
  }
  catch (DBM_error & e) { }
}

Reply to: