I'd be so hesitant to use the sun compiler unless I had the source code in hand or sun was under contractual obligation to fix bugs. Does it come with its own source?
Perhaps I've simply been scarred by the nineties, but back in the day /opt/SUNWspro was an extremely rich source of mysterious WTFs and much profanity.