This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/25477] builtin functions should use $LDBL128 suffix on darwin when appropriate



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]