https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67278

--- Comment #5 from Uroš Bizjak <ubizjak at gmail dot com> ---
(In reply to Richard Biener from comment #4)
> CCing Uros for the followup ICE.  Apply

Following patch should fix the ICE:

--cut here--
Index: config/i386/i386.c
===================================================================
--- config/i386/i386.c  (revision 233864)
+++ config/i386/i386.c  (working copy)
@@ -7794,6 +7794,10 @@ type_natural_mode (const_tree type, const CUMULATI
        {
          machine_mode innermode = TYPE_MODE (TREE_TYPE (type));

+         /* There are no XFmode vector modes.  */
+         if (innermode == XFmode)
+           return mode;
+
          if (TREE_CODE (TREE_TYPE (type)) == REAL_TYPE)
            mode = MIN_MODE_VECTOR_FLOAT;
          else
--cut here--

Reply via email to