It looks like this has been fixed on the 3.1 branch... at least the test cases that I originally had are now all running happily. http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5006 -- Richard Smith