Commit graph

39 commits

Author SHA1 Message Date
ceriel 929a0025ca Do not use '#endif/#else xxx'; it is not allowed for ANSI C 1991-12-17 14:11:15 +00:00
ceriel 2782412b59 Fix: did generate wrong code for 'if (x && 0) ...' 1990-03-29 11:19:36 +00:00
ceriel 63e64680bd Added some code to reverse evaluation order of assignment operators when possible 1990-02-28 12:18:36 +00:00
ceriel 788788edc0 improvements for the , (comma) operator 1989-10-23 13:45:19 +00:00
ceriel b1c3d1bc53 fixed problem with void returns and changed a warning somewhat 1989-06-15 19:06:56 +00:00
ceriel 4629647d78 fixed wrong count in popping parameters 1989-02-14 14:10:31 +00:00
dick f70dfe4d00 better evaluation order checking in expressions 1989-02-02 13:57:07 +00:00
ceriel cc55ab947d evaluate switch-expression on a different spot,
allow for *STRING expressions
1989-01-23 15:37:57 +00:00
dick 6839d8afb1 introduction of lint source code, governed by ifdef LINT 1988-09-20 16:44:27 +00:00
dick 1f7115fa8d error messages and error handling 1988-09-16 23:19:50 +00:00
dick 1a6665e21d initial small modifications for lint 1988-08-19 13:55:22 +00:00
ceriel e1cb398e02 made to fit on PDP-11 1988-07-05 18:06:00 +00:00
ceriel 8781ada304 generate more register messages 1988-04-26 15:33:48 +00:00
ceriel ae50580eff new handling of setjmp; now pass return address 1988-04-20 15:28:10 +00:00
ceriel d04dce377a 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 867232a244 fixed some minor problems 1987-11-02 17:59:18 +00:00
ceriel a24c90f5a9 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 0619d27b8d use new C_insertpart mechanism, other minor changes 1987-07-16 13:27:37 +00:00
ceriel 09125cce6b redesign of ival, other minor changes 1987-03-25 23:14:43 +00:00
ceriel 07f5d3cce4 Fixed a bug with line-directives, added copyright notice 1987-03-10 17:51:10 +00:00
ceriel 3a91ff6da5 renamed a parameters because a local had the same name 1987-02-24 15:41:16 +00:00
ceriel ca1655c25e bug fixes:
- assignment operators for bit fields were wrong
- some conversions for characters were wrong
- result of assignment operator sometimes had wrong size
- character constant \377 was 255, not -1
- string constant generation was clumsy
1987-02-23 13:08:54 +00:00
ceriel ad72edfa49 many changes: fixes and efficiency-oriented 1987-02-09 23:19:42 +00:00
ceriel 493efb1bf7 added EX_SIDEEFFECTS, options['p'] --> ! options['L'], fixed some bugs 1987-01-14 09:58:51 +00:00
ceriel ad40a77afd handle void properly, avoid 0-alignments, handle #if defined(..) 1986-12-01 10:00:23 +00:00
erikb ed106b7feb removed the debug message for encountering STRING-type Values 1986-11-12 09:55:28 +00:00
erikb 5af21dfc79 modified the treatment of op=, ++ and -- operators 1986-09-29 14:01:34 +00:00
erikb c967d1ab3a put heavily used pointer variables in registers 1986-09-24 13:53:16 +00:00
erikb c6a51a39f0 built in the compile time flag NOFLOAT to get rid of the float stuff 1986-09-12 09:16:07 +00:00
erikb ecf5219493 corrected the treatment of the <<= and >>= operators 1986-09-10 10:23:26 +00:00
erikb a7e97524e4 revised the treatment of "e op= f" expression 1986-08-13 10:05:39 +00:00
erikb 66c571d217 revised the administration of Value expressions 1986-04-02 08:37:17 +00:00
erikb e8505e4434 introduced the string(3L) module 1986-03-26 16:58:43 +00:00
erikb 80155f7b4c introduced the em_code(3L) and em_mes(3L) modules 1986-03-25 16:40:43 +00:00
dick 5880700ab4 some long lines split 1986-03-17 17:47:04 +00:00
dick c80f2c0817 improved error reporting for initialization expressions
miscellaneous changes
1986-03-14 16:15:16 +00:00
erikb 6e53274b6a simplified the EM con/rom functions (86/03/13) 1986-03-13 13:27:44 +00:00
erikb 43e75cec60 renamed some EM code functions according to the 86/03/11 EMCODE definition 1986-03-11 15:21:30 +00:00
erikb bc296e2dcc *** empty log message *** 1986-03-10 13:07:55 +00:00