* [Committed] Fix gcc.dg/sms-antideps.c, missing return
@ 2007-08-06 2:24 Andrew Pinski
0 siblings, 0 replies; only message in thread
From: Andrew Pinski @ 2007-08-06 2:24 UTC (permalink / raw)
To: gcc-patches
[-- Attachment #1: Type: text/plain, Size: 353 bytes --]
Hi,
gcc.dg/sms-antideps.c is missing a return which causes this testcase
to fail in some cases.
This patch adds a "return 0" so it will not fail when it really was passing.
Committed after a test on i686-apple-darwin8.10 (where I saw it was failing).
Thanks,
Andrew Pinski
ChangeLog:
* gcc.dg/sms-antideps.c: Add a "return 0" to the end of main.
[-- Attachment #2: fixsmsantideps.diff.txt --]
[-- Type: text/plain, Size: 278 bytes --]
Index: gcc.dg/sms-antideps.c
===================================================================
--- gcc.dg/sms-antideps.c (revision 127226)
+++ gcc.dg/sms-antideps.c (working copy)
@@ -31,6 +31,7 @@ main ()
unsigned long long res;
res = foo (3, 4);
+ return 0;
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-08-06 2:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-08-06 2:24 [Committed] Fix gcc.dg/sms-antideps.c, missing return Andrew Pinski
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).