Commit Graph

25950 Commits

Author SHA1 Message Date
florian
c7100799ed + forbid usage of $E on targets supporting no fpu emulation
- disabled -Cfsoft on i386

git-svn-id: trunk@7625 -
2007-06-10 17:03:26 +00:00
yury
eac1c293e4 * fixed "EInOutError : File not found" exception if .rc file not found.
git-svn-id: trunk@7624 -
2007-06-10 13:04:56 +00:00
Jonas Maebe
b998cb1208 * changed so it still fails now that you can take the address of some
fields of bitpacked records

git-svn-id: trunk@7621 -
2007-06-10 11:55:05 +00:00
Jonas Maebe
172f85c8c3 * fixed important typo in better comments :)
git-svn-id: trunk@7618 -
2007-06-09 20:37:26 +00:00
Jonas Maebe
e93d612f4a * fixed FFreeOnTerminate handing in destructor + better comments
git-svn-id: trunk@7617 -
2007-06-09 20:36:35 +00:00
Jonas Maebe
51ebaa592f * fixed tests/webtbf/tb0041 broken by r7603: check whether ordinals
are compatible before optimizing the checks away

git-svn-id: trunk@7616 -
2007-06-09 20:17:46 +00:00
Jonas Maebe
c77d74127b * fixed some record size checks
(some are still broken, but can't be fixed currently because
    def.size/sym.getsize return an aint, which means low(aint)
    in case of structures with a size = high(aint)+1)

git-svn-id: trunk@7614 -
2007-06-09 19:48:14 +00:00
florian
0e96eda236 + some sse4 instructions supported, resolves #9046
git-svn-id: trunk@7613 -
2007-06-09 19:45:06 +00:00
florian
fe69d19f9c * align stack properly if no stack frame is generated, should resolve #8986
git-svn-id: trunk@7611 -
2007-06-09 18:46:35 +00:00
Jonas Maebe
10341eabaa * don't allow taking the address of ordinal bitpacked array elements
whose size is not a power of two
  + some more packed array/record tests

git-svn-id: trunk@7610 -
2007-06-09 18:13:04 +00:00
Jonas Maebe
2af8ca7a19 * allow taking the address of fields of packed records iff
* their offset is a multiple of 8 bits; and
   * their size is a multiple of 8 bits; and
   * if it's a range type, the size is also a power of 2

