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: [C++ Patch] PR 50454 [Take 2]


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.

////////////////////

Attachment: patch_50454_3
Description: Text document


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