Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gcc_register_root_tab expects a NULL-terminated list of ggc_root_tab
It appears that gcc_register_root_tab has always expected a NULL-terminated table of ggc_root_tab, and we were never NULL-terminating this, so it happened to only ever work by chance. Found when debugging segfaults seen on ARM in all of tests/plugin/gc (https://bugzilla.redhat.com/show_bug.cgi?id=864314); upon applying this patch, all of the tests/plugin/gc go from segfaulting to passing
- Loading branch information