[Bug c++/22204] [4.0/4.1 Regression] [repo] internal compiler error: Segmentation fault

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Jun 27 20:22:00 GMT 2005


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-06-27 20:22 -------
Reduced testcase:
#include <typeinfo>

template<int>
struct function1
{
  function1(void (*f)(void))
  {
     typeid(int (*)(char&));
  }
};
void inputclassifier(void){}
function1<1> b(inputclassifier) ;


----
-frepo is only needed to reproduce this.
This has been failing since at least "3.5.0 20040909".

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
      Known to fail|                            |4.0.0 4.1.0
      Known to work|                            |3.4.0 3.3.3
   Last reconfirmed|0000-00-00 00:00:00         |2005-06-27 20:22:05
               date|                            |


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



More information about the Gcc-bugs mailing list