This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++ PATCH] Fix PR/9154 (a trunk regression)
- From: Falk Hueffner <falk dot hueffner at student dot uni-tuebingen dot de>
- To: "Giovanni Bajo" <giovannibajo at libero dot it>
- Cc: <gcc-patches at gcc dot gnu dot org>
- Date: 20 Jun 2003 16:09:51 +0200
- Subject: Re: [C++ PATCH] Fix PR/9154 (a trunk regression)
- References: <1d0d01c33733$9e0da520$114e2697@bagio>
"Giovanni Bajo" <giovannibajo@libero.it> writes:
> the following patch fixes PR/9154 by modifying the new parser to identify
> the ">>" token within a template argument list as a typo from the user for
> "> >", as it was done on the previous parser.
But ">>" *can* occur in a template list:
template <int N> int f() { return N; }
int g() { return f<256 >> 4>(); }
Is this handled correctly by your patch? In any case, something like
this should be added to the test case.
--
Falk