This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] Fix PR c++/27961
- From: Volker Reichelt <reichelt at igpm dot rwth-aachen dot de>
- To: Lee Millward <lee dot millward at codesourcery dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sun, 24 Sep 2006 00:10:29 +0200 (CEST)
- Subject: 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