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]

Re: CHILL patch for some more warnings...


Yes, looks OK to me.....

Dave

Kaveh R. Ghazi wrote:

>         Here are a couple of more nits squashed in the chill directory.
> Okay to install?
>
>                 --Kaveh
>
> Fri Oct 16 21:04:01 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.
>
>
> diff -rup orig/egcs-CVS19981015/gcc/ch/Makefile.in egcs-CVS19981015/gcc/ch/Makefile.in
> --- orig/egcs-CVS19981015/gcc/ch/Makefile.in    Thu Oct 15 20:00:40 1998
> +++ egcs-CVS19981015/gcc/ch/Makefile.in Fri Oct 16 15:23:44 1998
> @@ -291,7 +291,8 @@ lang.o : lang.c $(CONFIG_H) $(CHILL_TREE
>         $(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 -rup orig/egcs-CVS19981015/gcc/ch/lang-specs.h egcs-CVS19981015/gcc/ch/lang-specs.h
> --- orig/egcs-CVS19981015/gcc/ch/lang-specs.h   Thu Oct 15 20:00:42 1998
> +++ egcs-CVS19981015/gcc/ch/lang-specs.h        Fri Oct 16 15:03:41 1998
> @@ -20,10 +20,10 @@ the Free Software Foundation, 675 Mass A
>  /* 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 A
>                    %{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 -rup orig/egcs-CVS19981015/gcc/ch/lex.c egcs-CVS19981015/gcc/ch/lex.c
> --- orig/egcs-CVS19981015/gcc/ch/lex.c  Thu Oct 15 20:00:42 1998
> +++ egcs-CVS19981015/gcc/ch/lex.c       Fri Oct 16 15:03:41 1998
> @@ -32,6 +32,10 @@ the Free Software Foundation, 675 Mass A
>  #include "obstack.h"
>  #include "toplev.h"
>
> +#ifdef DWARF_DEBUGGING_INFO
> +#include "dwarfout.h"
> +#endif
> +
>  #ifdef MULTIBYTE_CHARS
>  #include <locale.h>
>  #endif





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