https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82360
--- Comment #4 from David Binderman <dcb314 at hotmail dot com> --- Possibly in the same area, I just tried a valgrind build of trunk gcc and got this: ==4967== Invalid read of size 8 ==4967== at 0xD87FD8: component_ref_field_offset(tree_node*) (tree.c:12600) ==4967== by 0x9786EB: get_inner_reference(tree_node*, long*, long*, tree_node**, machine_mode*, int*, int*, int*) (expr.c:7059) ==4967== by 0x9A9C6E: fold_unary_loc(unsigned int, tree_code, tree_node*, tree_node*) (fold-const.c:7724) ==4967== by 0x9AA0D9: fold_build1_loc(unsigned int, tree_code, tree_node*, tree_node*) (fold-const.c:12226)