projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1aa8bf8
)
* cppexp.c (parse_number): Cleanup some Cygnus crud for MPW.
author
Per Bothner
<bothner@gcc.gnu.org>
Fri, 12 May 1995 02:18:36 +0000
(19:18 -0700)
committer
Per Bothner
<bothner@gcc.gnu.org>
Fri, 12 May 1995 02:18:36 +0000
(19:18 -0700)
From-SVN: r9634
gcc/cppexp.c
patch
|
blob
|
history
diff --git
a/gcc/cppexp.c
b/gcc/cppexp.c
index e35690c41646f9ea30cf6ecd1ef600d326ce7c15..8e65a95274a3a45cc87b558b746c447b8beab776 100644
(file)
--- a/
gcc/cppexp.c
+++ b/
gcc/cppexp.c
@@
-182,13
+182,8
@@
parse_number (pfile, start, olen)
else if (*p == '0')
base = 8;
- ULONG_MAX_over_base = (unsigned long) -1 / base;
-/* start-sanitize-mpw */
- /* Work around yet another MPW C bug. */
-#ifdef MPW_C
+ /* Some buggy compilers (e.g. MPW C) seem to need both casts. */
ULONG_MAX_over_base = ((unsigned long) -1) / ((unsigned long) base);
-#endif /* MPW_C */
-/* end-sanitize-mpw */
for (; len > 0; len--) {
c = *p++;