diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 1998-10-19 09:17:21 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 1998-10-19 09:17:21 +0000 |
commit | 6fbe9901277fbef6788a672c53fe738b21816a95 (patch) | |
tree | e4bf2cbb2be5833d9465c10ac26de914bed0c861 /gcc | |
parent | f2e4552251f473caaac9e75e89f13b4d633fa0fb (diff) | |
download | gcc-6fbe9901277fbef6788a672c53fe738b21816a95.zip gcc-6fbe9901277fbef6788a672c53fe738b21816a95.tar.gz gcc-6fbe9901277fbef6788a672c53fe738b21816a95.tar.bz2 |
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.
From-SVN: r23168
Diffstat (limited to 'gcc')
-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 fe6b319..6aa285d 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 50b8a66..2ec8641 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 be02c11..b149af4 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 38c8fa4..64531d7 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 |