re PR target/35662 (gfortran interfaces badly with glibc sincosf() causing breakage)
authorJakub Jelinek <jakub@redhat.com>
Wed, 16 Apr 2008 15:56:58 +0000 (17:56 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 16 Apr 2008 15:56:58 +0000 (17:56 +0200)
commitfc207c379c9b877e55256abc18bb8af9a7870d3d
treead33e4179bc6f612eb411239cdaee2f1b9f619f4
parent17c340e049b6cd5e282a020e484b789c678cbd39
re PR target/35662 (gfortran interfaces badly with glibc sincosf() causing breakage)

PR target/35662
* f95-lang.c (gfc_init_builtin_functions): Make sure
BUILT_IN_SINCOS{,F,L} types aren't varargs.

* gfortran.dg/pr35662.f90: New test.

From-SVN: r134349
gcc/fortran/ChangeLog
gcc/fortran/f95-lang.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr35662.f90 [new file with mode: 0644]