yury
|
e5c2d13671
* Do not set pi_needs_got in current_procinfo.flags at the node level, since the GOT usage can only be estimated there. Instead set the pi_needs_got flag at places where the GOT register is accessed during the code generation. This eliminates generation of the unneeded initialization of the GOT register and fixes linker errors when the _GLOBAL_OFFSET_TABLE_ symbol is referenced but no actual GOT references are present.
|
6 anni fa |
Jonas Maebe
|
70cadc7694
* fixed string constant length when going from utf-8 to single-byte code page
|
6 anni fa |
florian
|
68eb921d46
* broken compilation after r39347 fixed
|
7 anni fa |
Jonas Maebe
|
4da6039f40
* simplify empty-dynamic-string-to-pointer (non-p(wide)char) type conversions
|
7 anni fa |
Jonas Maebe
|
8cfe7e0a0c
* when creating a realconstn, cast the value to the specified type
|
7 anni fa |
florian
|
b1dff29cbf
* removed unused units
|
8 anni fa |
Jonas Maebe
|
a2bd07bfd6
* fixed compilation of 64-bit cross-compilers on 32 bit platforms
|
8 anni fa |
florian
|
13b3866552
* convert (s*[const. set])<>/=[] for var. sets into or'ed in nodes, if const. set contains only a few elements
|
8 anni fa |
Károly Balogh
|
5426c11611
marked a few uses of TConstExprInt as const during parameter passing, to avoid a few unnecessary record copying
|
8 anni fa |
Jonas Maebe
|
1afab1ab69
* moved the floating point constant range checking code from
|
8 anni fa |
Jonas Maebe
|
974c2363c0
- removed tdataconstnode, as it is no longer used and is not type safe.
|
9 anni fa |
Jonas Maebe
|
a65ab73e8b
* support unicodestring constants in "case string of" (mantis #29353)
|
9 anni fa |
florian
|
495b7181a8
+ write the value of a pointer constant node in printnodedata
|
10 anni fa |
Jonas Maebe
|
b57c95043f
+ support overriding tdef/tsym methods with target-specific functionality:
|
11 anni fa |
nickysn
|
22acb2e44b
* moved the i8086 specific code from tpointerconstnode.create to the i8086
|
11 anni fa |
florian
|
4d5119bf1c
* fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables
|
11 anni fa |
florian
|
99eadb91b3
* run CheckAndWarn to get proper locations for warnings about uninitialized variables
|
11 anni fa |
Jonas Maebe
|
90fb63db26
* also compare the type of tordconstnode in docompare, so that the node CSE
|
12 anni fa |
svenbarth
|
b57a587842
Fix for Mantis #24903.
|
12 anni fa |
Jonas Maebe
|
fb8fb29574
* record/use the code page of string constants typecasted to an ansistring
|
12 anni fa |
nickysn
|
ed29f7a92d
+ far pointer support in tpointerconstnode
|
12 anni fa |
florian
|
9375529430
+ put guids in a constant pool as well
|
12 anni fa |
florian
|
f6b78719bc
* fix trealconstnode.dogetcopy and trealconstnode.docompare, taking care of all fields, resolves #23486
|
12 anni fa |
sergei
|
c766c50907
* Proper fix for SPARC cycling with -dCHECK_PIC, pi_needs_got additionally must be set in following cases:
|
12 anni fa |
pierre
|
bc04e83b25
Add pi_needs_got to current_procinfo.flags in pass_1 method if a label reference is used
|
13 anni fa |
Jonas Maebe
|
834026bfb5
* synchronised with trunk up to r21067
|
13 anni fa |
paul
|
a26bc50ca6
compiler: change ShortString->(Some)String and AnsiString->(Some)String overload precedence both for variables and string constants, change unicode constant type from widestring to unicodestring (Delphi compatibility)
|
13 anni fa |
Jonas Maebe
|
aee5380ae0
* merged trunk up to r20882
|
13 anni fa |
Jonas Maebe
|
d1acb76df8
* don't replace "expr1 or expr1" or "expr1 and expr1" with just "expr1"
|
13 anni fa |
Jonas Maebe
|
74e721517d
* keep track of the type of symbolic floating point constants rather
|
13 anni fa |