Hello,
With gcc version 5.2.0 (GCC)a and grsecurity-3.1-4.2.6-201511211620.patch, I get a couple of these errors:
tools/gcc/initify_plugin.c:222:107: error: too many arguments to function 'tree_node* get_inner_reference(tree, long int*, long int*, tree_node**, machine_mode*, int*, int*, bool)'
It looks like something similar to the following is needed (at least this compiles) in tools/gcc/gcc-common.h about 612 lines in:
+#if BUILDING_GCC_VERSION == 5002
+#define get_inner_reference(exp, pbitsize, pbitpos, poffset, pmode, punsignedp, preversep, pvolatilep, keep_aligning) get_inner_reference(exp, pbitsize, pbitpos, poffset, pmode, punsignedp, pvolatilep, keep_aligning)
+#endif
I didn't modify the #ifdef that followed that since I wasn't sure what to do about the other line in the #ifdef:
+#define gen_rtx_set(ARG0, ARG1) gen_rtx_SET(VOIDmode, (ARG0), (ARG1))
Thanks