Commit Graph

4328 Commits

Author SHA1 Message Date
Jonas Maebe
d8a2c47c75 * fixed calling inherited message handlers after r18162
git-svn-id: trunk@18173 -
2011-08-11 20:08:43 +00:00
pierre
7fd2f2b3ed * Skip go32v2 target has there is no thread support
git-svn-id: trunk@18170 -
2011-08-11 13:13:35 +00:00
pierre
3d701bc644 + Add %needlibrary to libraries themselves to avoid error report on systems not supporting libraries
git-svn-id: trunk@18169 -
2011-08-11 12:30:14 +00:00
pierre
405cf34bd3 + Add %needlibrary to libraries themselves to avoid error report on systems not supporting libraries
git-svn-id: trunk@18168 -
2011-08-11 12:27:48 +00:00
sergei
25bf0012f2 * When the interface method mapping is present, being unable to find the implementing procedure using the mapped name is a error condition. No attempt to find implementing procedure using symbol name should be made in this case. Resolves #19591.
git-svn-id: trunk@18166 -
2011-08-10 21:33:39 +00:00
Jonas Maebe
9195506c56 * make sure that anonymous inherited calls only call through to the
overridden method, rather than to any method that can accept similar
    parameters as the current one (Delphi-compatible, and corresponds to
    what is described in our documentation)
  * do not flag "inherited" call nodes that are not "anonymous inherited"
    calls using the cnf_anon_inherited flag

