https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103617
--- Comment #4 from Martin Liška <marxin at gcc dot gnu.org> --- (In reply to Andrew Macleod from comment #3) > Created attachment 51961 [details] > new patch > > Doh. there was a thinko and I think c++ was silently changing the parameter > back to a pointer. Try this one, it should invoke by reference now instead > of via pointer. > Sorry, See if this one works. Thanks for the patch, but it's still the same: (gdb) pp predicate->true_range Attempt to take address of value not located in memory. (gdb) pp &predicate->true_range UNDEFINED