George Koehler
9037d137f5
Add prototypes, void in util/ego/share
...
This uncovers a problem in il/il_aux.c: it passes 3 arguments to
getlines(), but the function expects 4 arguments. I add FALSE as the
4th argument. TRUE would fill in the list of mesregs. IL uses
mesregs during phase 1, but this call to getlines() is in phase 2.
TRUE would leak memory unless I added a call to Ldeleteset(mesregs).
So I pass FALSE.
Functions passed to go() now have a `void *` parameter because
no_action() now takes a `void *`.
2017-11-15 17:19:56 -05:00
George Koehler
5bbbaf4919
Use size_t and void with memory allocation in ego.
...
alloc.h now needs to #include <stdlib.h> to find type size_t and
function free().
2017-11-14 20:35:18 -05:00
George Koehler
87a2315037
strcmp, strncmp are in <string.h>
...
*Important:* Do `make clean` to work around a problem and prevent
infinite rebuilds, https://github.com/davidgiven/ack/issues/68
I edit tokens.g in util/LLgen/src, so I regenerate tokens.c. The
regeneration script bootstrap.sh can't find LLgen, but I can run the
same command by typing the path to llgen.
2017-11-14 17:35:35 -05:00
David Given
fd91851005
Add enough return types to the K&R C that the ACK builds (on Linux) using clang
...
now.
2016-11-10 22:04:18 +01:00
David Given
f67c98e239
Distributions are a pain --- let's not bother any more. Instead, we just tag
...
the repository and download a complete snapshot, old and ancient stuff and all.
2016-09-02 23:00:38 +02:00
David Given
612e38f1c6
Remove the old make-based build system, plus some big chunks of horribly
...
obsolete protomake build system.
2016-09-02 22:17:51 +02:00
David Given
e9233b4712
Build ego.
...
--HG--
branch : dtrg-buildsystem
rename : util/arch/build.mk => util/ego/build.mk
2013-05-15 21:14:06 +01:00
George Koehler
0131ca4d46
Delete 689 undead files.
...
These files "magically reappeared" after the conversion from CVS to
Mercurial. The old CVS repository deleted these files but did not
record *when* it deleted these files. The conversion resurrected these
files because they have no history of deletion. These files were
probably deleted before year 1995. The CVS repository begins to record
deletions around 1995.
These files may still appear in older revisions of this Mercurial
repository, when they should already be deleted. There is no way to fix
this, because the CVS repository provides no dates of deletion.
See http://sourceforge.net/mailarchive/message.php?msg_id=29823032
2012-09-20 22:26:32 -04:00
dtrg
b611731ec3
Updated .distr files for the new release.
2007-02-25 12:51:55 +00:00
dtrg
f371b251d2
Rationalised use of #includes to be more standards-compliant.
2006-07-22 00:46:16 +00:00
ceriel
911b0a43d8
Fix: never replace LAR/SAR by AAR LOI/STI if descriptor is not in ROM
1995-03-17 12:32:47 +00:00
ceriel
5c83e7dbb5
Header --> Id
1994-06-24 11:31:16 +00:00
ceriel
938bbb9ce8
Fix evaluation order problem
1992-07-21 11:23:24 +00:00
ceriel
45d0d9f68f
Removed # in commands
1992-06-26 12:54:57 +00:00
ceriel
168634cd0b
Do not use '#endif/#else xxx'; it is not allowed for ANSI C
1991-12-17 15:49:18 +00:00
ceriel
df1ed9426d
Do not use '#endif/#else xxx'; it is not allowed for ANSI C
1991-12-17 15:28:58 +00:00
ceriel
35dc8e74d0
Improved lint entry
1991-10-29 09:26:01 +00:00
ceriel
2b7aae3b44
Added support for volatile
1991-10-02 13:03:31 +00:00
ceriel
d9f98bc411
New installation mechanism
1991-08-27 10:18:09 +00:00
ceriel
e264b45120
Changed #include's
1991-03-05 12:16:17 +00:00
ceriel
2c31a9b1ac
removed -i flag
1991-02-19 16:51:50 +00:00
ceriel
2fbdc5447a
Changed types in core allocation routines, changed lint flags
1990-12-17 13:15:03 +00:00
ceriel
eab3243973
dumped core on SIM instruction
1990-07-19 10:00:02 +00:00
ceriel
6266743c4c
static links are not considered read-only anymore
1989-05-30 10:44:34 +00:00
ceriel
86ace8a020
Fixed lintflags
1989-02-09 11:33:11 +00:00
ceriel
f78b282fb4
FIX: did not handle most of the 'end of basic block' instructions right;
...
many of them have effect on the stack, and this went by unnoticed
1988-09-07 09:20:37 +00:00
ceriel
83a22b318c
handle SLU like SLI
1988-06-22 11:31:45 +00:00
ceriel
f892470f88
when checking for array computations with SLI, also check at the ADS!
1988-06-21 16:49:52 +00:00
ceriel
e8f4e47da5
better info for SLI
1988-06-21 16:10:19 +00:00
ceriel
7f5c3ac4f6
made reading of list from description file a bit more general
1988-06-21 15:31:51 +00:00
ceriel
860230a837
lay-out fix
1988-06-21 15:20:01 +00:00
ceriel
b90cc5ceb9
make it more K&R C
1988-01-13 11:06:06 +00:00
ceriel
102a2b1061
don't optimize when ms_gto
1987-10-02 12:52:29 +00:00
ceriel
d2006b19af
do not replace LAR/SAR by AAR LOI/STI, when the descriptor is not available
1987-10-02 10:48:38 +00:00
ceriel
6cdc7b47cf
OUTTRACE was doubly defined
1987-08-06 14:29:16 +00:00
ceriel
81b1d21c35
Initial revision
1987-04-13 10:32:47 +00:00
ceriel
a6b6375985
Don't switch on longs!
1987-03-17 11:12:09 +00:00
ceriel
6eaf182cee
Added Rcs Id
1987-03-10 11:49:39 +00:00
ceriel
815166e421
Added copyright notice
1987-03-09 19:15:41 +00:00
ceriel
bc1fb58cd6
SHARE --> SHR
1987-03-02 12:42:38 +00:00
ceriel
17ddf81681
replaced some %D's
1987-02-09 17:28:22 +00:00
ceriel
876369b2f1
Added standard entries
1987-01-13 10:30:06 +00:00
bal
b48d45c38d
increased STACK_DEPTH from 50 to 250
1986-02-10 11:04:33 +00:00
bal
c478b62711
bug fixed in kill_much():
...
for ( .. ; i != (Lindex) i; .. ) should be
for ( .. ; i != (Lindex) 0; .. ).
1985-02-28 10:35:57 +00:00
bal
5cad6f6aa7
interface with tmplocal() changed: second parameter is a long now.
1985-01-23 16:18:33 +00:00
bal
e46c49e291
bug fixed in get_instrs(): instr should be an int rather than a Celem_t.
1985-01-23 16:16:49 +00:00
bal
ffb167e8b2
lay-out enhanced; flags (CFLAGS etc.) inherited from central Makefile;
...
entry for compiling this phase with ack -O created.
1984-12-21 14:41:47 +00:00
bal
9019141137
Bug fixed in optimizing two adjacent basic blocks.
1984-12-07 14:19:53 +00:00
bal
b532117b2b
-O flag removed
1984-11-29 16:25:08 +00:00
bal
f01e1431b0
Initial revision
1984-11-26 14:07:17 +00:00