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++/22139] [4.0/4.1 regression] Segfault


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-07-16 04:31 -------
Here is a reduced testcase, reproducible with  --param ggc-min-expand=0 --param ggc-min-
heapsize=0:
   template <int rank, int dim> class Tensor;
    template <int rank, int dim> struct SymmetricTensor {     SymmetricTensor (const Tensor<2,dim> 
&t);     friend void foo(); };
    template <> SymmetricTensor<2,2>::SymmetricTensor (const Tensor<2,2> &t) {}
    template <> SymmetricTensor<2,3>::SymmetricTensor (const Tensor<2,3> &t) {}


(Thanks to delta for this one)

-- 


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


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