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] Strenghten assumption about gswitch statements.


On 08/27/2018 08:05 AM, Martin Liška wrote:
> Hi.
> 
> Now we should not meet a degenerated gswitch statements.
> 
> Patch can bootstrap on x86_64-linux-gnu and survives regression tests.
> 
> Ready to be installed?
> Martin
> 
> gcc/ChangeLog:
> 
> 2018-08-27  Martin Liska  <mliska@suse.cz>
> 
> 	* tree-cfg.c (find_taken_edge_switch_expr): Replace not possible
> 	condition with assert.
> 	* tree-switch-conversion.c (switch_conversion::expand):
> 	Likewise.
OK.
jeff


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