Add comment about bug that needs to be fixed later on.
authormjsousa
Tue, 30 Dec 2014 23:32:04 +0000
changeset 985 837c6532a9b8
parent 984 634269b0f104
child 986 2064a22cc1f2
Add comment about bug that needs to be fixed later on.
stage3/constant_folding.cc
--- a/stage3/constant_folding.cc	Tue Dec 30 23:31:36 2014 +0000
+++ b/stage3/constant_folding.cc	Tue Dec 30 23:32:04 2014 +0000
@@ -592,6 +592,10 @@
 /***********************************************************************/
 
 
+/* TODO: FIXME !!!!!
+ *   The following operation is wrong - it does not handle the comparisons of all possible datatypes correctly.
+ *   The result of comparig the bool, int64, and uint64 are overwritten by the comparison of the real64 type!
+ */
 /* static void *handle_cmp(symbol_c *symbol, symbol_c *oper1, symbol_c *oper2, OPERATION) */
 #define handle_cmp(symbol, oper1, oper2, operation) {               \
 	if ((NULL == oper1) || (NULL == oper2)) return NULL;        \