projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9abbaac
)
new test from egcs-bug archives.
author
Jeff Law
<law@gcc.gnu.org>
Tue, 14 Oct 1997 17:35:26 +0000
(11:35 -0600)
committer
Jeff Law
<law@gcc.gnu.org>
Tue, 14 Oct 1997 17:35:26 +0000
(11:35 -0600)
From-SVN: r15895
gcc/testsuite/g77.f-torture/compile/971014-1.f
[new file with mode: 0644]
patch
|
blob
diff --git a/gcc/testsuite/g77.f-torture/compile/971014-1.f
b/gcc/testsuite/g77.f-torture/compile/971014-1.f
new file mode 100644
(file)
index 0000000..
1d95d52
--- /dev/null
+++ b/
gcc/testsuite/g77.f-torture/compile/971014-1.f
@@ -0,0
+1,12
@@
+C
+C RND - Return a random integer mod n
+C
+ INTEGER FUNCTION RND (N)
+ IMPLICIT INTEGER (A-Z)
+ REAL RAND
+ COMMON /SEED/ RNSEED
+
+ RND = RAND(RNSEED)*FLOAT(N)
+ RETURN
+
+ END