This is the mail archive of the gcc-patches@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]

[PATCH][BUILDROBOT] nios2: Include builtins.h


Hi!

The nios2 backend was forgotten, it also needs to include builtins.h:

g++ -c   -g -O2 -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE  -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -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/home/jbglaw/repos/gcc/gcc -I/home/jbglaw/repos/gcc/gcc/. -I/home/jbglaw/repos/gcc/gcc/../include -I/home/jbglaw/repos/gcc/gcc/../libcpp/include -I/opt/cfarm/gmp-latest/include -I/opt/cfarm/mpfr-latest/include -I/opt/cfarm/mpc-latest/include  -I/home/jbglaw/repos/gcc/gcc/../libdecnumber -I/home/jbglaw/repos/gcc/gcc/../libdecnumber/dpd -I../libdecnumber -I/home/jbglaw/repos/gcc/gcc/../libbacktrace    -o nios2.o -MT nios2.o -MMD -MP -MF ./.deps/nios2.TPo /home/jbglaw/repos/gcc/gcc/config/nios2/nios2.c
/home/jbglaw/repos/gcc/gcc/config/nios2/nios2.c: In function âtree_node* nios2_merge_decl_attributes(tree_node*, tree_node*)â:
/home/jbglaw/repos/gcc/gcc/config/nios2/nios2.c:3225: warning: unknown conversion type character âEâ in format
/home/jbglaw/repos/gcc/gcc/config/nios2/nios2.c:3225: warning: format â%qsâ expects type âchar*â, but argument 2 has type âtree_node*â
/home/jbglaw/repos/gcc/gcc/config/nios2/nios2.c:3225: warning: too many arguments for format
/home/jbglaw/repos/gcc/gcc/config/nios2/nios2.c: At global scope:
/home/jbglaw/repos/gcc/gcc/config/nios2/nios2.c:3349: error: âstd_build_builtin_va_listâ was not declared in this scope
/home/jbglaw/repos/gcc/gcc/config/nios2/nios2.c:3349: error: âstd_fn_abi_va_listâ was not declared in this scope
/home/jbglaw/repos/gcc/gcc/config/nios2/nios2.c:3349: error: âstd_canonical_va_list_typeâ was not declared in this scope
/home/jbglaw/repos/gcc/gcc/config/nios2/nios2.c:3349: error: too many initializers for âgcc_targetâ
make[1]: *** [nios2.o] Error 1

Committed as obvious.

MfG, JBG



2014-06-21  Jan-Benedict Glaw  <jbglaw@lug-owl.de>

gcc/
	* config/nios2/nios2.c: Include "builtins.h".




diff --git a/gcc/config/nios2/nios2.c b/gcc/config/nios2/nios2.c
index 354e3d9..a4e60c6 100644
--- a/gcc/config/nios2/nios2.c
+++ b/gcc/config/nios2/nios2.c
@@ -52,6 +52,7 @@
 #include "stor-layout.h"
 #include "varasm.h"
 #include "calls.h"
+#include "builtins.h"
 
 /* Forward function declarations.  */
 static bool prologue_saved_reg_p (unsigned);


-- 
      Jan-Benedict Glaw      jbglaw@lug-owl.de              +49-172-7608481
Signature of: They that give up essential liberty to obtain temporary safety,
the second  : deserve neither liberty nor safety.  (Ben Franklin)

Attachment: signature.asc
Description: Digital signature


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