From: Richard Sandiford Date: Mon, 31 Mar 2003 20:24:51 +0000 (+0000) Subject: * gcc.c-torture/execute/20030331-1.c: New test. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e66833ac07efec1f12f35de6e3694238dd8ff96f;p=gcc.git * gcc.c-torture/execute/20030331-1.c: New test. From-SVN: r65102 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index d70d3355e89..f2aca8542e8 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2003-03-31 Richard Sandiford + + * gcc.c-torture/execute/20030331-1.c: New test. + 2003-03-31 Nathan Sidwell * lib/gcov.exp: Adjust call return testing strings. diff --git a/gcc/testsuite/gcc.c-torture/execute/20030331-1.c b/gcc/testsuite/gcc.c-torture/execute/20030331-1.c new file mode 100644 index 00000000000..e5db36bf369 --- /dev/null +++ b/gcc/testsuite/gcc.c-torture/execute/20030331-1.c @@ -0,0 +1,13 @@ +/* From PR/9301. Fixed by ebotcazou's patch for PR/9493. */ + +void bar (void); + +void foo (int a, int b, int c, int d, int e) +{ + if (a) + bar(); + if (b && c) + ; + if (d && e) + ; +}