Commit 42f86c48 by Josef Zlomek Committed by Josef Zlomek

Testcase for http://gcc.gnu.org/ml/gcc-patches/2003-02/msg01017.html

Testcase for http://gcc.gnu.org/ml/gcc-patches/2003-02/msg01017.html
	* gcc.dg/20030213-1.c: New test.

From-SVN: r62869
parent 8ad2b7a2
2003-02-13 Josef Zlomek <zlomekj@suse.cz>
* gcc.dg/20030213-1.c: New test.
2003-02-12 Roger Sayle <roger@eyesopen.com>
* gcc.dg/i386-387-1.c: Add new test for __builtin_atan2.
......
/* Testcase for http://gcc.gnu.org/ml/gcc-patches/2003-02/msg01017.html */
/* { dg-do link { target *-*-* } } */
/* { dg-options "-O -fpic" } */
int *g;
int main (void)
{
switch (*g)
{
case 0:
{
switch (*g)
{
case 0: *g = 1; break;
case 1:
case 2: *g = 1; break;
case 3:
case 4: *g = 1; break;
}
break;
}
case 1:
{
switch (*g)
{
case 0: *g = 1; break;
case 1:
case 2: *g = 1; break;
case 3:
case 4: *g = 1; break;
}
}
}
return 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