From fa4c8f49daa1e21c76626447594a2fea21893563 Mon Sep 17 00:00:00 2001 From: ghazi Date: Mon, 19 Oct 1998 09:17:21 +0000 Subject: Warning fixes: * Makefile.in (lex.o): Depend on dwarfout.h. * lang-specs.h: Add missing braces in initializer. * lex.c: Include dwarfout.h, if DWARF_DEBUGGING_INFO is defined. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23168 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ch/ChangeLog | 8 ++++++++ gcc/ch/Makefile.in | 3 ++- gcc/ch/lang-specs.h | 8 ++++---- gcc/ch/lex.c | 4 ++++ 4 files changed, 18 insertions(+), 5 deletions(-) (limited to 'gcc/ch') diff --git a/gcc/ch/ChangeLog b/gcc/ch/ChangeLog index fe6b319236b..6aa285d7a80 100644 --- a/gcc/ch/ChangeLog +++ b/gcc/ch/ChangeLog @@ -1,3 +1,11 @@ +Mon Oct 19 12:13:47 1998 Kaveh R. Ghazi + + * Makefile.in (lex.o): Depend on dwarfout.h. + + * lang-specs.h: Add missing braces in initializer. + + * lex.c: Include dwarfout.h, if DWARF_DEBUGGING_INFO is defined. + Thu Oct 15 09:25:21 1998 Kaveh R. Ghazi * expr.c (build_chill_card): Use &&, not &, when comparing truth diff --git a/gcc/ch/Makefile.in b/gcc/ch/Makefile.in index 50b8a66395a..2ec8641c980 100644 --- a/gcc/ch/Makefile.in +++ b/gcc/ch/Makefile.in @@ -291,7 +291,8 @@ lang.o : lang.c $(CONFIG_H) $(CHILL_TREE_H) $(srcdir)/../input.h lex.h \ $(srcdir)/../system.h $(srcdir)/../toplev.h lex.o : lex.c $(CONFIG_H) $(CHILL_TREE_H) $(RTL_H) $(srcdir)/../flags.h \ $(srcdir)/../input.h $(srcdir)/parse.h $(srcdir)/../system.h \ - $(srcdir)/../toplev.h $(srcdir)/../../include/obstack.h lex.h + $(srcdir)/../toplev.h $(srcdir)/../../include/obstack.h lex.h \ + $(srcdir)/../dwarfout.h lex.c: hash.h loop.o : loop.c $(CONFIG_H) $(RTL_H) $(CHILL_TREE_H) lex.h \ $(srcdir)/../flags.h $(srcdir)/../input.h \ diff --git a/gcc/ch/lang-specs.h b/gcc/ch/lang-specs.h index be02c117e5e..b149af437bb 100644 --- a/gcc/ch/lang-specs.h +++ b/gcc/ch/lang-specs.h @@ -20,10 +20,10 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ /* This is the contribution to the `default_compilers' array in gcc.c for CHILL. */ - {".ch", "@chill" }, - {".chi", "@chill" }, + {".ch", {"@chill"}}, + {".chi", {"@chill"}}, {"@chill", - "cpp -lang-chill %{nostdinc*} %{C} %{v} %{A*} %{I*} %{P} %I\ + {"cpp -lang-chill %{nostdinc*} %{C} %{v} %{A*} %{I*} %{P} %I\ %{C:%{!E:%eGNU CHILL does not support -C without using -E}}\ -undef -D__GNUCHILL__=%v1 -D__GNUC_MINOR__=%v2\ %c %{Os:-D__OPTIMIZE_SIZE__} %{O*:-D__OPTIMIZE__} %{traditional} %{ftraditional:-traditional}\ @@ -39,4 +39,4 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ %{S:%W{o*}%{!o*:-o %b.s}}%{!S:-o %{|!pipe:%g.s}} |\n\ %{!S:as %a %Y \ %{c:%W{o*}%{!o*:-o %w%b%O}}%{!c:-o %d%w%u%O}\ - %{!pipe:%g.s} %A\n }}"}, + %{!pipe:%g.s} %A\n }}"}}, diff --git a/gcc/ch/lex.c b/gcc/ch/lex.c index 38c8fa46276..64531d72c67 100644 --- a/gcc/ch/lex.c +++ b/gcc/ch/lex.c @@ -32,6 +32,10 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #include "obstack.h" #include "toplev.h" +#ifdef DWARF_DEBUGGING_INFO +#include "dwarfout.h" +#endif + #ifdef MULTIBYTE_CHARS #include #endif -- cgit v1.2.1