This is the mail archive of the gcc-patches@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]

Re: [patch] Fix PR c++/27961


Hi Lee,

I also tried to fix the ICE with the approach you chose, but came
to the conclusion, that this doesn't tackle the main problem:
It just papers over a special case, i.e. when the function returns
"void". With other return types you still get an ICE:

===================================
struct A
{
   template<int> int foo(X);
};
===================================

Therefore I'd suggest to not apply this patch.

Regards,
Volker



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