This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix partial template specialization syntax in wide-int.h
- From: Mikhail Maltsev <maltsevm at gmail dot com>
- To: Mike Stump <mikestump at comcast dot net>
- Cc: gcc-patches <gcc-patches at gnu dot org>
- Date: Mon, 20 Jul 2015 10:15:35 +0300
- Subject: Re: [PATCH] Fix partial template specialization syntax in wide-int.h
- Authentication-results: sourceware.org; auth=none
- References: <55A8CAC3 dot 60200 at gmail dot com> <9AE0C8C8-AEB9-4620-9E09-1F27DCDD233A at comcast dot net>
On 07/17/2015 07:46 PM, Mike Stump wrote:
> On Jul 17, 2015, at 2:28 AM, Mikhail Maltsev <maltsevm@gmail.com> wrote:
>> The following code (reduced from wide-int.h) is rejected by Intel C++
>> Compiler (EDG-based):
>
> So, could you test this with the top of the tree compiler and file a bug
> report against g++ for it, if it seems to not work right. If that bug report
> is rejected, then I’d say file a bug report against clang and EDG.
In addition to usual bootstrap+regtest, I also checked that build succeeds with
GCC 4.3.6 (IIRC, this is now the minimal required version) as well as with
recent GCC snapshot used as stage 0. Committed as r225993.
I also filed this bugreport: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66941
>> I think that the warning is correct, and "template <>" should not be used
>> here. The attached patch should fix this issue. Bootstrapped and regtested
>> on x86_64-linux. OK for trunk?
>
> Ok. Does this need to go into the gcc-5 release branch as well? If so, ok
> there too. Thanks.
I think there is no need for it.
--
Regards,
Mikhail Maltsev