This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: c: Remove dead code in c-typeck.c
- To: Neil Booth <neil at daikokuya dot demon dot co dot uk>
- Subject: Re: c: Remove dead code in c-typeck.c
- From: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- Date: Sat, 27 Oct 2001 23:00:00 +0100 (BST)
- cc: <gcc-patches at gcc dot gnu dot org>, <jakub at redhat dot com>
On Sat, 27 Oct 2001, Neil Booth wrote:
> Whilst investigating what can be passed to int_size_in_bytes to get a
> NULL size tree, I noticed this dead code. size is never used, and
> int_size_in_bytes has no side effects.
>
> OK?
>
> Neil.
>
> * c-typeck.c (pop_init_level): Remove unused variable and
> unused assignment to it.
Jakub understands the code handling initializers, I don't. I noted some
time ago that I don't see what the constructor_constant parameter of
digest_init is for, so I can't tell whether dead code involved in handling
initializers should be removed or fixed no longer to be dead.
--
Joseph S. Myers
jsm28@cam.ac.uk