shithub: riscv

Download patch

ref: fa1f9f7ca6d2c7a6e31ef4612de4cf9653b84f7a
parent: 7c7acbef314c6998354219f24cfee3283cb45ec1
author: cinap_lenrek <[email protected]>
date: Wed Oct 7 09:35:36 EDT 2015

cc: back out side() change unil 8c is fixed

this change made 8c fail to build libvorbis and gs, until this
is fixed we can live with non-optimal code.

--- a/sys/src/cmd/cc/sub.c
+++ b/sys/src/cmd/cc/sub.c
@@ -950,8 +950,6 @@
 	case OOROR:
 	case OCOMMA:
 	case ODOT:
-	case OFAS:
-	case OINDEX:
 		if(side(n->left))
 			break;
 		n = n->right;
@@ -963,10 +961,6 @@
 	case OSTRING:
 	case OLSTRING:
 	case ONAME:
-	case OREGPAIR:
-	case OEXREG:
-	case OREGISTER:
-	case OINDREG:
 		return 0;
 	}
 	return 1;