Skip to content
Snippets Groups Projects
Commit f8318079 authored by Roger Sayle's avatar Roger Sayle
Browse files

re PR middle-end/26557 (ICE in simplify_subreg)

	PR middle-end/26557
	* stmt.c (emit_case_nodes): Handle the case where the index is a
	CONST_INT, where the comparison mode is specified by the index type.

	* gcc.c-torture/compile/switch-1.c: New test case.

From-SVN: r112032
parent 26a851b9
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment