shithub: riscv

Download patch

ref: 70a7ae9929d879b9268822793947a9ca1350b763
parent: dd4c85cf3ad0dcc5a435552fbc265a091a454089
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sun Aug 16 22:07:27 EDT 2015

cc: improve (non-) side effect detection (thanks charle)

--- a/sys/src/cmd/cc/sub.c
+++ b/sys/src/cmd/cc/sub.c
@@ -914,6 +914,10 @@
 	case ONOT:
 	case OADDR:
 	case OIND:
+	case OCOM:
+	case ONEG:
+	case OPOS:
+	case OTST:
 		n = n->left;
 		goto loop;