Re: [C++ Patch] PR 50454 [Take 2]

2011-09-20 Thread Jason Merrill
OK. Jason

Re: [C++ Patch] PR 50454 [Take 2]

2011-09-20 Thread Paolo Carlini
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 (

Re: [C++ Patch] PR 50454 [Take 2]

2011-09-20 Thread Jason Merrill
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_T

[C++ Patch] PR 50454 [Take 2]

2011-09-20 Thread Paolo Carlini
Hi, per the preceding discussion. Tested x86_64-linux. Ok for mainline? Thanks, Paolo. /// /cp 2011-09-21 Paolo Carlini PR c++/50454 * decl.c (grokdeclarator): Consistently handle both __int128 and unsigned __int128 with -pedantic; suppress diagn