This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/42387] [4.4 / 4.5 Regression] Getting internal compiler error.



------- Comment #2 from paolo dot carlini at oracle dot com  2009-12-16 00:53 -------
Gosh, this is enough. The ICE disappears if AvlTreeIter isn't a template:

template<class PF>
struct AvlTreeIter
{
  int Num();

  AvlTreeIter()
  {
    new (void* [Num()]);
  }
};


-- 

paolo dot carlini at oracle dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Keywords|                            |ice-on-valid-code
      Known to fail|                            |4.4.1 4.4.2 4.5.0
      Known to work|                            |4.3.4
   Last reconfirmed|0000-00-00 00:00:00         |2009-12-16 00:53:43
               date|                            |
            Summary|Getting internal compiler   |[4.4 / 4.5 Regression]
                   |error.                      |Getting internal compiler
                   |                            |error.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]