------- Comment #8 from pluto at agmk dot net 2008-06-11 20:14 ------- (In reply to comment #7) > Then the following should fix it. > > Index: tree-flow-inline.h > =================================================================== > --- tree-flow-inline.h (revision 135770) > +++ tree-flow-inline.h (working copy) > @@ -1712,6 +1712,11 @@ var_can_have_subvars (const_tree v) > if (!DECL_P (v) || MTAG_P (v)) > return false; > > + /* Unions cannot have subvars. */ > + if (TREE_CODE (TREE_TYPE (v)) == UNION_TYPE > + || TREE_CODE (TREE_TYPE (v)) == QUAL_UNION_TYPE) > + return false; > + > /* Aggregates can have subvars. */ > if (AGGREGATE_TYPE_P (TREE_TYPE (v))) > return true; >
with this change g++ needs ~1GB and ~4minutes. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36498