svenbarth
b2177fb50e
* fix for Mantis #37650 : apply adjusted patch by Ryan Joseph do not range check the length of ShortStrings if their length parameter is based on a generic constant
...
+ added test
git-svn-id: trunk@46766 -
2020-09-04 15:44:23 +00:00
florian
9a7e977167
* replace tcaldefs.inc by cpudefs.inc
...
git-svn-id: trunk@46765 -
2020-09-04 15:37:01 +00:00
florian
28e2fae09d
+ forgotten file
...
git-svn-id: trunk@46764 -
2020-09-04 15:33:29 +00:00
florian
55e6ffb428
+ common include file for tcal*.pp tests to define cpusmall
...
git-svn-id: trunk@46730 -
2020-08-29 20:24:30 +00:00
florian
f4e27dcfb6
+ created xtensa-freertos object files using gcc xtensa-esp32-elf-gcc (crosstool-NG esp-2019r2) 8.2.0 with:
...
make TEST_CCOMPILER=xtensa-esp32-elf-gcc create_c_objects TEST_FPC=fpc TEST_ABI=windowed TEST_OS_TARGET=freertos TEST_CPU_TARGET=xtensa TEST_SUBARCH=lx6 TEST_CFLAGS=-mlongcalls
git-svn-id: trunk@46725 -
2020-08-28 20:18:34 +00:00
Jonas Maebe
d1d3d7cd08
* never create a regular temp for inline parameters that can be modified by
...
the caller (mantis #37465 )a
o in theory, the regular checks for doing so should never trigger, but due
to compiler-generated nodes (such as calls to fpc_ansistr_unique), they
could. Internal address nodes can deal with taking the address of the
function result in this case.
git-svn-id: trunk@46660 -
2020-08-23 11:27:59 +00:00
florian
120825d1d6
* do not throw an internal error on illegal assembler expressions, resolves #37439
...
git-svn-id: trunk@46499 -
2020-08-19 21:09:44 +00:00
florian
18b8b9c566
* do not apply range test optimization if the variable is a string being compared against a char constants, resolves #37476
...
git-svn-id: trunk@46453 -
2020-08-15 18:29:26 +00:00
florian
1ba8255af0
* do not try to unroll a loop if previously an error was thrown, resolves #37475
...
git-svn-id: trunk@46435 -
2020-08-14 18:10:56 +00:00
svenbarth
fbb8e161fa
+ add test for already fixed Mantis #37286
...
git-svn-id: trunk@46408 -
2020-08-13 05:42:32 +00:00
florian
cdd80c131d
+ forgotten test
...
git-svn-id: trunk@46405 -
2020-08-12 21:13:58 +00:00
svenbarth
aa95cfe0ae
* move FileInfo unit and the corresponding example from fcl-base to fcl-extra
...
git-svn-id: trunk@46392 -
2020-08-12 19:06:57 +00:00
svenbarth
108e78d441
* generate Makefile
...
git-svn-id: trunk@46389 -
2020-08-12 19:06:36 +00:00
svenbarth
cb98d97b78
* move lexlib and yacclib to their own package
...
git-svn-id: trunk@46388 -
2020-08-12 19:06:29 +00:00
svenbarth
b88adc8e64
fcl-res: move rcparser code to include file
...
- no need to recompile the grammar on process changes
- full codetools in Lazarus
Reintegrate fpcres-rc branch by Martok
git-svn-id: trunk@46381 -
2020-08-12 19:05:37 +00:00
svenbarth
7c12641d09
fcl-res: begin implementing rc reader (preprocessor)
...
Reintegrate fpcres-rc branch by Martok
git-svn-id: trunk@46372 -
2020-08-12 19:04:33 +00:00
michael
ddefc8a682
* Fix bug #37546 , improvement to pass log filename to server
...
git-svn-id: trunk@46369 -
2020-08-12 10:58:24 +00:00
florian
6dac888ae5
* 0 is a valid label in iso mode, resolves #37428
...
git-svn-id: trunk@46362 -
2020-08-11 12:05:13 +00:00
Jonas Maebe
b3adeaaea9
* added test for bug that's already fixed (mantis #37423 )
...
git-svn-id: trunk@46334 -
2020-08-08 17:45:41 +00:00
florian
d7ba09f543
* insert type casts when creating new unaryminus nodes during simplification, resolves #37508
...
git-svn-id: trunk@46309 -
2020-08-07 21:43:00 +00:00
florian
af1e6fde5c
* setelementn cannot be the root node of a cse domain, resolves #37477
...
git-svn-id: trunk@46299 -
2020-08-06 20:49:07 +00:00
svenbarth
e4ec420bf5
* reject the default Create array constructor if used on a variable instead of a type
...
+ added test
git-svn-id: trunk@46279 -
2020-08-05 21:35:01 +00:00
florian
e14a3f17e6
* reverted r46220 as it is fixed now properly
...
git-svn-id: trunk@46276 -
2020-08-05 21:15:33 +00:00
svenbarth
c17ad509e2
* fix for Mantis #36775 : apply patch by J. Gareth Moreton
...
+ added tests
git-svn-id: trunk@46220 -
2020-08-03 21:53:29 +00:00
svenbarth
055cfc1771
* added test for Mantis #36014 which is already fixed (also in 3.2.0)
...
git-svn-id: trunk@46219 -
2020-08-03 21:53:24 +00:00
svenbarth
8770af84bd
* fix for Mantis #37187 : inside generics the constant code in pexpr does not handle all cases and thus current_procinfo needs to be checked as well
...
+ added test
git-svn-id: trunk@46218 -
2020-08-03 21:53:14 +00:00
florian
eac6675cba
* reset exception flags, resolves #37468 on x86_64
...
git-svn-id: trunk@45995 -
2020-08-02 21:23:29 +00:00
florian
f542ee7b92
* do not throw an internal error if an errorneous type is passed to str, resolves #37462
...
git-svn-id: trunk@45983 -
2020-08-01 21:11:35 +00:00
michael
eaeb21e6ae
* Add stub generator
...
git-svn-id: trunk@45976 -
2020-08-01 07:39:34 +00:00
florian
6f661e44d0
* do not throw an internal error later on in case of a recursive call, if the declaration of the function was faulty, resolves #37460
...
git-svn-id: trunk@45975 -
2020-07-31 21:03:35 +00:00
svenbarth
b412259c1c
* fix for Mantis #37355 : the method name and the named parameters need to be separated by a single #0
...
+ added test
git-svn-id: trunk@45974 -
2020-07-31 15:55:37 +00:00
svenbarth
b62045809d
* reject overloads if they only differ in the result types (as long as they aren't operator overloads)
...
+ added tests
git-svn-id: trunk@45973 -
2020-07-31 15:55:34 +00:00
florian
42f2e5f8ad
+ simplify "x mod -1", resolves #37449
...
git-svn-id: trunk@45969 -
2020-07-30 20:35:34 +00:00
florian
0b5c50ea41
* Aarch64: set register size correctly for AndStrb2Strb optimization, resolves #37427
...
git-svn-id: trunk@45872 -
2020-07-28 20:46:05 +00:00
Mattias Gaertner
091862cd88
pastojs: added include file and test specializations are created later
...
git-svn-id: trunk@45863 -
2020-07-26 12:05:23 +00:00
Mattias Gaertner
dc54c1297a
fcl-passrc: added include file and append specializations at end of declarations in front of unfinished elements
...
git-svn-id: trunk@45862 -
2020-07-26 12:01:37 +00:00
Mattias Gaertner
fad9fb738c
fcl-js: added include file
...
git-svn-id: trunk@45861 -
2020-07-26 11:59:00 +00:00
Mattias Gaertner
86ee4a57c3
fcl-json: added include file
...
git-svn-id: trunk@45860 -
2020-07-26 11:58:47 +00:00
florian
3db2794598
+ add test for #31714 which is already fixed
...
git-svn-id: trunk@45859 -
2020-07-25 21:08:58 +00:00
florian
ed158f1e52
* set register size correctly for popcnt(<byte>), resolves #37400
...
git-svn-id: trunk@45828 -
2020-07-22 20:47:12 +00:00
florian
5da913de0e
* float operations can have an exception as a side effect, resolves #37398
...
git-svn-id: trunk@45824 -
2020-07-21 20:09:39 +00:00
Jonas Maebe
dd6e6eb26a
* disable tail recursion optimisation if there is a copy-back parameter
...
* handle fparainit in tail recursion optimisation (mantis #37397 )
git-svn-id: trunk@45823 -
2020-07-21 17:57:50 +00:00
pierre
adf064cbb4
New: rtl/inc/genmathh.inc source file, to provide a unique position
...
for the interface definition of float64 and float32 records,
available to all systems if FPUNONE is not defined.
rtl/inc/genmath.inc: Remove float64/float32, as they are now in rtl/inc/genmathh.inc
rtl/inc/softfpu.pp: Use provided definitions of float32 and float64
if available (by checking presence of FPC_SYSTEM_HAS_floatXX macro)
rtl/inc/systemh.inc: include genmathh.inc if FPUNONE is not defined.
rtl/java/jsystemh_types.inc: Likewise.
git-svn-id: trunk@45821 -
2020-07-21 14:24:14 +00:00
florian
13cb57b2c3
+ Aarch64: trgcpu.get_spill_subreg: return MM sub register correctly, resolves #37393
...
git-svn-id: trunk@45814 -
2020-07-20 21:07:09 +00:00
Jonas Maebe
eb7ba1690e
* mark all external assemblers using an LLVM tool using af_llvm
...
+ added support for constructing target triplets
* pass "-target triplet" when using an LLVM assembler
o removed no longer needed $DARWINVERSION and $ARCH parameters
* consistently use as_clang_gas when clang is used to assembler GAS-style
assembly, and rename as_llcm_clang to as_clang_llvm (for consistency)
* support pipe assembling when using clang on *nix in all cases
git-svn-id: trunk@45807 -
2020-07-19 14:30:35 +00:00
Jonas Maebe
3fde3f23ce
* moved ios test object files to ios directory
...
+ added darwin/aarch64 test object files
git-svn-id: trunk@45803 -
2020-07-18 13:44:03 +00:00
florian
a57f3ba396
* patch by Sergey Larin to handle Native(U)Int conversions from/to variants, resolves #37339
...
git-svn-id: trunk@45797 -
2020-07-16 20:44:30 +00:00
florian
7337515137
+ patch by Christo Crause: ESP8266 controller unit for freertos, resolves #37336
...
git-svn-id: trunk@45784 -
2020-07-14 20:34:58 +00:00
florian
0cb21e8338
+ test for last commit
...
git-svn-id: trunk@45773 -
2020-07-11 20:31:00 +00:00
florian
f6f5cb45a3
+ strip leading zeros in numeric labels in iso/extended pascal mode also in label declarations, resolves #37323
...
git-svn-id: trunk@45764 -
2020-07-11 07:12:37 +00:00