From 99f8e7884d582cfae2d7cb50ad59dab7ac6772fc Mon Sep 17 00:00:00 2001
From: Kugan Vivekanandarajah <kugan.vivekanandarajah@linaro.org>
Date: Sat, 25 Jun 2016 11:52:57 +1000
Subject: [PATCH 1/6] Hack-Prevent setting __builtin_constant_p of param to
null before inlining in Early VRP
---
gcc/tree-vrp.c | 2 ++
1 file changed, 2 insertions(+)
@@ -3759,8 +3759,10 @@ extract_range_basic (value_range *vr, gimple *stmt)
&& SSA_NAME_IS_DEFAULT_DEF (arg)
&& TREE_CODE (SSA_NAME_VAR (arg)) == PARM_DECL)
{
+#if 0
set_value_range_to_null (vr, type);
return;
+#endif
}
break;
/* Both __builtin_ffs* and __builtin_popcount return
--
1.9.1