* gcc.c-torture/compile/20041007-1.c: New test.

From-SVN: r88662
This commit is contained in:
Christian Ehrhardt 2004-10-07 06:08:15 +00:00 committed by Eric Botcazou
parent 38636eac43
commit cc67d2fa80
2 changed files with 20 additions and 0 deletions

View File

@ -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

View 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 ();
}
}
}