git-svn-id: trunk@18162 -
2011-08-10 17:26:19 +00:00
pierre
2b54f5f961 Add test for bug report 7210
git-svn-id: trunk@18153 -
2011-08-09 13:32:47 +00:00
pierre
7b5196a4bc Test fix of infinite loop in PUSH/POP directives
git-svn-id: trunk@18142 -
2011-08-07 20:44:55 +00:00
marco
043e9b2ec2 * Trunk version to 2.7.1
git-svn-id: trunk@18075 -
2011-08-03 13:59:33 +00:00
marco
39d7bb511d * Regenned all makefiles before 2.6.x branching.
git-svn-id: trunk@18073 -
2011-08-03 13:41:52 +00:00
Jonas Maebe
da3fb5de0f * prevent double freeing temps containing int64-sized parameters
(mantis #19700)

git-svn-id: trunk@18053 -
2011-08-01 17:12:45 +00:00
Jonas Maebe
e7b85a6175 - removed cleaning ../../rtl and ../../packages when performing a
"make distclean" in the tests directory after r17782, because that
    breaks doing a "make FPC=newppc TEST_FPC=newppc distclean all digest"
    (because first the distclean will wipe away the rtl, and then the
     newppc will try to use it to compile the utilities etc).

    "make distclean" in the tests directory should only clean stuff
    under tests, nothing in parent directories. If you want to recompile
    the rtl, then do so before running the tests and don't rely on the
    makefile in tests to do that for you.

git-svn-id: trunk@18052 -
2011-08-01 16:32:30 +00:00
sergei
32c868d83e * Modified test so recent Windows TLS changes do not break it (these changes cause threadvar Output to move from .bss to thread-local storage, and heaptrc no longer treats it as a valid pointer). Adding support for tls pointer checks to heaptrc could solve this, too (and would be fine anyway), but it is a separate issue. This test is about checking pointers from .data and .bss.
git-svn-id: trunk@18020 -
2011-07-25 22:38:33 +00:00
sergei
4d0e8ca896 * Fixed compilation of the test after r16326
git-svn-id: trunk@18017 -
2011-07-25 05:29:51 +00:00
sergei
e32317bca4 * Fixed x86_64 compilation further (rev. 17940 was not enough).
git-svn-id: trunk@17983 -
2011-07-12 13:42:27 +00:00
pierre
c529921fc8 * clarify environment processing
git-svn-id: trunk@17942 -
2011-07-06 16:23:10 +00:00
pierre
51b867e6c3 Fix USEENV, export DOTESTENV was missing
git-svn-id: trunk@17941 -
2011-07-06 16:18:05 +00:00
sergei
c32e4b291e * Fixed compilation for x86_64-win64
git-svn-id: trunk@17940 -
2011-07-06 09:39:50 +00:00
florian
570f3c4b39 * merges recent class helper fixes by Sven Barth
git-svn-id: trunk@17887 -
2011-06-30 18:54:46 +00:00
pierre
72f2d37bac Correct last wrong commit.
+ Use Get_Frame function instead of assmebler code.
  + Add a check for FPU stack on i386.

git-svn-id: trunk@17885 -
2011-06-30 14:48:20 +00:00
pierre
e98c62cb68 * Also check that there is no FPU stack overrun on i386 CPU
git-svn-id: trunk@17884 -
2011-06-30 14:12:21 +00:00
Jonas Maebe
b2c8088d1c * don't use assembler stack checking code if FPC_PIC is defined, because the
assembler code is not pic-safe

git-svn-id: trunk@17880 -
2011-06-29 20:41:58 +00:00
pierre
547b6bbecb * Add stack checking to test
git-svn-id: trunk@17878 -
2011-06-29 20:25:51 +00:00
pierre
75dde8ab46 * Restrict test to interactive
git-svn-id: trunk@17870 -
2011-06-29 14:38:54 +00:00
pierre
29ca78c6e3 * Check that two $WARN are OK
git-svn-id: trunk@17869 -
2011-06-29 14:31:10 +00:00
florian
990add9272 * fixed non short boolean evaluation of <64 bit bool> and/or <64 bit bool> on non-64 bit cpus
* extended test for new pas boolean types

git-svn-id: branches/pasboolxx@17841 -
2011-06-26 21:01:59 +00:00
florian
589d061c3d * when comparing overridden methods, ignore hidden parameters because overridden methods does not
need to repeat a calling convention specifier so if the calling convention specifier 
  influences the hidden parameters, the methods are not considered equal, resolves #19159

git-svn-id: trunk@17832 -
2011-06-26 12:34:59 +00:00
florian
6e1d5e0aa0 * handle pointer+type param. correctly, resolves #19548
* convert exit(x) into result:=x; exit;, enables further optimizations in the future

git-svn-id: trunk@17829 -
2011-06-25 18:05:49 +00:00
pierre
405655ba60 + Skip library tests for go32v2 target
git-svn-id: trunk@17817 -
2011-06-24 10:11:19 +00:00
pierre
a0f7356edc * New DLL overloading tests
git-svn-id: trunk@17812 -
2011-06-23 21:14:01 +00:00
florian
01f07ae466 + forgotten test for r17808
git-svn-id: trunk@17811 -
2011-06-23 21:03:17 +00:00
florian
8e7f39f176 * constant evaluation of ror/rol if they are internally handled, resolves #6300
* renamed rox_x_x to rox_x_y

git-svn-id: trunk@17810 -
2011-06-23 20:54:08 +00:00
Jonas Maebe
19fb48dfa9 * prefer "any array" -> "open array" over "single element" -> "open array"
conversions, instead failing to choose the best overload (Delphi-compatible)

git-svn-id: trunk@17800 -
2011-06-22 19:32:28 +00:00
pierre
256c58d670 * Fix SetTargetDirectoriesStyle , needed a call to GetCompilerTarget first
git-svn-id: trunk@17796 -
2011-06-22 15:42:58 +00:00
pierre
0555757247 * Fix executable name import
git-svn-id: trunk@17790 -
2011-06-22 07:40:24 +00:00
pierre
3818ae0db2 + Added missing %norun or %needlibrary for libraries
git-svn-id: trunk@17789 -
2011-06-22 07:16:06 +00:00
pierre
c4d43cfd59 * Restrict all tests to win32 and win64 targets
* Rename executables so the DLL are generated before.

git-svn-id: trunk@17788 -
2011-06-22 07:05:54 +00:00
pierre
3874bc7d74 + Check that dll imports in units also works
git-svn-id: trunk@17785 -
2011-06-21 19:56:55 +00:00
pierre
e4a16a8225 + Two new windows DLL tests added
git-svn-id: trunk@17783 -
2011-06-21 11:52:02 +00:00
pierre
81f722237d + Added distclean target to units/Makefile.fpc
+ also run $(MAKE) -C units distclean for distclean at tests directory level.

git-svn-id: trunk@17782 -
2011-06-21 09:25:30 +00:00
pierre
d0b2c8c9bb + USEENV for dotest calls to use !ENV_NAME as unique program parameter
that contians all parameters.
  + vpath %.o $(C_SUBDIR) and direct %.o from %.c or %.cc rule
    use TEST_CCOMPILER
  + test/library subdirectory added

git-svn-id: trunk@17781 -
2011-06-21 07:23:31 +00:00
pierre
ede0a5a929 * Restrict test to Windows OS
git-svn-id: trunk@17778 -
2011-06-20 21:07:23 +00:00
pierre
18f5b6c2a6 * Be more descriptive in test output
git-svn-id: trunk@17777 -
2011-06-20 15:50:54 +00:00
pierre
c2b9bec684 * Added test for double library entry with same name
git-svn-id: trunk@17776 -
2011-06-20 15:45:44 +00:00
florian
c7aa9e40cf * fixed test, alignment directives require a = between type and value
git-svn-id: trunk@17759 -
2011-06-14 20:48:02 +00:00
joost
96ec37aa92 * Fixed multiplying negative tBCD values
git-svn-id: trunk@17744 -
2011-06-13 17:12:49 +00:00
pierre
9f919b942a + Support !ENV_VAR option and separate ExeExt for target from SrcExeExt for cross-testing
git-svn-id: trunk@17696 -
2011-06-08 14:55:30 +00:00
florian
93e53e1990 * allow also smaller values for code alignment parameters than the current one, resolves #19463
* limit code alignment parameters to power of 2 up to 256
* give an error for an invalid code alignment directive

git-svn-id: trunk@17659 -
2011-06-04 20:56:15 +00:00
joost
45bc3fcae0 * Enabled safecall on x86_64-linux
git-svn-id: trunk@17629 -
2011-06-02 10:43:18 +00:00
sergei
e3050439a8 * Reverted r17556 and replaced it with more generic handling of 'rela'-styled relocations. Resolves #19416.
+ Test case added to existing test/ulib2a.pp.

git-svn-id: trunk@17580 -
2011-05-27 18:19:08 +00:00