svenbarth
ce18b10c81
* fix for Mantis #30530 : when the global/static symtable is reached defowner is Nil, so respect that in the loop condition
...
+ added test
git-svn-id: trunk@34532 -
2016-09-16 15:39:03 +00:00
svenbarth
531829c072
* don't check for hints if we have a specialization with the same name as the to be used generic (though since the typedef would be errordef it wouldn't print anything anyway...)
...
git-svn-id: trunk@34531 -
2016-09-16 15:15:19 +00:00
svenbarth
50f2aab0ef
* fix for Mantis #22192 : handle the case that a specialization has the same name as the generic it's based on as in that case the typedef of the symbol is an errordef; therefor we need to use the symbol's real name
...
+ added test
git-svn-id: trunk@34530 -
2016-09-16 15:13:27 +00:00
svenbarth
fd7daf91df
+ new overload for generate_specialization_phase1() which allows to pass a specific symbol name without the need to specify a file position
...
git-svn-id: trunk@34529 -
2016-09-16 15:10:51 +00:00
svenbarth
76f55f2030
* set the realname of the reused generic dummy symbol to the parsed name as the casing might differ from the generic that triggered the creation of said dummy symbol
...
git-svn-id: trunk@34528 -
2016-09-16 15:09:22 +00:00
svenbarth
2ea587f746
* fix for Mantis #30537 : also allow the parasymtable as a parent symtable when generating the mangled name as that is needed for generic functions
...
+ added test
git-svn-id: trunk@34527 -
2016-09-16 14:10:53 +00:00
svenbarth
0500c678e5
* fix for Mantis #30534 : don't consider all types with generic constraints as equal, but at least ensure that they have the same basetype (Note: this still needs a bit more improvement)
...
+ added test
git-svn-id: trunk@34526 -
2016-09-16 13:24:28 +00:00
pierre
458aea707d
Fix type on last commits
...
git-svn-id: trunk@34525 -
2016-09-13 10:08:57 +00:00
pierre
c7d79acd61
Allow compilation of compiler with -gc option
...
git-svn-id: trunk@34524 -
2016-09-13 08:47:53 +00:00
pierre
53af10dbed
Makefile regenerated after:
...
Change conditions under which IDE executable is generated:
Add GDBMI_IS_STATIC variable, set to true for systems
which generate static FP IDE executable (without library dependencies)
and can thus also be compiled in cross-compile conditions.
Only add -sp fpmake option (which means skip executable generation)
if GDBMI_IS_STATIC is not defined.
git-svn-id: trunk@34523 -
2016-09-13 08:46:43 +00:00
pierre
ca4f7719f3
Change conditions under which IDE executable is generated:
...
Add GDBMI_IS_STATIC variable, set to true for systems
which generate static FP IDE executable (without library dependencies)
and can thus also be compiled in cross-compile conditions.
Only add -sp fpmake option (which means skip executable generation)
if GDBMI_IS_STATIC is not defined.
git-svn-id: trunk@34522 -
2016-09-13 08:46:10 +00:00
pierre
dcd349abd9
Use DEBUG_LINEINFO instead of DEBUG in exeinfo unit source
...
git-svn-id: trunk@34521 -
2016-09-13 08:37:52 +00:00
michael
a55c176bef
* Patch from Mattias Gaertner: Record support, detect duplicate identifiers, bug fixes
...
git-svn-id: trunk@34520 -
2016-09-13 08:01:37 +00:00
marcus
97a4c7b9f7
AROS: added locale library unit
...
git-svn-id: trunk@34519 -
2016-09-12 20:53:58 +00:00
michael
bc6819aa91
* Attempt to avoid overflow when reallocating stream
...
git-svn-id: trunk@34518 -
2016-09-12 08:41:42 +00:00
michael
be17071b46
* Fix windows compilation
...
git-svn-id: trunk@34517 -
2016-09-11 18:20:40 +00:00
Jonas Maebe
775f86d216
* made cthreads the first unit, as the initialisation code of sysutils now
...
apparently already triggers threading-related code
git-svn-id: trunk@34516 -
2016-09-11 18:17:41 +00:00
Jonas Maebe
66be068365
* set the correct resultdef after converting a dynamic array to an open array
...
in ncnv
* handle the fact that we overwrite the open array resultdef of a parameters'
left node with the original resultdef (i.e., also for dynamic arrays) with
regards to LLVM type rules
o use the parameter's formal type (open array) instead of the value's type
(dynamic array) when loading/using its value, since that's the type the
value has been converted to
o this change is not really nice since it adds several independent checks in
different places, but I can't find a way to nicely unify the code to work
around this (nor one to get rid of that hack in the first place)
git-svn-id: trunk@34515 -
2016-09-11 17:12:04 +00:00
Jonas Maebe
dfb20f3f6a
* fixup the asmbind of aliases (an llvm alias can never refer to an
...
external symbol)
git-svn-id: trunk@34514 -
2016-09-11 17:12:00 +00:00
Jonas Maebe
702715a518
* generalised llvmgettemprecorddef() so it works for almost all types
...
git-svn-id: trunk@34513 -
2016-09-11 17:11:57 +00:00
michael
c9c1cf73ae
* Fix compilation error caused by signature change
...
git-svn-id: trunk@34512 -
2016-09-11 14:46:16 +00:00
michael
b1b312b705
* Fix patch 34481
...
git-svn-id: trunk@34511 -
2016-09-11 14:18:12 +00:00
michael
b08475b5ba
* Fix bug ID #30391 (let ReleaseMySQL also return refcount)
...
git-svn-id: trunk@34510 -
2016-09-11 12:30:45 +00:00
michael
7fec0f92af
* Fix bug ID #30469 (allow quoting to start inside values)
...
git-svn-id: trunk@34509 -
2016-09-11 12:24:57 +00:00
Jonas Maebe
98020a9b57
* fixed test compilation
...
git-svn-id: trunk@34508 -
2016-09-11 09:42:15 +00:00
michael
63d3df5642
* Fix bug ID #25177 : wrong constant used for rounding
...
git-svn-id: trunk@34507 -
2016-09-11 09:38:47 +00:00
michael
8c63be40f9
* Fix bug ID #24983 : additional possibilities for boolean reading/writing
...
git-svn-id: trunk@34506 -
2016-09-11 08:04:36 +00:00
michael
8d67ef157f
* Using OS Lineending was old behaviour
...
git-svn-id: trunk@34505 -
2016-09-11 07:31:48 +00:00
Tomas Hajny
5153cceba3
* provide access to information about the failing file when dynamic loading fails
...
git-svn-id: trunk@34504 -
2016-09-10 21:30:35 +00:00
joost
79d2d05c58
* Replaced the local- and global-repositories with a list of repositories.
...
A repository can contain installed or packages available for installation.
The repositories have a helper-class that contains information about
where the packages are installed and such. Things like installing a
package from the current-directory are done using temporary 'fake'
repositories. The TpkgFPpkg-class keeps track of all repositories
and packages.
git-svn-id: trunk@34503 -
2016-09-10 21:15:26 +00:00
michael
47407a9c29
* Use UnicodeString instead of Widestring, faster on windows (bug ID 29711)
...
git-svn-id: trunk@34502 -
2016-09-10 19:59:01 +00:00
michael
29ed02d228
* utility unit to add 48-bit real math, bug ID #30460
...
git-svn-id: trunk@34501 -
2016-09-10 19:48:52 +00:00
michael
9cca873e54
* Applied patch by accorp to fix unwanted parameter values in Opts output parameter of CheckOptions. (bug ID 29951)
...
git-svn-id: trunk@34500 -
2016-09-10 19:43:17 +00:00
michael
7d4b3dc7aa
* Tests for bug ID #28201
...
git-svn-id: trunk@34499 -
2016-09-10 19:34:00 +00:00
michael
25d3ee2ce2
* New version of maskutils by Bart Broersma (+testcase), bug ID #30020
...
git-svn-id: trunk@34498 -
2016-09-10 19:26:28 +00:00
Jeppe Johansen
348c373e9f
Fixed two bugs in the x86 peephole optimizer.
...
git-svn-id: trunk@34497 -
2016-09-10 19:13:48 +00:00
michael
6798504842
* Use correct exception class: Patch from Simon Ameis (bug ID 29961)
...
git-svn-id: trunk@34496 -
2016-09-10 19:03:58 +00:00
michael
f4e3068c8b
* AnsiExtractquotedStr returns original string if unquoted
...
git-svn-id: trunk@34495 -
2016-09-10 18:51:02 +00:00
michael
5917b38706
* AnsiDequotedString needs to return empty if it equals "" (bug ID 30220)
...
git-svn-id: trunk@34494 -
2016-09-10 18:43:59 +00:00
michael
d94b9bd4ab
* Check for Nil in strend
...
git-svn-id: trunk@34493 -
2016-09-10 18:43:22 +00:00
michael
356395beaa
* Fix reading of UTF-8 data
...
git-svn-id: trunk@34492 -
2016-09-10 18:34:02 +00:00
Jonas Maebe
d19bf787a0
* added -gh option required to test correctness
...
git-svn-id: trunk@34491 -
2016-09-10 18:28:10 +00:00
michael
8cf24a6eba
* Undefine UseOsLineEndOnReplace for backwards compatibility
...
git-svn-id: trunk@34490 -
2016-09-10 18:20:11 +00:00
michael
204e1c934e
* Patch from Alexey Torgashin to allow using OS-specific line ending (bug ID 30147)
...
git-svn-id: trunk@34489 -
2016-09-10 18:18:03 +00:00
michael
e3076da0a1
* Testcase for bug #30310
...
git-svn-id: trunk@34488 -
2016-09-10 18:07:07 +00:00
michael
480d22a4aa
* Reallocmem uses installed memory manager
...
git-svn-id: trunk@34487 -
2016-09-10 17:56:17 +00:00
michael
8ef43da4ee
* Some improvements from yang jixian (bug ID 30270)
...
git-svn-id: trunk@34486 -
2016-09-10 17:21:43 +00:00
michael
ee40c7618c
* Make TFPGListEnumeratorSpec public (Bug ID 30573)
...
git-svn-id: trunk@34485 -
2016-09-10 17:15:10 +00:00
michael
bd775267ca
* Fix bug #30310
...
git-svn-id: trunk@34484 -
2016-09-10 17:08:07 +00:00
michael
b504cc4131
* Make singletons thread-safe
...
git-svn-id: trunk@34483 -
2016-09-10 16:51:50 +00:00