isl_ast_expr_is_equal: properly handle expressions with arguments
commit783cc13e5b1747fb7d728dad34b757f49d6ee853
authorSven Verdoolaege <skimo@kotnet.org>
Mon, 16 Feb 2015 09:35:51 +0000 (16 10:35 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Fri, 20 Feb 2015 12:19:59 +0000 (20 13:19 +0100)
tree13329df2427ca682896073d4caeeeb2309058b9b
parent159e125a56c7cb433a7b02311d59305ff9a6cda2
isl_ast_expr_is_equal: properly handle expressions with arguments

Due to a spurious "return 0" introduced in fdcc255 (add isl_ast_expr_is_equal,
Wed Jun 5 14:21:53 2013 +0200), expressions with arguments would
never be considered equal.

Detected by a scan_build on Polly.

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
isl_ast.c
isl_test.c