This seems to be happening on a semi-regular basis now. I run scratch builds and they invariably work, but I have seen at least one of my scratch builds fail with the same error on f36/rawhide.
This makes no sense that gcc gets an internal error on random occastions. Is it the machine (or vm) that it's running on?