This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][2/2] Sanity check removed loops
- From: Andreas Schwab <schwab at linux-m68k dot org>
- To: Richard Biener <rguenther at suse dot de>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 05 Sep 2014 18:22:55 +0200
- Subject: Re: [PATCH][2/2] Sanity check removed loops
- Authentication-results: sourceware.org; auth=none
- References: <alpine dot LSU dot 2 dot 11 dot 1409051154450 dot 20733 at zhemvz dot fhfr dot qr>
Richard Biener <rguenther@suse.de> writes:
> 2014-09-05 Richard Biener <rguenther@suse.de>
>
> * cfgloop.c (mark_loop_for_removal): Record former header
> when ENABLE_CHECKING.
> * cfgloop.h (strut loop): Add former_header member when
> ENABLE_CHECKING.
> * loop-init.c (fix_loop_structure): Sanity check loops
> marked for removal if they re-appeared.
In file included from ../../gcc/ggc.h:34:0,
from ../../gcc/hash-table.h:199,
from ../../gcc/hash-set.h:24,
from ../../gcc/tree-core.h:24,
from ../../gcc/tree.h:23,
from gtype-desc.c:30:
gtype-desc.c: In function 'void gt_ggc_mx_loop(void*)':
gtype-desc.c:887:40: error: 'struct loop' has no member named 'former_header'
gt_ggc_m_15basic_block_def ((*x).former_header);
^
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."