Skip to content
Snippets Groups Projects
Commit 146c55da authored by Marek Polacek's avatar Marek Polacek Committed by Marek Polacek
Browse files

re PR middle-end/71476 (ICE in gimplify_switch_expr with -Wswitch-unreachable)

	PR middle-end/71476
	* gimplify.c (maybe_warn_switch_unreachable): Factored out of
	gimplify_switch_expr.
	(warn_switch_unreachable_r): New function.

	* c-c++-common/Wswitch-unreachable-4.c: New test.
	* gcc.dg/Wswitch-unreachable-2.c: New test.
	* g++.dg/tm/jump1.C: Move dg-warning.

From-SVN: r237367
parent f90eba2a
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