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

On 9/23/06, Volker Reichelt <reichelt@igpm.rwth-aachen.de> wrote:
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

Thanks for the information. I'll try to take a look at the new testcase to see if I get chance to try and develop a more suitable fix. In the meantime I'll withdraw the proposed patch from my original email.

Cheers,
Lee.


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