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]
Other format: [Raw text]

Re: [PATCH][2/2] Sanity check removed loops


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."


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