https://gcc.gnu.org/bugzilla/show_bug.cgi?id=27766 Bug 27766 depends on bug 52162, which changed state.
Bug 52162 Summary: Bogus -fcheck=bounds with realloc on assignment to unallocated LHS https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52162 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED