Fix undefined warning messages in GCC 6.
commit37430363b865f2423bd58b4f0eaa779845ed7e71
authorSteve Ellcey <sellcey@mips.com>
Thu, 27 Aug 2015 15:09:49 +0000 (27 08:09 -0700)
committerSteve Ellcey <sellcey@mips.com>
Thu, 27 Aug 2015 15:09:49 +0000 (27 08:09 -0700)
tree500fbdc007669eb4bc624addea85bb57661e088a
parentae857215dd4e4a7ae100728c636622a7e4c8a322
Fix undefined warning messages in GCC 6.

    GCC 6 puts out warnings in a different location then GCC 5.  Move the
    DIAG macros so that the warnings are supressed for both compilers.

    ChangeLog:

* soft-fp/fmasf4.c: Add include of sys/cdefs.h.
Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
file, move DIAG_POP_NEEDS_COMMENT to end of file.
* soft-fp/fmadf4.c: Ditto.
* soft-fp/fmatf4.c: Ditto.
ChangeLog
soft-fp/fmadf4.c
soft-fp/fmasf4.c
soft-fp/fmatf4.c