Warning fixes:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>
Mon, 19 Oct 1998 09:17:21 +0000 (09:17 +0000)
committerKaveh Ghazi <ghazi@gcc.gnu.org>
Mon, 19 Oct 1998 09:17:21 +0000 (09:17 +0000)
        * 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

gcc/ch/ChangeLog
gcc/ch/Makefile.in
gcc/ch/lang-specs.h
gcc/ch/lex.c

index fe6b319236b52fd97da310871ef5f31958f800a4..6aa285d7a80e0b2ec47fd225923d945663225b72 100644 (file)
@@ -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
index 50b8a66395ace5d63a618ba23c08c0c125c03769..2ec8641c98001d812cc154bc65a8bd24e86a0d46 100644 (file)
@@ -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 \
index be02c117e5ea5f7cd4f216bc359a3508f167ec16..b149af437bb333fe99fb9a7b8e0747306559b8d9 100644 (file)
@@ -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 }}"}},
index 38c8fa46276d769fbca93ccfbbb330a8732dee3a..64531d72c67be80943cc25fe0bcafd8004e3dbfb 100644 (file)
@@ -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