* 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
* Re: New testcase
1998-04-01 16:53 New testcase Franz Sirl
@ 1998-04-05 17:27 ` Jeffrey A Law
1998-04-06 17:35 ` Franz Sirl
0 siblings, 1 reply; 4+ messages in thread
From: Jeffrey A Law @ 1998-04-05 17:27 UTC (permalink / raw)
To: Franz Sirl; +Cc: egcs, wilson
In message < v03130301b1488c443b5f@[195.180.235.87] >you write:
> --============_-1320644953==_============
> Content-Type: text/plain; charset="us-ascii"
>
> 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.
THanks. I added it to gcc.dg, which is better suited to handling
special options and the like.
Jeff
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: New testcase
1998-04-05 17:27 ` Jeffrey A Law
@ 1998-04-06 17:35 ` Franz Sirl
0 siblings, 0 replies; 4+ messages in thread
From: Franz Sirl @ 1998-04-06 17:35 UTC (permalink / raw)
To: law; +Cc: egcs, wilson
At 00:58 06.04.98 , Jeffrey A Law wrote:
>
> In message < v03130301b1488c443b5f@[195.180.235.87] >you write:
> > --============_-1320644953==_============
> > Content-Type: text/plain; charset="us-ascii"
> >
> > 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.
>THanks. I added it to gcc.dg, which is better suited to handling
>special options and the like.
I think there's a closing brace missing in the options for dg.exp in
switch-1.c. Does testing in this directory loop thru a lot of options as in
the special dir? If not, an additional -O2 is needed for the test to FAIL.
Franz.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: New testcase
[not found] <199804061533.IAA19138@cygnus.com>
@ 1998-04-08 2:13 ` Jeffrey A Law
0 siblings, 0 replies; 4+ messages in thread
From: Jeffrey A Law @ 1998-04-08 2:13 UTC (permalink / raw)
To: Franz Sirl; +Cc: egcs, wilson
In message <199804061533.IAA19138@cygnus.com>you write:
> At 00:58 06.04.98 , Jeffrey A Law wrote:
> >
> > In message < v03130301b1488c443b5f@[195.180.235.87] >you write:
> > > --============_-1320644953==_============
> > > Content-Type: text/plain; charset="us-ascii"
> > >
> > > 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.
> >THanks. I added it to gcc.dg, which is better suited to handling
> >special options and the like.
>
> I think there's a closing brace missing in the options for dg.exp in
> switch-1.c. Does testing in this directory loop thru a lot of options as in
> the special dir? If not, an additional -O2 is needed for the test to FAIL.
Thanks. Both problems have been fixed.
jeff
^ 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 --
1998-04-01 16:53 New testcase Franz Sirl
1998-04-05 17:27 ` Jeffrey A Law
1998-04-06 17:35 ` Franz Sirl
[not found] <199804061533.IAA19138@cygnus.com>
1998-04-08 2:13 ` Jeffrey A Law
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).