20120615-1.c: New testcase.

2012-06-15  Richard Guenther  <rguenther@suse.de>

	* gcc.c-torture/execute/20120615-1.c: New testcase.

From-SVN: r188655
This commit is contained in:
Richard Guenther 2012-06-15 11:06:16 +00:00 committed by Richard Biener
parent f71d5704ba
commit c55224dc4d
2 changed files with 20 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2012-06-15 Richard Guenther <rguenther@suse.de>
* gcc.c-torture/execute/20120615-1.c: New testcase.
2012-06-15 Eric Botcazou <ebotcazou@adacore.com>
* gnat.dg/vect8.ad[sb]: New test.

View File

@ -0,0 +1,16 @@
extern void abort (void);
void __attribute__((noinline,noclone))
test1(int i)
{
if (i == 12)
return;
if (i != 17)
{
if (i == 15)
return;
abort ();
}
}
int main() { test1 (15); return 0; }