Sun Studio 12 .. just for the heck of it ( again )

Torbjorn Granlund tg at gmplib.org
Mon Feb 20 09:03:13 CET 2012


Dennis Clarke <dclarke at blastwave.org> writes:

  Same as with this :
  
     http://gmplib.org/list-archives/gmp-bugs/2011-June/002271.html
  
  Sun Studio 12 simply will not compile GMP 5.0.4 and fails when it hits
  isfuns.cc and needs to grok attribute malloc. Well the feature list at :
  
      http://developers.sun.com/sunstudio/support/Ccompare.html
  
  clearly says "Additions to the __attributes__ clause: always_inline, noinline,
  pure, const, malloc, and aligned" are supported on Studio 12 and Studio 12
  Update 1.
  
Do the other attribute args work?  Perhaps there is a command line
option for switching on and off attribute arg recognition?

It always creates headache when vendors of non-free compilers try to
become GCC compatible.  Remember that Intel decided to define __GNUC__
in their 'icc' compiler?

(I don't plan to work on this problem, but I will applause others that
do.)

-- 
Torbjörn


More information about the gmp-bugs mailing list