summaryrefslogtreecommitdiff
path: root/usr.bin/pcc/pdp10/local2.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/pcc/pdp10/local2.c')
-rw-r--r--usr.bin/pcc/pdp10/local2.c14
1 files changed, 11 insertions, 3 deletions
diff --git a/usr.bin/pcc/pdp10/local2.c b/usr.bin/pcc/pdp10/local2.c
index 66f20913c19..b10ccc08ce4 100644
--- a/usr.bin/pcc/pdp10/local2.c
+++ b/usr.bin/pcc/pdp10/local2.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: local2.c,v 1.2 2007/11/16 09:00:13 otto Exp $ */
+/* $OpenBSD: local2.c,v 1.3 2007/12/22 13:13:06 stefan Exp $ */
/*
* Copyright (c) 2003 Anders Magnusson (ragge@ludd.luth.se).
* All rights reserved.
@@ -1101,11 +1101,11 @@ optim2(NODE *p)
m = BTYPE(p->n_type);
ml = BTYPE(l->n_type);
if ((m == INT || m == LONG || m == LONGLONG || m == FLOAT ||
- m == DOUBLE || m == STRTY || m == UNIONTY || m == ENUMTY ||
+ m == DOUBLE || m == STRTY || m == UNIONTY ||
m == UNSIGNED || m == ULONG || m == ULONGLONG) &&
(ml == INT || ml == LONG || ml == LONGLONG || ml == FLOAT ||
ml == DOUBLE || ml == STRTY || ml == UNIONTY ||
- ml == ENUMTY || ml == UNSIGNED || ml == ULONG ||
+ ml == UNSIGNED || ml == ULONG ||
ml == ULONGLONG) && ISPTR(l->n_type)) {
*p = *l;
nfree(l);
@@ -1299,3 +1299,11 @@ COLORMAP(int c, int *r)
comperr("COLORMAP");
return 0; /* XXX gcc */
}
+
+/*
+ * Target-dependent command-line options.
+ */
+void
+mflags(char *str)
+{
+}