Hi,

On Wed, 24 Feb 2016, Martin Liška wrote:

> >> grep ENABLE_CHECKING *.[ch]
> > dwarf2out.c:#if ENABLE_CHECKING
> > dwarf2out.c:#if ENABLE_CHECKING
> > dwarf2out.c:#if ENABLE_CHECKING
> > dwarf2out.h:#if ENABLE_CHECKING
> 
> Hi Richi.
> 
> Removal in dwarf2out.c is not possible due to assignment (and read) of
> a struct member that is conditional in dwarf2out.h:
> 
> struct GTY((chain_next ("%h.dw_loc_next"))) dw_loc_descr_node {
> ...
> #if ENABLE_CHECKING
>   /* When translating a function into a DWARF procedure, contains the frame
>      offset *before* evaluating this operation.  It is -1 when not yet
>      initialized.  */
>   int dw_loc_frame_offset;
> #endif
> };

But nothing can set ENABLE_CHECKING anymore (the macro is meanwhile called 
CHECKING_P), so all that code is dead anyway.  So either the new macro 
should be used or that code should be removed.


Ciao,
Michael.

Reply via email to