[Bug tree-optimization/25771] [4.2 Regression] ice in coalesce_abnormal_edges, at tree-outof-ssa.c:621

2006-01-14 Thread dberlin at gcc dot gnu dot org


--- Comment #6 from dberlin at gcc dot gnu dot org  2006-01-14 21:19 ---
Fixed


-- 

dberlin at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25771



[Bug tree-optimization/25771] [4.2 Regression] ice in coalesce_abnormal_edges, at tree-outof-ssa.c:621

2006-01-13 Thread dberlin at gcc dot gnu dot org


--- Comment #5 from dberlin at gcc dot gnu dot org  2006-01-13 16:00 ---
Subject: Bug 25771

Author: dberlin
Date: Fri Jan 13 16:00:13 2006
New Revision: 109669

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=109669
Log:
2006-01-13  Daniel Berlin  [EMAIL PROTECTED]

PR tree-optimization/25771
* tree-ssa-pre.c (insert_extra_phis): Don't insert merges of abnormal
SSA_NAMES.


Added:
trunk/gcc/testsuite/g++.dg/tree-ssa/pr25771.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-ssa-pre.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25771



[Bug tree-optimization/25771] [4.2 Regression] ice in coalesce_abnormal_edges, at tree-outof-ssa.c:621

2006-01-12 Thread pinskia at gcc dot gnu dot org


--- Comment #3 from pinskia at gcc dot gnu dot org  2006-01-12 21:48 ---
Reduced testcase:
int  g();
struct string {
  static int _S_empty_rep_storage[];
  void  _M_destroy();
  char* _M_rep;
  ~string()
  {
if (_M_rep != (char*)_S_empty_rep_storage )
  if (g() = 0)
_M_destroy();
  }
};
extern void SDL_FreeSurface(int surface);
struct scoped_resource {
  ~scoped_resource()  {
SDL_FreeSurface(1);
  }
};
struct surface {
  scoped_resource surface_;
};
struct button {
  string help_text_;
  string label_;
  surface image_;
};
struct scrollbar {
  string help_text_;
  button uparrow_;
};
scrollbar a;

---
As far as I can tell PRE is adding mergephitmp on an edge to an abornal branch.


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||dberlin at gcc dot gnu dot
   ||org
 Status|UNCONFIRMED |NEW
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2006-01-12 21:48:14
   date||
Summary|ice in  |[4.2 Regression] ice in
   |coalesce_abnormal_edges, at |coalesce_abnormal_edges, at
   |tree-outof-ssa.c:621|tree-outof-ssa.c:621
   Target Milestone|--- |4.2.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25771



[Bug tree-optimization/25771] [4.2 Regression] ice in coalesce_abnormal_edges, at tree-outof-ssa.c:621

2006-01-12 Thread dberlin at gcc dot gnu dot org


--- Comment #4 from dberlin at gcc dot gnu dot org  2006-01-12 23:18 ---
Mine, testing a patch.


-- 

dberlin at gcc dot gnu dot org changed:

   What|Removed |Added

 AssignedTo|unassigned at gcc dot gnu   |dberlin at gcc dot gnu dot
   |dot org |org
 Status|NEW |ASSIGNED
   Last reconfirmed|2006-01-12 21:48:14 |2006-01-12 23:18:07
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25771