> You could "fix" this by walking all functions and check if only > one real language personality routine remains and promote > the generic C personality uses to that. Of course you need then > to be able to identify the C personality which you can't (well, > you could by name).
Can't we simply record the first personality routine encountered when reading in the GIMPLE IL and assign it to all FDEs that don't have one? That would at least solve the problem in the homogeneous case. -- Eric Botcazou