Jakub Jelinek
1f6eac9041
re PR target/29776 (result of ffs/clz/ctz/popcount/parity are already sign-extended)
PR target/29776
* fold-const.c (tree_call_nonnegative_warnv_p): Return true
for BUILT_IN_C{LZ,LRSB}*.
* tree.h (CASE_INT_FN): Add FN##IMAX case.
* tree-vrp.c (extract_range_basic): Handle
BUILT_IN_{FFS,PARITY,POPCOUNT,C{LZ,TZ,LRSB}}*. For
BUILT_IN_CONSTANT_P if argument isn't (D) of PARM_DECL,
fall thru to code calling set_value*.
* builtins.c (expand_builtin): Remove *IMAX cases.
(fold_builtin_bitop): For BUILT_IN_CLRSB* return NULL_TREE
if width is bigger than 2*HWI.
* libgcc2.c (__floattisf): Avoid undefined signed overflow.
* gcc.dg/tree-ssa/vrp89.c: New test.
From-SVN: r200731
2013-07-06 11:34:17 +02:00
..
2013-06-21 20:08:01 +01:00
2013-06-21 20:08:01 +01:00
2013-07-06 11:34:17 +02:00
2013-06-06 17:43:41 +00:00
2012-05-10 08:51:39 +00:00
2013-03-27 22:59:10 +01:00
2012-10-15 13:10:30 +00:00
2013-02-04 19:06:20 +00:00
2013-02-04 19:06:20 +00:00
2013-02-04 19:06:20 +00:00
2013-02-04 19:06:20 +00:00
2013-02-04 19:06:20 +00:00
2011-06-22 13:20:07 +02:00
2013-02-04 19:06:20 +00:00
2013-02-04 19:06:20 +00:00
2013-02-04 19:06:20 +00:00
2012-08-23 15:41:03 +00:00
2011-11-02 15:23:48 +00:00
2011-11-02 15:23:48 +00:00
2011-11-02 15:23:48 +00:00
2011-11-02 15:23:48 +00:00
2013-05-06 10:23:02 +02:00
2013-05-06 10:23:02 +02:00
2013-02-04 19:06:20 +00:00
2013-02-04 19:06:20 +00:00
2013-02-04 19:06:20 +00:00
2013-02-04 19:06:20 +00:00
2013-02-04 19:06:20 +00:00
2013-02-04 19:06:20 +00:00
2013-02-04 19:06:20 +00:00
2013-07-06 11:34:17 +02:00
2013-02-04 19:06:20 +00:00
2013-02-04 19:06:20 +00:00
2013-02-04 19:06:20 +00:00
2013-02-04 19:06:20 +00:00
2013-06-25 08:02:11 +00:00
2011-11-02 15:23:48 +00:00
2011-11-02 15:23:48 +00:00
2011-11-02 15:23:48 +00:00
2011-11-02 15:23:48 +00:00
2013-02-04 19:06:20 +00:00
2013-02-04 19:06:20 +00:00
2013-02-04 19:06:20 +00:00
2011-06-21 14:26:13 +00:00
2011-11-02 15:23:48 +00:00
2012-08-22 09:36:23 +01:00
2013-02-04 19:06:20 +00:00
2013-02-04 19:06:20 +00:00
2013-02-04 19:06:20 +00:00
2013-02-04 19:06:20 +00:00
2013-02-04 19:06:20 +00:00
2013-02-04 19:06:20 +00:00
2013-02-04 19:06:20 +00:00
2013-02-04 19:06:20 +00:00
2013-02-04 19:06:20 +00:00
2013-02-04 19:06:20 +00:00
2013-02-04 19:06:20 +00:00
2013-05-17 08:27:37 -07:00
2013-02-04 19:06:20 +00:00
2013-02-04 19:06:20 +00:00
2013-02-04 19:06:20 +00:00
2013-02-04 19:06:20 +00:00
2013-02-04 19:06:20 +00:00
2013-02-04 19:06:20 +00:00