summaryrefslogtreecommitdiff
path: root/gcc/omega.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/omega.c')
-rw-r--r--gcc/omega.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/gcc/omega.c b/gcc/omega.c
index aee99e72a84..1717f8e4524 100644
--- a/gcc/omega.c
+++ b/gcc/omega.c
@@ -181,24 +181,6 @@ omega_no_procedure (omega_pb pb ATTRIBUTE_UNUSED)
void (*omega_when_reduced) (omega_pb) = omega_no_procedure;
-/* Compute the greatest common divisor of A and B. */
-
-static inline int
-gcd (int b, int a)
-{
- if (b == 1)
- return 1;
-
- while (b != 0)
- {
- int t = b;
- b = a % b;
- a = t;
- }
-
- return a;
-}
-
/* Print to FILE from PB equation E with all its coefficients
multiplied by C. */