[C++ Patch] PR 50454 [Take 2]
Paolo Carlini
paolo.carlini@oracle.com
Wed Sep 21 03:40:00 GMT 2011
Hi,
On 09/21/2011 03:25 AM, Jason Merrill wrote:
> On 09/20/2011 08:38 PM, Paolo Carlini wrote:
>> + if (int128_integer_type_node == NULL_TREE)
>> + error ("%<__int128%> is not supported by this target");
>
> In this case we should unset explicit_int128.
>
> Also remove this code:
>
>> else if (explicit_int128 && TREE_CODE (type) != INTEGER_TYPE)
>> error ("%<__int128%> invalid for %qs", name);
>
> and the modification of explicit_int128 here:
>
>> /* Discard the type modifiers if they are invalid. */
>> if (! ok)
>> {
>> unsigned_p = false;
>> signed_p = false;
>> long_p = false;
>> short_p = false;
>> longlong = 0;
>> explicit_int128 = false;
Ok. I'm going to test the below. Ok if it passes again?
Thanks,
Paolo.
////////////////////
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch_50454_3
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20110921/d1db52ff/attachment.ksh>
More information about the Gcc-patches
mailing list