public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* New testcase
@ 1998-04-01 16:53 Franz Sirl
  1998-04-05 17:27 ` Jeffrey A Law
  0 siblings, 1 reply; 4+ messages in thread
From: Franz Sirl @ 1998-04-01 16:53 UTC (permalink / raw)
  To: egcs

[-- Attachment #1: Type: text/plain, Size: 1241 bytes --]

Hi,

this is my first testcase and I hope I did it correct. It's Geoff Keating's
test for correct case folding. It FAIL's on powerpc-unknown-linux-gnu and
probably some other platforms.

Bye,
Franz.



Index: special.exp
===================================================================
RCS file:
/egcs/carton/cvsfiles/egcs/gcc/testsuite/gcc.c-torture/special/special.exp,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 special.exp
--- special.exp	1997/08/19 07:36:12	1.1.1.1
+++ special.exp	1998/04/01 20:45:01
@@ -34,6 +34,9 @@

 ################## ADD NEXT CASE HERE (NOT AT THE END) ##################

+# switch-1
+c-torture switch-1.c "-fpic"
+
 # 921210-1
 set lines [gcc_target_compile $srcdir/$subdir/921210-1.c "" preprocess ""]
 set lines [split [prune_warnings [prune_gcc_output $lines]] "\n"]
Index: switch-1.c
===================================================================
RCS file:
/egcs/carton/cvsfiles/egcs/gcc/testsuite/gcc.c-torture/special/switch-1.c,v
--- /dev/null	Tue Jan  1 05:00:00 1980
+++ switch-1.c	Sun Mar 22 18:03:03 1998
@@ -0,0 +1,15 @@
+void f (char *s)
+{
+  for (;;)
+    {
+      int t = 6;
+      switch (t)
+	{
+	case 2:
+	  *s = '2';
+	case 6: case 4: case 3: case 1:
+	  break;
+	}
+    }
+}
+

[-- Attachment #2: %fra8.patch --]
[-- Type: application/octet-stream, Size: 120 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1998-04-08  2:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <199804061533.IAA19138@cygnus.com>
1998-04-08  2:13 ` New testcase Jeffrey A Law
1998-04-01 16:53 Franz Sirl
1998-04-05 17:27 ` Jeffrey A Law
1998-04-06 17:35   ` Franz Sirl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).