diff options
author | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-10-19 09:17:21 +0000 |
---|---|---|
committer | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-10-19 09:17:21 +0000 |
commit | fa4c8f49daa1e21c76626447594a2fea21893563 (patch) | |
tree | e4bf2cbb2be5833d9465c10ac26de914bed0c861 /gcc/ch | |
parent | e46800cdafc2b2c3f89926b5c3aad49cd9660bab (diff) | |
download | gcc-fa4c8f49daa1e21c76626447594a2fea21893563.tar.gz |
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
Diffstat (limited to 'gcc/ch')
-rw-r--r-- | gcc/ch/ChangeLog | 8 | ||||
-rw-r--r-- | gcc/ch/Makefile.in | 3 | ||||
-rw-r--r-- | gcc/ch/lang-specs.h | 8 | ||||
-rw-r--r-- | gcc/ch/lex.c | 4 |
4 files changed, 18 insertions, 5 deletions
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 <ghazi@caip.rutgers.edu> + + * 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 <ghazi@caip.rutgers.edu> * 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 <locale.h> #endif |