florian
ac880214fc
* fixed passing function results to const formal defs, see tbs/tb0490.pp
...
git-svn-id: trunk@56 -
2005-05-21 20:44:04 +00:00
florian
8994c6362c
* arrays now use the native int type as index
...
git-svn-id: trunk@48 -
2005-05-21 14:48:15 +00:00
fpc
790a4fe2d3
* log and id tags removed
...
git-svn-id: trunk@42 -
2005-05-21 09:42:41 +00:00
florian
c044221818
* fixed alignment of objects and arrays in arrays, fixes bug #3971
...
git-svn-id: trunk@39 -
2005-05-21 07:39:44 +00:00
peter
c8dccad8d3
* create dirs before compiling msg2inc
...
git-svn-id: trunk@22 -
2005-05-18 20:41:14 +00:00
fpc
aabbd3c7df
* property svn:eol-style: native set
...
git-svn-id: trunk@16 -
2005-05-18 16:16:11 +00:00
florian
f949a53da8
* format(%u",[<qword>]); fixed
...
* made test working
git-svn-id: trunk@13 -
2005-05-17 22:27:53 +00:00
florian
d4194bce53
* array of const for currency, classes and interfaces fixed
...
git-svn-id: trunk@11 -
2005-05-17 21:17:35 +00:00
peter
b68af1b0e3
* post 2.0.0 fixes from cvs
...
git-svn-id: trunk@7 -
2005-05-16 20:59:02 +00:00
peter
0c5e32ccff
* 2.1.1
...
git-svn-id: trunk@5 -
2005-05-16 20:17:53 +00:00
fpc
50778076c3
initial import
...
git-svn-id: trunk@1 -
2005-05-16 18:37:41 +00:00
peter
41701b0811
* test
2005-05-14 16:18:37 +00:00
peter
f1a5c4e099
* 2.0.1
2005-05-14 16:17:00 +00:00
olle
5d05584a8e
* Fix small issue for link script
2005-05-14 12:15:18 +00:00
Tomas Hajny
5f59b0f6b9
* fix for SIGSEGV due to access to uninitialized pointers in TList
2005-05-12 21:40:42 +00:00
marco
fd8927391f
* typo fixed
2005-05-08 19:56:59 +00:00
florian
09b0fe36fb
+ made variant publishable
2005-05-07 16:43:02 +00:00
florian
d1e6934a5b
* better exception catching
2005-05-06 18:54:26 +00:00
florian
83ac6eeaad
* 32 -> 64 bit cross compilation fixed
2005-05-06 17:02:52 +00:00
florian
736d8fa666
* write nil into the method table for abstract methods
2005-05-05 21:09:10 +00:00
florian
83fa3bd0cb
+ output of supported instruction sets in info page
2005-05-05 14:53:55 +00:00
florian
e7abf182c2
+ added -Cp to option page
2005-05-05 14:52:50 +00:00
peter
6cf4eb98c3
* use current fpcmake instead of from 1.9.8
2005-05-05 13:28:47 +00:00
peter
68dbbb1e25
* move end description for latex
2005-05-05 13:10:07 +00:00
peter
7dadd64723
* 2.0.0
2005-05-05 12:59:59 +00:00
michael
03e265c4b2
+ Patch from Christian Iversen to fix defined() macro command
2005-05-02 18:44:00 +00:00
michael
f39de307c5
+ Back to 1.9.9 for snapshot generation
2005-04-28 20:19:31 +00:00
michael
e3d96a5697
* version 2.0.0
2005-04-28 20:17:21 +00:00
florian
f6442b758c
* overloading of assignment operator by different unique result types now possible
2005-04-28 19:32:11 +00:00
olle
a0f2467298
* Made compile on macos
2005-04-28 19:27:12 +00:00
marco
8ab7863982
* $GCSECTIONS also added to else case
2005-04-27 21:47:08 +00:00
marco
174b729874
* tf_smartlink_sections and some shared lib pull-ups from t_linux
2005-04-27 14:47:54 +00:00
Károly Balogh
f57803d67a
* static linking fixes
2005-04-25 15:58:59 +00:00
peter
3c6d74c4d9
* extended stabs use size of 10
2005-04-25 13:15:18 +00:00
florian
0811184277
+ pic code reading for the assembler readers
...
* loadaddr generates pic code as well now
2005-04-25 09:51:07 +00:00
peter
5db9200128
decr refcnt for out paras
2005-04-25 09:41:28 +00:00
peter
f11458e457
allow gettting the address of read-only typedconsts
2005-04-25 08:59:07 +00:00
peter
c1f4f09911
longword-longword gives int64
2005-04-25 08:29:00 +00:00
peter
29bffd83b2
reset compiling_module in doneparser
2005-04-25 08:15:17 +00:00
peter
1376258f03
* use comphook for fpc exceptions
2005-04-24 21:21:10 +00:00
peter
9843416e70
* always use exceptions to stop the compiler
...
- remove stop, do_stop
2005-04-24 21:01:37 +00:00
florian
acee3f0dbb
+ more module flags added
2005-04-24 20:00:57 +00:00
Jonas Maebe
f2861fb260
* fixed deletefile -> removefile
2005-04-23 19:42:54 +00:00
Tomas Hajny
b4304d6fe1
* DeleteFile replaced with RemoveFile to avoid duplicate
2005-04-23 14:15:58 +00:00
Jonas Maebe
66755db8b4
* fixed web bug #3905
2005-04-22 15:55:08 +00:00
florian
2bbc4601c3
* update from jordi
2005-04-20 08:13:25 +00:00
peter
2d62e884c8
* only give warnings for uninitialized variables in low()/high()
...
if the value is calculated at runtime
2005-04-15 15:50:18 +00:00
peter
9db3d9e07c
* -Fe on commandline redirects now all output
2005-04-15 15:43:54 +00:00
florian
b077b506d3
* another update by Ido
2005-04-10 08:11:14 +00:00
peter
88681a14c7
support string[index] for const/var assignment
2005-04-08 15:18:32 +00:00
peter
1b41aad3a0
remove multiple pass2 calls. It is not supported anymore by all nodes (ttempcreatenode)
2005-04-08 15:18:08 +00:00
peter
68ac3b0ab2
remove forcing of non-regvar for left node when converting to non-regvar
2005-04-08 15:16:37 +00:00
peter
41c253b65d
* during spilling only add deallocs to live_registers that belong
...
to the instruction
2005-04-07 16:25:05 +00:00
peter
e207c402fc
* only in EXTDEBUG leave register allocator when it fails. Otherwise
...
give an IE
2005-04-07 15:42:04 +00:00
florian
e33bf907d8
* fixed previous commit
2005-04-06 19:39:04 +00:00
florian
1f4e15705c
* hidden parameters can be put now in registers as well
2005-04-06 19:09:39 +00:00
michael
55e76063df
* Fix methodpointer copy from callnode to loadnode
2005-04-06 11:49:37 +00:00
michael
3e54552235
+ * fix constant folding for string+char (from Peter)
2005-04-06 07:31:51 +00:00
peter
521b7cfa3b
* load all complex loads of parameters that are needed multiple times
...
to a temp to prevent calling functions twice
2005-04-05 21:07:43 +00:00
peter
50bbe3c205
* support typecasting a ordinal const to 8 byte record. a_param_loc
...
can't be used. Instead force the location to memory so it uses
a_param_ref
2005-04-05 21:06:44 +00:00
peter
218930cf11
* support open array to pointer
2005-04-04 16:30:07 +00:00
peter
494e190694
* fix register allocation in second_assert
2005-04-04 16:04:47 +00:00
florian
c5c6df8237
* class ref. properties can be published now
2005-04-03 15:20:42 +00:00
olle
f60d0b98b7
* Bugfix
2005-04-03 08:48:58 +00:00
marco
8d69beb6ef
* from peter for bug #3862
2005-04-01 07:12:29 +00:00
olle
afdcfb08ce
* Disabled warning for undefined compile time var in mode macpas, since it did not work.
2005-03-28 21:34:36 +00:00
peter
a96693cee1
support (wide)char to pwidechar
2005-03-28 15:19:18 +00:00
peter
e71066495c
fix type of temps generated for parameters during inlining
2005-03-28 15:05:17 +00:00
peter
6e3d03da7e
valid_property is only used for calln. Fields are always allowed
2005-03-28 15:04:40 +00:00
peter
3446cb0f2f
fix loading of inline info
2005-03-28 15:04:13 +00:00
florian
10df6ea0a2
* fpc_variant_get call fixed
2005-03-28 14:14:52 +00:00
florian
a680ccb389
+ variants are now assigned using fpc_variant_copy
2005-03-28 13:36:15 +00:00
peter
12283206d1
named sections for intf wrappers
2005-03-28 13:10:22 +00:00
florian
252fa84c62
+ compiler support for reading/writing of vararrays
2005-03-27 20:19:21 +00:00
Jonas Maebe
bfa2301575
* const record parameters > 8 bytes are now passed by reference for non
...
cdecl/cppdecl procedures on Mac OS/Mac OS X to fix compatibility with
GPC (slightly more efficient than Metrowerks behaviour below, but
less efficient in most cases than our previous scheme)
+ "mwpascal" procedure directive to support the const record parameter
behaviour of Metrowerks Pascal, which passes all const records by
reference
2005-03-27 14:10:52 +00:00
Jonas Maebe
6578fb25bb
- removed unused variables
2005-03-25 23:03:04 +00:00
peter
3f9d6ab32f
* add hint when passing an uninitialized variable to a var parameter
2005-03-25 22:20:18 +00:00
Jonas Maebe
a5c94ddccd
* removed some unused variables
2005-03-25 21:55:43 +00:00
Jonas Maebe
9fc51ed8f0
* terrornode.create -> cerrornode.create
2005-03-25 21:46:06 +00:00
Jonas Maebe
0b3003fb78
- removed unused variables
2005-03-25 21:22:30 +00:00
Jonas Maebe
bb27e8b024
* fixeed uninitialised variable
...
- removed unused local variables
2005-03-25 21:21:30 +00:00
peter
bd34e0dd69
* don't remove repeat until node in repeat until true;
2005-03-24 23:06:43 +00:00
florian
409eec37c3
* small compilation fix
2005-03-24 13:30:17 +00:00
olle
878c56bad6
* Cleaned up handling of source file extension.
...
+ Added support for .p extension for macos and darwin
2005-03-20 22:36:45 +00:00
florian
1323b56132
* USECMOV activated
2005-03-20 21:41:29 +00:00
florian
33ec5d49c5
* USECMOV fixed
2005-03-20 21:41:10 +00:00
peter
5452cccaad
* fix spilling code when explicit cpu registers are used in an
...
instruction
2005-03-20 19:47:46 +00:00
olle
7cb6368f12
* Support for pascal constant expr in compile time expr, is now only allowed in mode Delphi
...
+ Warning for undefined compile time var in mode macpas
* Support for some turbo directives in mode macpas
* Support for Metrowerks style DEFINED xxx
2005-03-20 18:13:34 +00:00
peter
ae0eb8d607
don't check size differences for booleans
2005-03-18 16:41:27 +00:00
michael
efbc08d4b2
+ Patch from peter to fix overload directive cheking in delphi mode
2005-03-17 09:08:54 +00:00
peter
dbcfe36b70
* check parameters of str() better
2005-03-16 21:24:43 +00:00
peter
e250290e57
* allow property in objects in all modes except tp
2005-03-16 21:09:22 +00:00
peter
20ad7813c2
* fix empty varargs codegeneration for x86_64
2005-03-14 20:18:46 +00:00
peter
a82ee06691
* for methodpointers compare only proc field
2005-03-14 20:18:22 +00:00
peter
aee4b7bcf7
* also set intsize for paralocs written to ppu
2005-03-14 15:59:18 +00:00
florian
0cd81efba7
+ storing non-extended floats to memory generates now a fwait to get exceptions at the correct place
2005-03-13 17:15:26 +00:00
florian
b068bfbfc4
+ reset in InitSymtable some global vars to avoid trouble with the ide
2005-03-13 12:15:44 +00:00
florian
0ef8431a3f
+ made @(<formaldef>) assignment compatible with all pointer types
2005-03-13 11:42:48 +00:00
florian
6601ef0ca8
+ gpc mode uses tp_procvars
2005-03-13 11:27:52 +00:00
florian
7b56e65a4b
* fixed FieldAddress for 64 bit and CPUs requiring proper alignment
2005-03-13 08:34:58 +00:00
florian
737a81f30b
+ array -> dyn. array type cast
2005-03-11 21:55:43 +00:00
florian
08b1126467
* jordi: initial release, based on 1.119 errore.msg
2005-03-10 10:38:32 +00:00
peter
4794119dd3
movzx,movsx don't support memory destinations
2005-03-10 00:27:04 +00:00
peter
5ed8259ff6
don't allow overloading orddef,enumdef.floatdef for unary operators
2005-03-10 00:15:20 +00:00
peter
d24397b6e6
support external <dllname>; also for variables
2005-03-09 23:44:18 +00:00
peter
96d7cbeddc
put intf wrappers in code section
2005-03-09 22:37:24 +00:00
florian
6f86fd170d
* janio: synched with errore.msg 1.120
2005-03-07 19:52:29 +00:00
peter
09b85c2df2
* explicit paraloc for funcret
...
* libsym for powerpc ppu's
2005-03-07 18:38:46 +00:00
peter
100a47e6af
* fix protected checking
2005-03-07 17:58:27 +00:00
peter
748df1810f
* use lib64 for x86_64
2005-03-07 17:10:00 +00:00
Jonas Maebe
6cc3dbae94
* fixed web bug #3694
2005-03-05 20:08:27 +00:00
florian
eeaded577a
* fixed copy(dyn. array,...);
2005-03-05 16:37:28 +00:00
Jonas Maebe
38f57c30fe
* fixed printnodelist indentation
2005-03-05 16:17:30 +00:00
Jonas Maebe
adc5f048eb
* fixed small bug in ttypeconvnode.printnodeinfo
2005-03-05 16:09:20 +00:00
peter
abb3f82ceb
* getheapstatus fixes
2005-03-04 16:49:22 +00:00
peter
baa6032362
* maybequoted for windres args
2005-03-04 16:49:14 +00:00
Jonas Maebe
d612918bb2
* fixed Lazarus compilation
2005-03-04 09:56:35 +00:00
Jonas Maebe
39a372756f
* properties can also be inherited/overridden
2005-03-04 07:46:36 +00:00
Jonas Maebe
7fb6b96aed
* fixed web bug #3738
2005-03-03 19:58:14 +00:00
Jonas Maebe
86765dcf57
* fixed web bug #3740
2005-03-03 19:36:42 +00:00
Jonas Maebe
ac931f6846
* use expectloc in firstcomplex()
2005-03-02 19:44:11 +00:00
Jonas Maebe
43c5b3fd29
* fixed web bug #3533
2005-03-01 21:28:50 +00:00
marco
daf59fbd7e
* getFPCheapstatus (no, FPC HEAP, not FP CHEAP!)
2005-02-28 15:38:38 +00:00
peter
fe9bf2081d
Support constants and IN operator in preprocessor patch by Christian Iversen
2005-02-27 17:15:01 +00:00
peter
6e0cf1751a
fix register deallocation for 64bit results
2005-02-27 16:40:13 +00:00
florian
c63ac52ac5
* fixed msg for -Xc
2005-02-26 17:50:37 +00:00
florian
64b742c558
* update from Ido Kanner aka ik_5
2005-02-26 15:51:23 +00:00
florian
534b11cfb1
* userdata in file/textrecs now 32 bytes
2005-02-26 15:42:45 +00:00
Jonas Maebe
46c1b41a7b
- removed unused unit
2005-02-26 15:06:26 +00:00
Jonas Maebe
ec959955bd
* fixed generic jumps optimizer and enabled it for ppc (the label table
...
was not being initialised -> getfinaldestination always failed, which
caused wrong optimizations in some cases)
* changed the inverse_cond into a function, because tasmcond is a record
on ppc
+ added a compare_conditions() function for the same reason
2005-02-26 01:26:59 +00:00
Jonas Maebe
126f3fa6cf
* fixed loop which could go into neverneverland in case of embedded
...
assembler blocks
2005-02-26 01:23:29 +00:00
Jonas Maebe
04b1263e7f
* fixed uninitialised function result in getfinaldestination() when
...
maximum recursion reached
2005-02-25 20:50:53 +00:00
peter
b1900cc269
* 1.9.9
2005-02-25 11:41:26 +00:00
florian
d266bc32d9
+ variants can be used as cond. expr. in if, while, repeat ... until statements
2005-02-23 20:38:09 +00:00
florian
2b67164568
* optimizer files fixed
2005-02-20 19:36:03 +00:00
florian
871fd8d2b8
* initial commit
2005-02-20 19:11:04 +00:00
peter
339fed5022
* allow assignment to elements of constant dyn array in delphi mode
2005-02-20 13:12:22 +00:00
florian
00d9868260
* fixed constant insertation
2005-02-20 12:23:45 +00:00
florian
52337789b9
* -XP added
2005-02-19 18:50:20 +00:00
florian
83b04efbc3
* defaultreplacement expansion for -XP and -Xr
2005-02-19 18:32:16 +00:00
florian
16718b81e4
* cross compiliation defines
2005-02-19 18:10:57 +00:00
Jonas Maebe
706a87c2df
* don't lose sign of ord types for register parameters
2005-02-19 14:04:14 +00:00
Jonas Maebe
6c38093871
* fixed spilling for several ppc instructions which only read registers
...
+ added support for registers in references that get changed (load/store
with update)
2005-02-18 23:37:51 +00:00
Jonas Maebe
0e4f1738cd
- removed a non-existing instruction (lcrxe)
...
* fixed an instruction (maffs_ -> mffs)
2005-02-18 23:05:47 +00:00
peter
0ae80eea41
* allow enum arithmetics inside an enum def, compatible with delphi
2005-02-17 17:52:39 +00:00
peter
047c28d993
* member call to constructor returns void to prevent
...
generating unexpected code. Otherwise the return value is always
equal to self, which can also be directly accessed
2005-02-17 17:50:26 +00:00
olle
562201e27b
* made macos compile
2005-02-16 22:39:25 +00:00
florian
8305aa8781
* fixed storing of floating point registers for procedures with large temp. area
...
* fixed int64 comparisation
2005-02-16 22:02:26 +00:00
peter
bc0c22df82
* back to 1.9.7 for head
2005-02-15 22:31:35 +00:00
peter
aa5b73f3ec
* 1.9.8
2005-02-15 22:28:29 +00:00