florian
c45806c84f
* made test more verbose
...
git-svn-id: trunk@40283 -
2018-11-11 17:32:21 +00:00
florian
e8ebc00b3b
* redundant code removed, work is meanwhile done by aasmcpu.optimize_ref
...
git-svn-id: trunk@40282 -
2018-11-11 17:32:21 +00:00
florian
72416edcc4
+ support for tlsm_general on i386-linux
...
git-svn-id: trunk@40281 -
2018-11-11 17:32:20 +00:00
Mattias Gaertner
6d78637441
pastojs: parse double quotes in asm-blocks
...
git-svn-id: trunk@40279 -
2018-11-09 10:23:55 +00:00
pierre
c3914c1f38
Downgrade EXTDEBUG warning to note about zero size temp, as it is used for empty sets
...
git-svn-id: trunk@40278 -
2018-11-08 20:19:54 +00:00
pierre
796db4cef5
Implement mark_write override for tinilinenode
...
git-svn-id: trunk@40277 -
2018-11-08 20:18:30 +00:00
florian
a40335de34
* non-linux arm targets fixed
...
git-svn-id: trunk@40276 -
2018-11-08 19:57:30 +00:00
florian
e157939b41
* compilation on x86-64 and i8086 fixed
...
git-svn-id: trunk@40275 -
2018-11-08 18:45:16 +00:00
florian
4d2d26c318
* define renamed into tls_threadvars
...
git-svn-id: trunk@40274 -
2018-11-07 22:03:04 +00:00
florian
95acf20544
* address output updated
...
git-svn-id: trunk@40273 -
2018-11-07 22:03:03 +00:00
florian
063415fa72
+ i386-linux support for tls-based threadvars
...
git-svn-id: trunk@40272 -
2018-11-07 22:03:02 +00:00
florian
0d50a63c7d
+ tsettings.tlsmodel
...
git-svn-id: trunk@40271 -
2018-11-07 22:03:01 +00:00
florian
9c041afc7c
* disable generic threadvar handling if section thread vars are available
...
git-svn-id: trunk@40270 -
2018-11-07 22:03:01 +00:00
florian
c37c485eb7
+ check if initialization/finalization code uses implicitly thread vars
...
git-svn-id: trunk@40269 -
2018-11-07 22:03:00 +00:00
florian
e949276d9d
* basic implementation for pure pascal programs to allocate tls space
...
git-svn-id: trunk@40268 -
2018-11-07 22:02:59 +00:00
florian
9f16c34329
+ initial work for tls-based threadvar support on arm-linux
...
git-svn-id: trunk@40267 -
2018-11-07 22:02:58 +00:00
Mattias Gaertner
aca753d6e8
fcl-passrc: fixed parent of generic params
...
git-svn-id: trunk@40263 -
2018-11-07 17:57:51 +00:00
Mattias Gaertner
799adf1d99
pastojs: error on method in record, bug #34518
...
git-svn-id: trunk@40259 -
2018-11-07 17:47:11 +00:00
Mattias Gaertner
e31a7e9b73
pas2js: clean up
...
git-svn-id: trunk@40258 -
2018-11-07 17:46:45 +00:00
yury
5c5dc2ed50
* Changed verbosity of ""???" not yet supported inside inline procedure/function" to note to be consistent with note "Call to subroutine "?" marked as inline is not inlined".
...
git-svn-id: trunk@40255 -
2018-11-07 12:57:23 +00:00
yury
dd60397165
+ Added the pio_inline_not_possible flag to timplprocoption. It is set if a function can't be inline (contains an assembler block, etc). When calling such functions, no note "Call to subroutine "?" marked as inline is not inlined" is emitted.
...
git-svn-id: trunk@40254 -
2018-11-07 12:20:30 +00:00
Mattias Gaertner
6bb752c637
pas2js: default pas2js.cfg unitpath uses $CfgDir/../../../packages/*
...
git-svn-id: trunk@40245 -
2018-11-06 17:00:28 +00:00
Mattias Gaertner
e89223e56e
pas2js: clean up
...
git-svn-id: trunk@40243 -
2018-11-06 16:54:56 +00:00
Mattias Gaertner
0140c5ede7
pas2js: fixed unit paths
...
git-svn-id: trunk@40241 -
2018-11-06 16:48:14 +00:00
lacak
475fed4e9a
fcl-db: sqldb: when parsing identifiers (TableName) take into account delimited identifiers (double quoted) separated by point + test. Bug #34511
...
git-svn-id: trunk@40240 -
2018-11-06 13:46:37 +00:00
yury
b115886930
* po_inline can't be removed from procoptions when the interface part is already parsed. It changes the interface's CRC and causes other units to recompile.
...
git-svn-id: trunk@40238 -
2018-11-06 10:21:06 +00:00
pierre
8d5cfa8731
Disable range checking in rax86int unit
...
git-svn-id: trunk@40237 -
2018-11-06 07:41:15 +00:00
pierre
d55f80d2f9
Really change extension of hs1 local variable in get_exepath
...
git-svn-id: trunk@40236 -
2018-11-06 07:40:31 +00:00
yury
5f1933eecf
* Addition to r40225: Forgot to remove inline in the implementation.
...
git-svn-id: trunk@40227 -
2018-11-05 14:46:09 +00:00
yury
f5ce7c572b
* Removed inline for Unix2AmigaPath since it is not necessary and can't be inlined anyway due to ansistring conversion.
...
git-svn-id: trunk@40226 -
2018-11-05 14:37:01 +00:00
yury
a7642b70c1
* Removed inline for functions which access private variables and can't be inlined from outside.
...
git-svn-id: trunk@40225 -
2018-11-05 14:35:23 +00:00
yury
c2c942374d
* Removed inline for methods which are too big.
...
git-svn-id: trunk@40224 -
2018-11-05 14:33:39 +00:00
yury
95d18cd052
* If a function can't be inline (contains an assembler block, etc) remove the po_inline flag from its procoptions.
...
git-svn-id: trunk@40223 -
2018-11-05 14:18:27 +00:00
yury
8fba43609d
+ Added overloaded version of stringdup() for ansistring to allow stringdup to be inlined.
...
git-svn-id: trunk@40221 -
2018-11-05 14:00:51 +00:00
yury
c9a7503bbb
* Rearranged the code to place implementation of inline methods before their usage within this unit.
...
git-svn-id: trunk@40220 -
2018-11-05 13:59:59 +00:00
yury
0a3c94bc72
* Moved inline methods to the beginning in order to allow them to be actually inlined in this unit.
...
git-svn-id: trunk@40219 -
2018-11-04 19:50:09 +00:00
Károly Balogh
7bd590c9a7
fix the missing semicolos in the previous fix..
...
git-svn-id: trunk@40218 -
2018-11-04 18:15:24 +00:00
Károly Balogh
12a22b593d
initialize result before passing it to FindFile()
...
git-svn-id: trunk@40217 -
2018-11-04 18:03:00 +00:00
yury
4682ac269d
* Further improvement for r40180:
...
An uninitialized function Result of a managed type needs special handling.
When passing it as a var parameter a warning need to be emitted, since a user
may expect Result to be empty (nil) by default as it happens with local vars
of a managed type. But this is not true for Result and may lead to serious issues.
The only exception is SetLength(Result, ?) for a string Result. A user always
expects undefined contents of the string after calling SetLength(). In such
case a hint need to be emitted.
+ Tests for this.
git-svn-id: trunk@40216 -
2018-11-04 15:37:52 +00:00
michael
79dc736a69
* Patch from Margérs to fix bug #32281 (zip/unzip files >4Gb)
...
git-svn-id: trunk@40215 -
2018-11-04 12:03:32 +00:00
marco
cf4496aa1e
* more moderate growing for large collections, Mantis #34420 .
...
git-svn-id: trunk@40214 -
2018-11-03 22:56:09 +00:00
marco
a1904a055c
* simple clear functions for some types.
...
git-svn-id: trunk@40213 -
2018-11-03 22:50:55 +00:00
Mattias Gaertner
ebdf451cb5
pastojs: test result:=inherited;
...
git-svn-id: trunk@40211 -
2018-11-03 21:53:51 +00:00
Mattias Gaertner
1ca522a27e
pastojs: clean up
...
git-svn-id: trunk@40210 -
2018-11-03 21:53:32 +00:00
Mattias Gaertner
767938dac7
pastojs: less hints
...
git-svn-id: trunk@40209 -
2018-11-03 21:53:09 +00:00
Mattias Gaertner
c160d93750
fcl-passrc: no hint on hiding inherited constructor, fixed Result:=inherited;
...
git-svn-id: trunk@40204 -
2018-11-03 21:37:55 +00:00
Mattias Gaertner
1bd8e903d7
fcl-js: simplified
...
git-svn-id: trunk@40203 -
2018-11-03 21:36:36 +00:00
florian
34d11046e0
* wrapcomplexinlinepara takes care of function results which need different temp. handling, resolves #34438
...
* tw34438 failed with -O3, fixes also dfa for inline functions returning results as "complex" parameter
git-svn-id: trunk@40202 -
2018-11-03 17:31:10 +00:00
yury
e63433c88c
* Fixed obtaining a time zone information for 64-bit android.
...
git-svn-id: trunk@40201 -
2018-11-03 14:33:41 +00:00
yury
8958d94091
* Fixed locale detection on new Android versions.
...
git-svn-id: trunk@40200 -
2018-11-03 14:16:21 +00:00