fix __builtin_expect
commit3c39cb5cd8f49e52353e72e3cd26467e4cd0ed0e
authorMichael Matz <matz@suse.de>
Mon, 16 Jan 2017 23:06:44 +0000 (17 00:06 +0100)
committerMichael Matz <matz@suse.de>
Tue, 2 May 2017 01:07:36 +0000 (2 03:07 +0200)
treeb23371570dc2f5fc21398a98db99b9b9093c6692
parent8d9dd3c0088d69d7742889c3267e5b1a138641b0
fix __builtin_expect

the second argument can be an arbitrary expression (including
side-effects), not just a constant.  This removes the last user
of expr_lor_const and hence also that function (and expr_land_const).
Also the argument to __builtin_constant_p can be only a non-comma
expression (like all functions arguments).
tccgen.c