Commit cc67d2fa by Christian Ehrhardt Committed by Eric Botcazou

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

From-SVN: r88662
parent 38636eac
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> 2004-10-07 Paul Brook <paul@codesourcery.com>
PR fortran/17678 PR fortran/17678
......
/* 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 ();
}
}
}
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