Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1239)

Unified Diff: gcc/gcc/testsuite/gcc.dg/Wunreachable-8.c

Issue 3050029: [gcc] GCC 4.5.0=>4.5.1 (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/nacl-toolchain.git
Patch Set: Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gcc/gcc/testsuite/gcc.dg/Wunreachable-7.c ('k') | gcc/gcc/testsuite/gcc.dg/array-10.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gcc/gcc/testsuite/gcc.dg/Wunreachable-8.c
diff --git a/gcc/gcc/testsuite/gcc.dg/Wunreachable-8.c b/gcc/gcc/testsuite/gcc.dg/Wunreachable-8.c
deleted file mode 100644
index 81254ba3b2a596f92ff65effeccb779faa67b9b6..0000000000000000000000000000000000000000
--- a/gcc/gcc/testsuite/gcc.dg/Wunreachable-8.c
+++ /dev/null
@@ -1,20 +0,0 @@
-/* { dg-do compile } */
-/* { dg-options "-O2 -Wunreachable-code" } */
-float Factorial(float X)
-{
- float val = 1.0;
- int k,j;
- for (k=1; k < 5; k++)
- {
- val += 1.0; /* { dg-bogus "will never be executed" "" { xfail *-*-* } } */
- }
- return (val); /* { dg-bogus "will never be executed" } */
-}
-
-int main (void)
-{
- float result;
- result=Factorial(2.1);
- return (0);
-}
-
« no previous file with comments | « gcc/gcc/testsuite/gcc.dg/Wunreachable-7.c ('k') | gcc/gcc/testsuite/gcc.dg/array-10.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698