• smenon's avatar
    Backport into mysql-5.1.49sp1-release · e73738f1
    smenon authored
    > ------------------------------------------------------------
    > revno: 3457.3.1
    > revision-id: alexey.kopytov@sun.com-20100712145855-niybvwsthe480r69
    > parent: mattias.jonsson@oracle.com-20100709130033-fgr7hggrrebf6qkc
    > committer: Alexey Kopytov <Alexey.Kopytov@sun.com>
    > branch nick: 55061-5.1-bugteam
    > timestamp: Mon 2010-07-12 18:58:55 +0400
    > message:
    >   Bug#55061: Build failing on sol 8 x86 - assembler code vs 
    >              compiler problem
    >   
    >   GCC-style inline assembly is not supported by the Sun Studio
    >   compilers prior to version 12.
    >   
    >   Added a check for the Sun Studio version to avoid using 
    >   _FPU_GETCW() / _FPU_SETCW() when inline assembly is
    >    unsupported. This can lead to some differences in floating
    >   point calculations on Solaris 8/x86 which, however, is not worth
    >   bothering with Sun-style assembly .il templates.
    e73738f1
mysqld.cc 323 KB