https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81758
--- Comment #19 from DIL <liakhdi at ornl dot gov> --- Hi Paul, Great, thanks a lot! That was pretty quick. Upon a chance, as there is still a momentum :), could you please take a brief look at bug #80850 to see whether it may be related since you mentioned "allocation with source" in the previous comment? That's exactly what 80850 is about. If fails to allocate a previously nullified pointer with a sourced allocate(), complaining that the pointer is already allocated. From what I could deduce from valgrind, somehow the code produced by the sourced allocate() here encounters a corrupted internal pointer representation. If you need any debugging information/screenshots from me, I will be happy to provide (I did not really see an easy way to reduce the code).