gcc problems affecting ciao code