pmm_malloc.h (posix_memalign): If __cplusplus, make the prototype extern "C" and...
authorJakub Jelinek <jakub@redhat.com>
Wed, 4 Jan 2006 08:17:15 +0000 (09:17 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 4 Jan 2006 08:17:15 +0000 (09:17 +0100)
commit1f0e2ace93ef562291720eab89f23c1637ed4ffd
treebae9453026f19b86e9cd465ff527ba1d45a962cb
parentd90ee6be660e3da0871af961be1d2171cf15c622
pmm_malloc.h (posix_memalign): If __cplusplus, make the prototype extern "C" and add throw ().

* config/i386/pmm_malloc.h (posix_memalign): If __cplusplus,
make the prototype extern "C" and add throw ().

* g++.dg/other/i386-2.C: New test.

From-SVN: r109318
gcc/ChangeLog
gcc/config/i386/pmm_malloc.h
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/other/i386-2.C [new file with mode: 0644]