# HG changeset patch # User Manuele Conti # Date 1357241650 -3600 # Node ID 6e2671e0f1a8b2a50a9c9e8e2dbfe3f3b70afcdc # Parent 1e1c04ac8dabf4c17c1c996266a23ff2f0fd145d Fix constant_folding missing call. [Bug found by Mario.] diff -r 1e1c04ac8dab -r 6e2671e0f1a8 stage3/constant_folding.cc --- a/stage3/constant_folding.cc Thu Jan 03 11:39:27 2013 +0100 +++ b/stage3/constant_folding.cc Thu Jan 03 20:34:10 2013 +0100 @@ -965,6 +965,7 @@ void *constant_folding_c::visit(program_declaration_c *symbol) { symbol_c *var_name; + symbol->var_declarations->accept(*this); values.clear(); /* Clear global map */ search_var_instance_decl_c search_var_instance_decl(symbol); function_param_iterator_c fpi(symbol);