ref: d2dae10b4e8f2bb930d271a335b3ff16df4c6b75
parent: 6c7885a58e1d1202fbad71e09d423f8d637e25f8
author: Roberto E. Vargas Caballero <[email protected]>
date: Mon Aug 17 06:32:58 EDT 2015
Fix error in constconv() It was using sym instead of osym in the case of float conversions.
--- a/cc1/expr.c
+++ b/cc1/expr.c
@@ -364,7 +364,7 @@
}
break;
case FLOAT:
- aux.u.f = (oldtp->sign) ? sym->u.i : sym->u.u;
+ aux.u.f = (oldtp->sign) ? osym->u.i : osym->u.u;
break;
default:
return NULL;