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

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

Dennis Clarke <dclarke at> writes:

  Same as with this :
  Sun Studio 12 simply will not compile GMP 5.0.4 and fails when it hits and needs to grok attribute malloc. Well the feature list at :
  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


More information about the gmp-bugs mailing list