ARM not building on head?

Andreas Tobler andreast-list@fgznet.ch
Fri Jan 9 21:52:00 GMT 2015


Appologies,

this is mine. But I couldn't bootstrap arm so far.


On 09.01.15 22:05, Joel Sherrill wrote:

> Does anyone else see this? There is a semi-colon at the end of
> gcc/config/arm/arm.h:771 which I don't think should be there.
>
> g++ -c   -g -O2 -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE  -fno-exceptions
> -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing
> -Wwrite-strings -Wcast-qual -Wmissing-format-attribute
> -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros
> -Wno-overlength-strings -fno-common  -DHAVE_CONFIG_H -I. -I.
> -I/users/joel/test-gcc/gcc/gcc -I/users/joel/test-gcc/gcc/gcc/.
> -I/users/joel/test-gcc/gcc/gcc/../include
> -I/users/joel/test-gcc/gcc/gcc/../libcpp/include
> -I/users/joel/test-gcc/gcc/gcc/../libdecnumber
> -I/users/joel/test-gcc/gcc/gcc/../libdecnumber/dpd -I../libdecnumber
> -I/users/joel/test-gcc/gcc/gcc/../libbacktrace   -o arm.o -MT arm.o -MMD
> -MP -MF ./.deps/arm.TPo /users/joel/test-gcc/gcc/gcc/config/arm/arm.c
> In file included from ./tm.h:26:0,
>                   from /users/joel/test-gcc/gcc/gcc/config/arm/arm.c:27:
> /users/joel/test-gcc/gcc/gcc/config/arm/arm.c: In function ‘void
> arm_init_libfuncs()’:
> /users/joel/test-gcc/gcc/gcc/config/arm/arm.h:771:51: error: expected
> ‘)’ before ‘;’ token
>   #define MAX_SYNC_LIBFUNC_SIZE (2 * UNITS_PER_WORD);
>                                                     ^
> /users/joel/test-gcc/gcc/gcc/config/arm/arm.c:2163:25: note: in
> expansion of macro ‘MAX_SYNC_LIBFUNC_SIZE’
>       init_sync_libfuncs (MAX_SYNC_LIBFUNC_SIZE);


Committed as obvious.

Again, sorry for the troubles.

Andreas

2015-01-09  Andreas Tobler  <andreast@gcc.gnu.org>

	* config/arm/arm.h (MAX_SYNC_LIBFUNC_SIZE): Delete semicolon.

Index: arm.h
===================================================================
--- arm.h	(revision 219411)
+++ arm.h	(working copy)
@@ -768,7 +768,7 @@

  /* The maximum size of the sync library functions supported.  */
  #ifndef MAX_SYNC_LIBFUNC_SIZE
-#define MAX_SYNC_LIBFUNC_SIZE (2 * UNITS_PER_WORD);
+#define MAX_SYNC_LIBFUNC_SIZE (2 * UNITS_PER_WORD)
  #endif



More information about the Gcc mailing list