blob: eebecd832a96ee3600528a87d06485c8a5808d56 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88273
GCC 8.2+ fails to build 32-bit PowerPC kernel due to this.
--- trunk/gcc/gimple-ssa-warn-restrict.c 2019/01/17 16:33:55 268037
+++ trunk/gcc/gimple-ssa-warn-restrict.c 2019/01/17 22:52:47 268048
@@ -319,13 +319,9 @@
offrange[0] += offset_int::from (min, SIGNED);
offrange[1] += offset_int::from (max, SIGNED);
}
- else if (rng == VR_ANTI_RANGE)
- {
- offrange[0] += offset_int::from (max + 1, SIGNED);
- offrange[1] += offset_int::from (min - 1, SIGNED);
- }
else
{
+ /* Handle an anti-range the same as no range at all. */
gimple *stmt = SSA_NAME_DEF_STMT (offset);
tree type;
if (is_gimple_assign (stmt)
|