This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Installed testcase from 9301


I've installed this test case as obvious.  It was fixed by Eric
Botcazou's ptach for 9493, but (at least cosmetically) it seemed
different enough to be worth having as a separate test.

I installed it in the wrong directory first time, sorry.

Richard


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

Index: testsuite/gcc.c-torture/execute/20030331-1.c
===================================================================
RCS file: testsuite/gcc.c-torture/execute/20030331-1.c
diff -N testsuite/gcc.c-torture/execute/20030331-1.c
*** /dev/null	1 Jan 1970 00:00:00 -0000
--- testsuite/gcc.c-torture/execute/20030331-1.c	31 Mar 2003 20:23:28 -0000
***************
*** 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)
+     ;
+ }


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]