Do we know if this works with SUNPRO_CC? Just curious...
It should. I found a chart somewhere that said the version of Sun Studio which was released in 2007 (version 12?) had support for that attribute. They haven't always, but since I think very few people actually compile with that compiler it seems reasonable to expect them to use a moderately recent version.