Print this page
12013 fix GCC4 as primary compiler
@@ -152,13 +152,18 @@
return 0;
}
static bool rl_is_tagged(struct range_list *rl)
{
- sval_t invalid = { .type = &ullong_ctype, .value = (1ULL << 56) };
- sval_t invalid_kernel = { .type = &ullong_ctype, .value = (0xff8ULL << 52) };
+ sval_t invalid;
+ sval_t invalid_kernel;
+ invalid.type = &ullong_ctype;
+ invalid.value = 1ULL << 56;
+ invalid_kernel.type = &ullong_ctype;
+ invalid_kernel.value = 0xff8ULL << 52;
+
/*
* We only care for tagged addresses, thus ignore anything where the
* ranges of potential values cannot possibly have any of the top byte
* bits set.
*/