* gcc.c-torture/compile/20041007-1.c: New test.
From-SVN: r88662
This commit is contained in:
parent
38636eac43
commit
cc67d2fa80
@ -1,3 +1,7 @@
|
||||
2004-10-07 Eric Botcazou <ebotcazou@libertysurf.fr>
|
||||
|
||||
* gcc.c-torture/compile/20041007-1.c: New test.
|
||||
|
||||
2004-10-07 Paul Brook <paul@codesourcery.com>
|
||||
|
||||
PR fortran/17678
|
||||
|
16
gcc/testsuite/gcc.c-torture/compile/20041007-1.c
Normal file
16
gcc/testsuite/gcc.c-torture/compile/20041007-1.c
Normal file
@ -0,0 +1,16 @@
|
||||
/* PR rtl-optimization/17027 */
|
||||
/* Origin: dbk <sfc@village.uunet.be> */
|
||||
/* Testcase by Christian Ehrhardt <ehrhardt@mathematik.uni-ulm.de> */
|
||||
|
||||
int bar(void);
|
||||
void baz (void) __attribute__ ((noreturn)); /* noreturn is required */
|
||||
|
||||
void foo (void)
|
||||
{
|
||||
while (bar ()) {
|
||||
switch (1) {
|
||||
default:
|
||||
baz ();
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user