* config/i386.i386.c (ix86_cc_modes_compatible): CCNOmode is
compatible with CCGOCmode and with CCZmode.
From-SVN: r248036
+2017-05-14 Uros Bizjak <ubizjak@gmail.com>
+
+ * config/i386.i386.c (ix86_cc_modes_compatible): CCNOmode is
+ compatible with CCGOCmode and with CCZmode.
+
2017-05-14 Martin Sebor <msebor@redhat.com>
PR middle-end/77671
|| (m1 == CCGOCmode && m2 == CCGCmode))
return CCGCmode;
- if (m1 == CCZmode && (m2 == CCGCmode || m2 == CCGOCmode))
+ if ((m1 == CCNOmode && m2 == CCGOCmode)
+ || (m1 == CCGOCmode && m2 == CCNOmode))
+ return CCNOmode;
+
+ if (m1 == CCZmode
+ && (m2 == CCGCmode || m2 == CCGOCmode || m2 == CCNOmode))
return m2;
- else if (m2 == CCZmode && (m1 == CCGCmode || m1 == CCGOCmode))
+ else if (m2 == CCZmode
+ && (m1 == CCGCmode || m1 == CCGOCmode || m1 == CCNOmode))
return m1;
switch (m1)