https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95706 --- Comment #11 from David Edelsohn <dje at gcc dot gnu.org> --- I added Solaris to the list of targets that see the error on line 5. Add it wherever your target sees it.