Tomas Hajny
e4c37e3e9d
* remove CVS log
...
git-svn-id: trunk@6837 -
2007-03-13 23:17:21 +00:00
Jonas Maebe
31c29a280a
* moved typechecking stuff from taddnode.simplify to taddnode.pass_typechec
...
This is needed to be able to call simplify after pass_1, because
otherwise the inserttypeconv's inserted new type conversions which
where never firstpassed (if you want to do something like that, you
have to return a new node as well so it will be firstpassed properly
-- but in this case it seems this is not needed, since inserting
those typeconversions are part of typechecking and not of simplifying,
and typechecking must be done before simplifying anyway)
git-svn-id: trunk@6836 -
2007-03-13 23:17:12 +00:00
pierre
f07349a774
* force S_IQ size for movq instruction, needed for nasm
...
git-svn-id: trunk@6835 -
2007-03-13 23:17:09 +00:00
pierre
73f4288d97
+ allow to disable smartlinking if NO_SMART_LINK is defined
...
git-svn-id: trunk@6834 -
2007-03-13 22:55:50 +00:00
florian
c4f65df9f9
* fixed expectloc setting
...
git-svn-id: trunk@6833 -
2007-03-13 22:45:41 +00:00
Jonas Maebe
168e652d42
+ support for simplifying simple inline functions down to a single
...
constant node (rather than to just a blocknode with a statement
assigning a constant to a temp)
git-svn-id: trunk@6832 -
2007-03-13 22:27:55 +00:00
Jonas Maebe
0f546da041
* docompare -> isequal
...
git-svn-id: trunk@6831 -
2007-03-13 21:56:41 +00:00
Jonas Maebe
cb16e8d3d0
* nothingn has a complexity of 0
...
* stop complexity calculation if we get to the end of a series of a
statements instead of crashing
git-svn-id: trunk@6830 -
2007-03-13 21:56:25 +00:00
florian
44752f5559
* fixed win64 compilation
...
git-svn-id: trunk@6829 -
2007-03-13 21:29:39 +00:00
florian
8aa259401c
* fixed x86-64
...
git-svn-id: trunk@6828 -
2007-03-13 21:12:40 +00:00
florian
1cd41b68f7
* compiler handled round/trunc for x86
...
git-svn-id: trunk@6827 -
2007-03-13 20:23:24 +00:00
Jonas Maebe
95474a2d38
* fixed memory leak in executeprocess for FPC_USE_FPEXEC
...
git-svn-id: trunk@6826 -
2007-03-13 18:54:27 +00:00
Jonas Maebe
9d6026827d
* fixed memory leak in dosimplify
...
git-svn-id: trunk@6825 -
2007-03-13 18:54:01 +00:00
Jonas Maebe
fc3d9ebbc7
* fixed range check error
...
git-svn-id: trunk@6823 -
2007-03-13 15:16:02 +00:00
Jonas Maebe
d66f35a384
* fixed range check error
...
git-svn-id: trunk@6822 -
2007-03-13 15:15:53 +00:00
Jonas Maebe
95ef3145fc
* don't create debugging entries for generic typesyms, since they
...
refer to typedefs which aren't written out either
* fixed longstring debuginfo and fixed overflow/range errors with
in creating it on 64 bit systems
git-svn-id: trunk@6821 -
2007-03-13 14:51:47 +00:00
Jonas Maebe
f97d028e39
* never store/restore lr for nostackframe routines, even if debugging
...
is turned on
git-svn-id: trunk@6820 -
2007-03-13 14:50:26 +00:00
Jonas Maebe
691ad89ba5
* fixed rangecheck define typo
...
git-svn-id: trunk@6819 -
2007-03-13 14:49:03 +00:00
Jonas Maebe
1580e046ed
* fixed missing swapleftright in case of substracting unsigned numbers
...
with overflow checking turned on
git-svn-id: trunk@6818 -
2007-03-13 12:57:06 +00:00
Jonas Maebe
1205d05ba4
* make variables not regable if they are referenced by an absolute
...
variable of a different size
git-svn-id: trunk@6817 -
2007-03-13 10:17:33 +00:00
Jonas Maebe
bdc378e250
* fixed 64 bit compilation
...
git-svn-id: trunk@6816 -
2007-03-13 08:35:08 +00:00
Jonas Maebe
69cf42c4f7
* fixed val(s,int64) (it accepted values in the range
...
high(int64+1)..high(qword) if written in decimal notation) + test
* fixed range checking of qword constants parsed by the compiler
(they always gave a range error if > high(int64), because the compiler
internally stores them as int64)
* turn off range checking flag of rdconstnodes created by the parser
from _INTCONST, because those are already range checked by the
way they are parsed using val()
git-svn-id: trunk@6814 -
2007-03-12 22:22:43 +00:00
Jonas Maebe
d79d29ccda
* fixed range check errors when compiling with -Cr
...
git-svn-id: trunk@6813 -
2007-03-12 21:28:31 +00:00
florian
47a9c9bc60
* use section smartlinking on arm-linux, experimental
...
git-svn-id: trunk@6812 -
2007-03-12 21:00:12 +00:00
pierre
4f3f5d042b
* return nil in TraceGetMem if SysGetMem returns nil
...
git-svn-id: trunk@6811 -
2007-03-12 20:59:36 +00:00
florian
85189db6fe
* test fixed, hopefully
...
git-svn-id: trunk@6810 -
2007-03-12 20:04:27 +00:00
florian
20eca6128f
* merged from fixes
...
git-svn-id: trunk@6807 -
2007-03-12 19:57:34 +00:00
florian
9f3d43ec09
+ more cse invariant nodes added
...
git-svn-id: trunk@6805 -
2007-03-12 19:47:04 +00:00
florian
418222bc32
* handle interfaces et al. correctly in Set/GetOrdProp, resolves #8510
...
git-svn-id: trunk@6804 -
2007-03-12 19:38:22 +00:00
florian
2085635fe7
* load moveproc with default value
...
git-svn-id: trunk@6803 -
2007-03-12 19:31:52 +00:00
Jonas Maebe
3b3060cec5
* fixed uninitialized result of handle_typed_read_write in
...
case no error occurred
git-svn-id: trunk@6802 -
2007-03-12 14:43:04 +00:00
joost
5f0bd73dec
* Fixed bug #8477
...
git-svn-id: trunk@6801 -
2007-03-12 09:41:43 +00:00
florian
8ec185eb10
* pretty basic InterlockedCompareExchange test
...
git-svn-id: trunk@6799 -
2007-03-11 22:39:51 +00:00
florian
87bc8a4471
* fixed InterlockedCompareExchange(64) of x86_64.inc for win64 too
...
git-svn-id: trunk@6798 -
2007-03-11 22:28:08 +00:00
marco
9f5238c2f4
* fix for JP's problem?
...
git-svn-id: trunk@6795 -
2007-03-11 21:32:32 +00:00
Tomas Hajny
374e759169
* cleanup by Marco Borsari (borsa77)
...
git-svn-id: trunk@6794 -
2007-03-11 20:57:50 +00:00
daniel
0fdd8110c7
* Force I/O checking
...
git-svn-id: trunk@6793 -
2007-03-11 20:06:42 +00:00
joost
de59f58291
Patch from Luiz Americo:
...
* Publish previously missing events
* Remove not necessary fields
* Add CheckBrowseMode for Locate, Lookup, ApplyUpdates
* General cleanup
git-svn-id: trunk@6792 -
2007-03-11 20:06:37 +00:00
joost
9054139d26
* Fix compilation and improve sqlite examples, patch from Luiz Americo
...
git-svn-id: trunk@6791 -
2007-03-11 20:00:43 +00:00
joost
2dc4a8d1b6
* Fixed wrong commit in r6789
...
git-svn-id: trunk@6790 -
2007-03-11 19:53:17 +00:00
joost
dcc62c3ccc
* Support for smallint fields, bug #8417
...
git-svn-id: trunk@6789 -
2007-03-11 19:50:22 +00:00
joost
132e4f6f67
* Removed {$ifdef fpc}s introduced in r6614 and 6615
...
git-svn-id: trunk@6788 -
2007-03-11 19:06:03 +00:00
daniel
5784674f20
+ Test for append on devices.
...
git-svn-id: trunk@6787 -
2007-03-11 18:56:02 +00:00
florian
fd6fdfe896
* check used fpu type properly
...
git-svn-id: trunk@6786 -
2007-03-11 17:17:06 +00:00
florian
fb1afe0ea4
+ set FPU* define properly
...
git-svn-id: trunk@6785 -
2007-03-11 17:16:23 +00:00
florian
7fb2a035e3
* fixed patch for #8480
...
git-svn-id: trunk@6783 -
2007-03-11 10:13:23 +00:00
marco
77d82e5b0a
* patch from #8480 committed. #0#0 also copied.
...
git-svn-id: trunk@6782 -
2007-03-10 22:26:07 +00:00
marco
b7b057d570
* patch for 8452 committed
...
git-svn-id: trunk@6781 -
2007-03-10 21:05:48 +00:00
marco
e52a4e3b9f
* fix for twordfield=tlongintfield (bug 8500)
...
git-svn-id: trunk@6780 -
2007-03-10 20:49:02 +00:00
marco
a50c7a25ac
* stdcall for all funcs. bug #8456 . There are only 4 funcs in the winapi that are not stdcall, like wsprintf
...
git-svn-id: trunk@6779 -
2007-03-10 20:34:15 +00:00