# HG changeset patch # User mjsousa # Date 1419982324 0 # Node ID 837c6532a9b83e3e09c29aee3fc53643c7a7bc28 # Parent 634269b0f10446ccf480799cd71917be8e51cad4 Add comment about bug that needs to be fixed later on. diff -r 634269b0f104 -r 837c6532a9b8 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; \