]> git.ipfire.org Git - thirdparty/gcc.git/commit
Change range_handler, was Re: Fix gimple_expr_code?
authorAndrew MacLeod <amacleod@redhat.com>
Fri, 13 Nov 2020 00:25:59 +0000 (19:25 -0500)
committerAndrew MacLeod <amacleod@redhat.com>
Fri, 13 Nov 2020 00:28:45 +0000 (19:28 -0500)
commitee24da1b983a89b05303f2ac8828dd8cbe28d3b4
treeabfe913cd3b691b5b7c000d6390103365fb1fa88
parenta5a115258afd6c0bdd8ff4c8071dcffbafb88186
Change range_handler, was  Re: Fix gimple_expr_code?

Adjust the range_handler to not use gimple_expr_code/type.

* gimple-range.h (gimple_range_handler): Use gimple_assign and
gimple_cond routines to get type and code.
* range-op.cc (range_op_handler): Check for integral types.
gcc/gimple-range.h
gcc/range-op.cc