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 partial template specialization syntax in wide-int.h


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


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