ref: db5082d4c59b6350e7ab271dd751c40fddc68eb9
parent: f08eafe178160c3dea617d0dd28c50b04b998c8d
author: Roberto E. Vargas Caballero <[email protected]>
date: Thu Jul 13 14:18:03 EDT 2017
[cc1] Add ONEG to the list of unary operators in simplify() This operator was missed in the switch and fold() was called for it which expects a binary operator
--- a/cc1/fold.c
+++ b/cc1/fold.c
@@ -667,6 +667,7 @@
case OA_ADD:
case OA_SUB:
case OCAST:
+ case ONEG:
assert(!r);
if ((p = foldunary(np, l)) != NULL)
return p;