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: c: Remove dead code in c-typeck.c


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


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