361 Commits

Author SHA1 Message Date
ceriel
0ac5bd7e39 generate more register messages 1988-04-26 15:33:48 +00:00
ceriel
12626e6e9e Initial revision 1988-04-26 14:33:11 +00:00
ceriel
e53a0da31e made epsd 1e-14 instead of 1e-17 1988-04-26 14:10:55 +00:00
ceriel
86ce362679 improved layout with varargs 1988-04-25 16:24:42 +00:00
ceriel
375b6fb802 improved layout 1988-04-25 16:17:29 +00:00
ceriel
ca8e3270fc fixed; va_end(list) should be va_end(ap) 1988-04-25 15:31:58 +00:00
ceriel
7586aabf7d generate scope info for functions 1988-04-25 12:55:25 +00:00
ceriel
94d38fc875 main should return value 1988-04-22 16:00:01 +00:00
ceriel
02b5135b96 corrected; did some shifts that have undefined result 1988-04-22 15:49:20 +00:00
ceriel
a484eb4ab4 improved comments; should now be understandable for anyone who knows EM 1988-04-21 10:08:56 +00:00
ceriel
841e7857ae improved setjmp 1988-04-20 16:58:29 +00:00
ceriel
2ccb9599fa rewritten setjmp: compiler now gives a bit more support 1988-04-20 15:33:17 +00:00
ceriel
f700e124ee new handling of setjmp; now pass return address 1988-04-20 15:28:10 +00:00
ceriel
8ed51b5ba7 Added id.sed 1988-04-18 10:23:45 +00:00
ceriel
ceaf1f8063 check for total size of locals and parameters 1988-04-15 17:25:01 +00:00
ceriel
d2ac30cbb3 Use varargs where needed 1988-04-15 15:07:51 +00:00
ceriel
3fb2794967 make to use varargs.h 1988-04-15 14:43:19 +00:00
ceriel
5bfe8b93f6 improved sbrk 1988-04-14 10:45:42 +00:00
ceriel
caa6a18b0d catch possibly occurring trap with stores in the HP 1988-04-11 12:51:22 +00:00
ceriel
d931764506 a minor mod 1988-04-07 15:35:48 +00:00
ceriel
36b3d648cb minor mod 1988-04-07 15:30:37 +00:00
ceriel
572cf756da Added id.sed 1988-04-07 15:02:12 +00:00
ceriel
127f43df4a fixed a problem with #ifdef/#else/#endif 1988-03-08 11:42:00 +00:00
ceriel
2b231f7815 Changed use of word_align: it now only indicates the alignment on
which word-operations are allowed to take place
1988-02-17 14:29:57 +00:00
ceriel
36b86a6b9a malloc now allows users to use sbrk too,
setjmp/longjmp now save/restore the signal mask on BSD 4.2 systems,
some minor mods in atof
1988-02-16 17:48:39 +00:00
ceriel
e5fd99d137 fixed: returned wrong value 1988-02-16 17:48:28 +00:00
ceriel
a74e933a03 made counting for register messages depending on a #define,
adapted makefile to make version with peephole optimizer library
1988-02-16 16:23:00 +00:00
ceriel
290210c560 fixed a bug with string-initializers 1988-01-25 16:14:01 +00:00
ceriel
03e1f5dc93 Added a test that at some point failed for the new CEMCOM 1988-01-19 11:45:43 +00:00
ceriel
629d6ff548 output of id.c was wrong 1988-01-12 15:56:42 +00:00
ceriel
5c232baf2f prevent a voluntary crash and generate better code 1988-01-11 14:06:20 +00:00
ceriel
cb22dd8e6a Added a test for casts 1987-12-04 12:53:18 +00:00
ceriel
913ee40148 changed typing of constants, to be more compatible with PCC
and future standard
1987-12-03 11:12:02 +00:00
ceriel
b1482d9a9f fixed a bug: casts to short or char did not work right 1987-11-23 13:48:09 +00:00
ceriel
dd899c79a1 %[...] did not work 1987-11-20 12:57:51 +00:00
ceriel
fa4a1f9f93 generate CSA for empty case statement, replaced an #ifdef that was on the wrong spot 1987-11-13 16:21:33 +00:00
ceriel
ae27ee29f6 print initializer expression before call to code_declaration 1987-11-04 16:30:02 +00:00
ceriel
1754a3d4a4 fixed some minor problems 1987-11-02 17:59:18 +00:00
ceriel
b99ed76626 fixed for very large numbers 1987-10-22 15:26:36 +00:00
ceriel
a30185cbeb increased buffer size 1987-10-22 14:07:54 +00:00
ceriel
a3cc42780c replace 10 by 10.0, so that the conversion is not done at runtime 1987-10-22 13:58:48 +00:00
ceriel
70e30790ea increased buffer size, check for end 1987-10-22 13:35:05 +00:00
ceriel
6dc819dd38 fixed some problems: ADS was generated with size > pointer_size;
some (most) backends dont implement that.
Unstacking of macros did not quite work properly, but I dont know why
1987-10-20 09:36:34 +00:00
ceriel
5cdd696646 Some minor adaptions 1987-10-15 12:59:03 +00:00
ceriel
fee5dad579 fixed some bugs:
- switch with BIG difference between lower and upper now handled correctly
- made sure an added error production is never chosen as the default one
- don't allow AUTO as specification for a parameter
1987-10-05 10:17:44 +00:00
ceriel
f571ee5f0e brk must return pointer size 1987-09-02 14:54:32 +00:00
ceriel
539a215863 previous fix was wrong; added another 1987-09-02 12:52:44 +00:00
ceriel
04b0d45c13 yet another fix in freopen: re-opening for reading did not work properly 1987-09-02 12:43:23 +00:00
ceriel
2528d0646c dont count when USE_TMP is not defined 1987-09-01 10:41:35 +00:00
ceriel2
ac2fd78191 fix for statics in nested blocks 1987-08-28 09:56:00 +00:00