Commit Graph

2853 Commits

Author SHA1 Message Date
peter
cc4fed6303 * allow nil for class typed consts (merged) 2000-08-24 19:13:18 +00:00
peter
9adb938a0a * don't initialize if localvarsym is set because that varsym will
already be initialized
  * first initialize local data before copy of value para's (merged)
2000-08-24 19:07:54 +00:00
Jonas Maebe
475c7fab40 * fixed crash when using include/exclude with undeclared variable as
first parameter (merged from fixes branch)
2000-08-24 13:12:38 +00:00
Jonas Maebe
bd928ecf72 * fix for web bug #1112 and a bit of clean up in csopt386 (merged from
fixes branch)
2000-08-23 12:55:10 +00:00
pierre
f1bd579bf4 * fix the stabs problems 2000-08-21 11:27:44 +00:00
Jonas Maebe
ce32bae7fb - removed catch unit from uses clause for Linux (clashed with fpcatch
from IDE and is already in pp.pas for command line compiler) (merged
   from fixes branch)
2000-08-21 09:14:40 +00:00
peter
898e0c7de8 * smartlinking fixed for linux (merged) 2000-08-20 17:38:21 +00:00
peter
90fc8a53aa * auto derefence mode for array pointer (merged) 2000-08-20 15:12:49 +00:00
peter
d3aa211230 * don't allow pointer indexing in non-fpc modes
* array type required message instead of type mismatch (merged)
2000-08-20 15:05:45 +00:00
peter
8bd87aafd6 * don't allow forward class in separate type blocks for delphi (merged) 2000-08-20 15:01:17 +00:00
peter
c21d6d6871 * give fatal if objfpc/delphi mode things are found (merged) 2000-08-20 14:58:41 +00:00
peter
7f47dfe3cb * check size after checking openarray in push_value_para (merged) 2000-08-19 20:09:33 +00:00
peter
e2a243ff1c * fixed bug with comparing constsym strings 2000-08-19 19:51:03 +00:00
peter
9dc543c123 * new tdynamicarray implementation using blocks instead of
reallocmem (merged)
2000-08-19 18:44:27 +00:00
Jonas Maebe
c9de6bc568 * fixed a potential bug in destroyregs regarding the removal of
unused loads
  * added destroyDependingRegs() procedure and use it for the fix in
    the previous commit (safer/more complete than what was done before)
2000-08-19 17:53:29 +00:00
Jonas Maebe
3d38329899 * for all optimization levels > 1, all passes are done twice (the
result improves the most if -Or is used as well)
2000-08-19 09:10:08 +00:00
Jonas Maebe
441d9d137c * fixed bug where the contents of a register would not be destroyed
if another register on which these contents depend is modified
    (not really merged, but same idea as fix in fixes branch,
    LAST_MERGE tag is updated)
2000-08-19 09:08:59 +00:00
marco
606baed8e2 + Fixed cast tconstsym.value with tpointerord 2000-08-18 14:33:07 +00:00
pierre
28af0a7223 * restore next instead of indexnext field for dc local var in GetAbsProcParmDefStr 2000-08-18 13:18:12 +00:00
Jonas Maebe
0f02db341c * fix for web bug1099 (merged from fixes branch) 2000-08-18 10:09:13 +00:00
florian
60f46dcd29 * fixed several problems with the int64 constants 2000-08-17 12:03:48 +00:00
Jonas Maebe
10df99b121 * fixed crash when inlining assembler procedures with -Or 2000-08-17 11:07:51 +00:00
pierre
a39590e684 * fix go32v2 cycle problem 2000-08-17 09:17:19 +00:00
peter
7eaac1706d * splitted namedobjectitem.next into indexnext and listnext so it
can be used in both lists
  * don't allow "word = word" type definitions (merged)
2000-08-16 18:33:53 +00:00
florian
244fc53520 + support of 64 bit integer constants 2000-08-16 13:06:06 +00:00
michael
5eb17fe1c4 + Merged changes in fixbranch 2000-08-15 09:45:29 +00:00
peter
32bedb114d * integer constant -> integer para enhanced to search the best matching
procedure, just like delphi does (merged)
2000-08-15 03:43:24 +00:00
peter
b4c1794b34 * previous commit was wrong file :( 2000-08-15 03:41:27 +00:00
peter
626970373c * fix for absolute to mem address (merged) 2000-08-13 19:21:13 +00:00
peter
c11ee377bb * integer constant is equal with all integer type arguments (merged) 2000-08-13 14:53:32 +00:00
peter
25c495dd5a * put defaultpara values in parast and changed the name to
'def<Parameter name>'
2000-08-13 13:11:28 +00:00
peter
68283a4c62 * equal_paras now also checks default parameter value 2000-08-13 13:07:18 +00:00
peter
15aa7417a3 * store parast always for procdef (browser needs still update)
* add default parameter value to demangledpara
2000-08-13 13:06:37 +00:00
peter
0d881bb510 * new ppu version 2000-08-13 13:04:38 +00:00
peter
eadf85eee3 * -vb update 2000-08-13 13:04:15 +00:00
peter
cb4de797c1 * class member decl wrong then no other error after it
* -vb has now also line numbering
  * -vb is also used for interface/implementation different decls and
    doesn't list the current function (merged)
2000-08-13 12:54:53 +00:00
peter
6e00bdf39b * fixed fileseek() typo (merged) 2000-08-13 08:59:37 +00:00
peter
8352fb6d7d * support absolute refering to funcret (merged) 2000-08-13 08:42:59 +00:00
peter
122791efe7 * fixed typo in tsinglelist.clear (merged) 2000-08-13 08:41:57 +00:00
peter
34a42a439b * restore labels when error in except block (merged) 2000-08-13 08:41:07 +00:00
peter
8f20bd887d * ELF writer works now also with -g
* ELF writer is default again for linux
2000-08-12 19:14:58 +00:00
peter
bd6d4c3d17 * fixed bug #1096 (merged) 2000-08-12 15:41:15 +00:00
peter
cdbe6a1fa3 + usedasmsymbollist to check and reset only the used symbols (merged) 2000-08-12 15:34:21 +00:00
peter
2c58f511b0 * reference reading fix from Jonas (merged) 2000-08-12 15:32:02 +00:00
peter
fac523d7f6 * IDE patch for stream reading (merged) 2000-08-12 15:30:44 +00:00
florian
cd6180fe99 + case statement for int64/qword implemented 2000-08-12 06:46:06 +00:00
florian
797102a0a1 + type TConstExprInt added 2000-08-12 06:45:08 +00:00
peter
1bb6c695e7 * fixed for constants in emit_push_mem_size for go32v2 (merged) 2000-08-10 18:42:03 +00:00
Jonas Maebe
2a801fcd04 * reallocmem is now also used under Delphi (merged from fixes branch) 2000-08-10 12:20:44 +00:00
peter
b13477c647 * packenumfixed things so it compiles with 1.0.0 again 2000-08-09 19:49:44 +00:00