aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/iresolve.c
diff options
context:
space:
mode:
authorAlexandre Oliva <oliva@adacore.com>2019-12-25 06:43:22 +0000
committerAlexandre Oliva <aoliva@gcc.gnu.org>2019-12-25 06:43:22 +0000
commit85129ff10afef6c9686dd566b7e728bef7a2fdc3 (patch)
tree90effc097af1fd17ab3279ddfb6fe905de1f17cb /gcc/fortran/iresolve.c
parentde0db05147815dc323c98ec9cd8b9c9ed58e2813 (diff)
downloadgcc-85129ff10afef6c9686dd566b7e728bef7a2fdc3.zip
gcc-85129ff10afef6c9686dd566b7e728bef7a2fdc3.tar.gz
gcc-85129ff10afef6c9686dd566b7e728bef7a2fdc3.tar.bz2
Define HAVE_ for math long double functions declared in vxworks headers
When cross-building for vxworks, test for declarations of long double functions in math.h. We don't normally test for these functions when cross compiling, because link tests don't work, or ever really, but not defining them as available causes replacements to be defined in ways that may cause duplicate definition linker errors if the units defining both the replacement and the actual implementation are brought in because of other symbols. for libstdc++-v3/ChangeLog * crossconfig.m4 (GLIBCXX_CROSSCONFIG) [*-vxworks*]: Define long double functions as available if declared by math.h. (GLIBCXX_CHECK_MATH_DECL, GLIBCXX_CHECK_MATH_DECLS): New. * configure: Rebuild. From-SVN: r279731
Diffstat (limited to 'gcc/fortran/iresolve.c')
0 files changed, 0 insertions, 0 deletions