This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/25477] builtin functions should use $LDBL128 suffix on darwin when appropriate
- From: "howarth at nitro dot med dot uc dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Feb 2008 17:09:36 -0000
- Subject: [Bug target/25477] builtin functions should use $LDBL128 suffix on darwin when appropriate
- References: <bug-25477-6528@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #56 from howarth at nitro dot med dot uc dot edu 2008-02-25 17:09 -------
My bad...
newname = ACONCAT ("_", IDENTIFIER_POINTER (sym), "$LDBL128", NULL);
needs to be...
newname = ACONCAT (("_", IDENTIFIER_POINTER (sym), "$LDBL128", NULL));
...otherwise you get the following compiler errors...
gcc -c -g -fkeep-inline-functions -DIN_GCC -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
-Wmissing-format-attribute -fno-common -DHAVE_CONFIG_H -I. -I.
-I../../gcc-4.3.0-RC-20080222/gcc -I../../gcc-4.3.0-RC-20080222/gcc/.
-I../../gcc-4.3.0-RC-20080222/gcc/../include
-I../../gcc-4.3.0-RC-20080222/gcc/../libcpp/include -I/sw/include
-I../../gcc-4.3.0-RC-20080222/gcc/../libdecnumber
-I../../gcc-4.3.0-RC-20080222/gcc/../libdecnumber/dpd -I../libdecnumber
-I/sw/include -I. -I. -I../../gcc-4.3.0-RC-20080222/gcc
-I../../gcc-4.3.0-RC-20080222/gcc/.
-I../../gcc-4.3.0-RC-20080222/gcc/../include
-I../../gcc-4.3.0-RC-20080222/gcc/../libcpp/include -I/sw/include
-I../../gcc-4.3.0-RC-20080222/gcc/../libdecnumber
-I../../gcc-4.3.0-RC-20080222/gcc/../libdecnumber/dpd -I../libdecnumber
../../gcc-4.3.0-RC-20080222/gcc/config/darwin.c
../../gcc-4.3.0-RC-20080222/gcc/config/darwin.c:1751:69: error: macro "ACONCAT"
passed 4 arguments, but takes just 1
../../gcc-4.3.0-RC-20080222/gcc/config/darwin.c: In function
'darwin_patch_builtin':
../../gcc-4.3.0-RC-20080222/gcc/config/darwin.c:1751: error: 'ACONCAT'
undeclared (first use in this function)
../../gcc-4.3.0-RC-20080222/gcc/config/darwin.c:1751: error: (Each undeclared
identifier is reported only once
../../gcc-4.3.0-RC-20080222/gcc/config/darwin.c:1751: error: for each function
it appears in.)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25477