Commit 5f33b353 by Martin Liska Committed by Martin Liska

Fix GIMPLE FE test (PR testsuite/82114)

2017-09-12  Martin Liska  <mliska@suse.cz>

	PR testsuite/82114
	* gcc.dg/gimplefe-14.c (main): Add handling of case 0.

From-SVN: r252024
parent 6836632e
2017-09-12 Martin Liska <mliska@suse.cz>
PR testsuite/82114
* gcc.dg/gimplefe-14.c (main): Add handling of case 0.
2017-09-12 Richard Biener <rguenther@suse.de>
PR tree-optimization/82157
......
......@@ -7,7 +7,9 @@ main (int argc, char * * argv)
int a;
bb_2:
switch (argc_2(D)) {default: L2; case 1: L0; case 2: L1; }
/* Because of PR82114 we need to handle also 0 as base metal can have
argc == 0. */
switch (argc_2(D)) {default: L2; case 0: L0; case 1: L0; case 2: L1; }
L0:
a_4 = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment