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++/22204] [4.0/4.1 Regression] [repo] internal compiler error: Segmentation fault


------- 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


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