This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: A warning patch, ptr assignment cleanup + error w/define after col 0
- To: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Subject: Re: A warning patch, ptr assignment cleanup + error w/define after col 0
- From: Jeffrey A Law <law at hurl dot cygnus dot com>
- Date: Thu, 18 Mar 1999 22:11:25 -0700
- cc: egcs-patches at egcs dot cygnus dot com
- Reply-To: law at cygnus dot com
In message <199903182117.QAA12124@caip.rutgers.edu>you write:
> Thu Mar 18 15:52:02 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
>
> * cccp.c (create_definition): Cast to U_CHAR* when assigning to one.
>
> * cppfiles.c (read_and_prescan): Likewise.
> Start a #define in column 0.
>
> * cpplib.c (cpp_define): Cast to U_CHAR* when assigning to one.
> (cpp_push_buffer): Likewise for cpp_buffer*.
> (do_include): Change the type of `fbeg' and `fend' to unsigned char*.
> (do_endif): Cast to char* when assigning to one.
> (do_assert): Likewise.
> (do_unassert): Likewise.
> (cpp_read_check_assertion): Change the type of `name' to U_CHAR*.
> Don't do unnecessary cast to char* anymore.
>
> * genrecog.c (make_insn_sequence): Cast to char** when assigning
> to one. Cast the first argument of bzero to PTR.
>
> * loop.c (strength_reduce): Remove unused variable `note'.
> Hide unused variable `nregs'.
>
> * reload1.c (new_insn_chain): Cast to struct insn_chain* when
> assigning to one.
>
> * rtl.c (copy_rtx): Use memcpy instead of bcopy.
Install everything except the change to hide 'nregs' -- the code which
uses nregs will be reenabled shortly.
jeff