core: id_equal should forward
authorNathan Sidwell <nathan@acm.org>
Mon, 2 Nov 2020 16:43:17 +0000 (08:43 -0800)
committerNathan Sidwell <nathan@acm.org>
Mon, 2 Nov 2020 16:56:39 +0000 (08:56 -0800)
commit9a2e765d7773185efa109c12839ab6c8a18a1346
treef2bbbd02bd3825a400b6fc2323463318f7b2d762
parentf8a737930bb0bd0714970cf04ea0463fddb5c6ef
core: id_equal should forward

I noticed the two id_equal functions directly called strcmp.  This
changes one of them to call the other with args swapped.

gcc/
* tree.h (id_equal): Call the symetric predicate with swapped
arguments.
gcc/tree.h