git-svn-id: trunk@7609 -
2007-06-09 17:52:20 +00:00
Jonas Maebe
22c1d5915e * enable break and continue in macpas mode (mantis #9032)
git-svn-id: trunk@7608 -
2007-06-09 17:23:11 +00:00
Jonas Maebe
20b99dade3 - reverted r7600, see additional comments in mantis #9027
git-svn-id: trunk@7606 -
2007-06-09 17:14:28 +00:00
Jonas Maebe
044e616bea * added packrecords statement so the test compiles on all systems regardless
of the default packrecords value

git-svn-id: trunk@7605 -
2007-06-09 17:05:35 +00:00
marco
b846f2596e * Fix for 9220 for socket2text stuff too
git-svn-id: trunk@7604 -
2007-06-09 14:24:13 +00:00
daniel
60dee7fcf0 + New optimization: Comparisions with evaluate to true or false if the
constant is outside the range of type bounds of the left expression.
    I.e. "if a>0" evaluates to true if a is declared with type 1..10,
    as all legal values of a are greater than zero.

git-svn-id: trunk@7603 -
2007-06-09 14:03:56 +00:00
marco
8bae130fcb * fix for bug #9022 (merge)
git-svn-id: trunk@7602 -
2007-06-09 13:12:16 +00:00
daniel
bce3ea4373 + Added types UnsignedByte,UnsignedWord,UnsignedLong, suggestion by
Adriaan van Os, (Mantis #9030)

git-svn-id: trunk@7601 -
2007-06-09 07:37:03 +00:00
Jonas Maebe
5a8679131f + support for new/dispose with extra size parameter in macpas mode
(mantis #9027)

git-svn-id: trunk@7600 -
2007-06-08 18:02:31 +00:00
Jonas Maebe
de75b34dba * fixed another IE with indexing bitpacked arrays of composite types,
this time with constant rather than variable indices

git-svn-id: trunk@7599 -
2007-06-08 13:53:01 +00:00
Jonas Maebe
445d116b78 * added missing {$mode macpas}
git-svn-id: trunk@7598 -
2007-06-08 13:44:57 +00:00
Jonas Maebe
5b24374cc2 * workaround for a bug in the assembler, linker or gdb on Mac OS X whereby
files with debuginfo but without any code could mess up the symbol
    tables used/built by gdb, resulting in various problems when debugging.
    The same workaround is used in gcc by Apple (mantis #9011)

git-svn-id: trunk@7597 -
2007-06-08 12:29:30 +00:00
Jonas Maebe
65e35ac401 * fixed internal error with bitpacked arrays of composite types whose
size is not a power of two

git-svn-id: trunk@7596 -
2007-06-08 09:11:08 +00:00
michael
1ba2224a3e * Russian translation by Maxim Ganetsky
git-svn-id: trunk@7595 -
2007-06-08 07:36:02 +00:00
daniel
616fc0afcc * Adjust indent.
git-svn-id: trunk@7591 -
2007-06-06 20:10:35 +00:00
daniel
fe5118e903 * Reduce false positives of type_h_use_div_for_int.
git-svn-id: trunk@7590 -
2007-06-06 19:50:04 +00:00
Jonas Maebe
4dd3be0e5a * return thread function result via pthread_exit() from CBeginThread
(Vinzent Hoefler)
  * simplified CWaitForThreadTerminate based on comments from Vinzent
    Hoefler
  * fixed resource leaks where in some cases a pthread would not be
    reaped based on comments from Vinzent Hoefler (resolves #9016)

git-svn-id: trunk@7588 -
2007-06-06 15:18:48 +00:00
florian
af352cda24 Merged revisions 7586 via svnmerge from
http://svn.freepascal.org/svn/fpc/branches/ssa/compiler

........
  r7586 | florian | 2007-06-05 20:19:26 +0200 (Di, 05 Jun 2007) | 1 line
  
  * updates from Karl-Michael Schindler
........

git-svn-id: trunk@7587 -
2007-06-05 18:22:54 +00:00
pierre
953f5ce772 netware now has GetLastOSError
git-svn-id: trunk@7585 -
2007-06-05 09:37:17 +00:00
pierre
e3164530b8 * use __get_errno_ptr to implement GetLastOSError
git-svn-id: trunk@7584 -
2007-06-05 09:36:05 +00:00
pierre
2148281785 netwlibc now has GetLastOSError
git-svn-id: trunk@7583 -
2007-06-05 09:29:27 +00:00
pierre
f932ccbc59 * use libc unit GetLastError to implement GetLastOSError
git-svn-id: trunk@7582 -
2007-06-05 09:22:40 +00:00
pierre
6774847103 remove syncobjs from netwlibc target list
git-svn-id: trunk@7581 -
2007-06-05 09:04:43 +00:00
daniel
d6e6e39d16 * Minor changes.
git-svn-id: trunk@7580 -
2007-06-05 07:53:55 +00:00
daniel
023be72367 + Pascal conversion of Stream benchmark.
git-svn-id: trunk@7579 -
2007-06-05 07:06:01 +00:00
pierre
69f0d253be * Never disable Ctrl+F9 if it is Continue
git-svn-id: trunk@7578 -
2007-06-04 22:01:20 +00:00
pierre
d7ed6209a9 * more switches updates
git-svn-id: trunk@7577 -
2007-06-04 15:01:39 +00:00
yury
6fca51ea11 * fixed declaration of TWIN32FINDDATA.
git-svn-id: trunk@7572 -
2007-06-03 23:01:49 +00:00
florian
8e3ade9f1f Merged revisions 7567 via svnmerge from
http://svn.freepascal.org/svn/fpc/branches/ssa/compiler

........
  r7567 | florian | 2007-06-03 22:53:07 +0200 (So, 03 Jun 2007) | 2 lines
  
  * better code generation for op_reg_reg_reg if src1 and dst are equal
........

git-svn-id: trunk@7569 -
2007-06-03 21:02:17 +00:00
florian
66f4eb1420 * tracking for merges from ssa branch
git-svn-id: trunk@7568 -
2007-06-03 20:55:49 +00:00
marco
a123ec0d14 * More deprecated.
git-svn-id: trunk@7566 -
2007-06-03 18:55:36 +00:00
florian
63b35fdb2e + give more sophisticated warnings about uninitalized variables when life info is available
git-svn-id: trunk@7562 -
2007-06-03 17:35:48 +00:00
florian
2761b9e096 * life info generation works for the whole compiler if exception catching blocks are ignored
git-svn-id: trunk@7561 -
2007-06-03 16:37:59 +00:00
florian
496d73dc9d + dfa for more node types
git-svn-id: trunk@7560 -
2007-06-03 10:33:50 +00:00
michael
b5e048691c * Fixed writing of untyped file
git-svn-id: trunk@7557 -
2007-06-02 22:17:45 +00:00
yury
73b8fba64b * fixed linking with eVC++ object files (bug #8542).
git-svn-id: trunk@7556 -
2007-06-02 22:14:35 +00:00
florian
36471608c1 * fixed regression caused by r7180
git-svn-id: trunk@7555 -
2007-06-02 20:35:17 +00:00
Jonas Maebe
f32621610f * fixed sse detection
git-svn-id: trunk@7554 -
2007-06-02 19:58:18 +00:00
florian
80d55022e9 * tried to fix SSE OS support detection
git-svn-id: trunk@7553 -
2007-06-02 19:26:06 +00:00
florian
3227550175 * commctrl compiles, added to the makefile, resolves #8994
git-svn-id: trunk@7552 -
2007-06-02 19:04:12 +00:00