cc: [email protected] 
Subject: Re: bool assignments not working with ?: operator
--------

Try the following patch:
====================cut here======================
--- old/sh/streval.c    Tue Jun 18 15:07:11 2013
+++ new/sh/streval.c    Tue Jul 23 14:06:52 2013
@@ -238,6 +238,8 @@
                        node.level = level;
                        node.nosub = 0;
                        node.nextop = *cp;
+                       if(node.nextop == A_JMP)
+                               node.nextop = ((unsigned 
char*)ep)[*((short*)roundptr(ep,cp,short))];
                        num = (*ep->fun)(&ptr,&node,VALUE,num);
                        if(node.emode&ARITH_ASSIGNOP)
                        {
====================cut here======================

David Korn
[email protected]
_______________________________________________
ast-developers mailing list
[email protected]
http://lists.research.att.com/mailman/listinfo/ast-developers

Reply via email to