[gfortran,ping] support for large kinds in front-end and library

Steve Ellcey sje@cup.hp.com
Thu Aug 4 18:23:00 GMT 2005


I applied the patch and tried bootstrapping on IA64 HP-UX.  It failed due
to the C++ style comments in fortran/trans-intrinsic.c.  I believe this
should show up on any platform and is not HP-UX specific.  I will tweak
the file and see if I get further.

Steve Ellcey
sje@cup.hp.com

+#define DEFINE_MATH_BUILTIN(ID, NAME, ARGTYPE) \
+  { GFC_ISYM_ ## ID, BUILT_IN_ ## ID ## F, BUILT_IN_ ## ID, \
+    BUILT_IN_ ## ID ## L, BUILT_IN_ ## ID ## L, 0, 0, 0, 0, true, \
+    false, true, NAME, NULL_TREE, NULL_TREE, NULL_TREE, NULL_TREE, \
+    NULL_TREE, NULL_TREE, NULL_TREE, NULL_TREE},
+//  BUILT_IN_FUNCTION (id, name, false)
+
+#define DEFINE_MATH_BUILTIN_C(ID, NAME, ARGTYPE) \
+  { GFC_ISYM_ ## ID, BUILT_IN_ ## ID ## F, BUILT_IN_ ## ID, \
+    BUILT_IN_ ## ID ## L, BUILT_IN_ ## ID ## L, BUILT_IN_C ## ID ## F, \
+    BUILT_IN_C ## ID, BUILT_IN_C ## ID ## L, BUILT_IN_C ## ID ## L, true, \
+    true, true, NAME, NULL_TREE, NULL_TREE, NULL_TREE, NULL_TREE, \
+    NULL_TREE, NULL_TREE, NULL_TREE, NULL_TREE},
+//  BUILT_IN_FUNCTION (id, name, true)

| stage1/xgcc -Bstage1/ -B/shale/sje/gcc_std/ia64-hp-hpux11.23/bin/ -c
| -DUSE_LIBUNWIND_EXCEPTIONS -g -O2 -DIN_GCC -W -Wall -Wwrite-strings
| -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long
| -Wno-variadic-macros -Wold-style-definition -Wmissing-format-attribute
| -Werror -fno-common -DHAVE_CONFIG_H -I.  -Ifortran
| -I/shale/sje/builddir_std/gcc/gcc
| -I/shale/sje/builddir_std/gcc/gcc/fortran
| -I/shale/sje/builddir_std/gcc/gcc/../include -I./../intl
| -I/shale/sje/builddir_std/gcc/gcc/../libcpp/include
| -I/be/ia64-hp-hpux11.23/include -I/be/ia64-hp-hpux11.23/include
| /shale/sje/builddir_std/gcc/gcc/fortran/trans-intrinsic.c -o
| fortran/trans-intrinsic.o

/shale/sje/builddir_std/gcc/gcc/fortran/trans-intrinsic.c:100:1: error: C++ style comments are not allowed in ISO C90
/shale/sje/builddir_std/gcc/gcc/fortran/trans-intrinsic.c:100:1: error: (this will be reported only once per input file)
make[2]: *** [fortran/trans-intrinsic.o] Error 1
make[2]: Leaving directory `/shale/sje/builddir_std/obj_gcc/gcc'
make[1]: *** [stage2_build] Error 2
make[1]: Leaving directory `/shale/sje/builddir_std/obj_gcc/gcc'
make: *** [bootstrap] Error 2



More information about the Gcc-patches mailing list