daniel
92975a7c99
* Remove accidentally enabled winlikewidestring.
...
git-svn-id: trunk@7690 -
2007-06-16 18:27:00 +00:00
florian
01a4737b10
+ local symbols can hide class members in delphi mode
...
git-svn-id: trunk@7675 -
2007-06-15 21:41:55 +00:00
Jonas Maebe
62b3b307e0
* also process all subnodes of try-except and try-finally in
...
foreachnode(static) (fixes first example of mantis #9076 )
git-svn-id: trunk@7671 -
2007-06-15 17:36:09 +00:00
Jonas Maebe
ba95cc22ee
* only allow automatic type conversions of array constructors of
...
char to pchar/array of char, rather than of arbitrary array
constructors (mantis #9085 )
git-svn-id: trunk@7670 -
2007-06-15 17:16:44 +00:00
Jonas Maebe
02adc2b6ab
* fixed calling cdecl routines under win32 which return their result in
...
a structure whose address is passed by the caller (the caller is
responsible there to remove the address from the stack, unlike on
e.g. linux/i386 and darwin/i386) (mantis #9013 )
git-svn-id: trunk@7667 -
2007-06-15 12:48:12 +00:00
daniel
b034a88c9c
* Prevent range check error.
...
git-svn-id: trunk@7666 -
2007-06-15 07:53:47 +00:00
daniel
7934961490
* Fix browcol.
...
- Remove another obsolete uint64 test.
git-svn-id: trunk@7659 -
2007-06-14 08:33:19 +00:00
daniel
11c7fcef7b
* Cosmetic cleanup of constexprint leftovers.
...
git-svn-id: trunk@7657 -
2007-06-14 06:12:12 +00:00
daniel
2e57912288
* Fix remaining constexp issues: powerpc,libcurl,browcol
...
git-svn-id: trunk@7656 -
2007-06-13 21:42:02 +00:00
florian
bc678a2b90
* allow in delphi mode member classes in published sections which aren't compiled with $M+
...
git-svn-id: trunk@7655 -
2007-06-13 21:04:51 +00:00
daniel
b635d89ffa
* Fix overload selection code.
...
git-svn-id: trunk@7654 -
2007-06-13 20:49:13 +00:00
florian
078f6e05fa
* typos corrected
...
git-svn-id: trunk@7653 -
2007-06-13 20:49:09 +00:00
florian
c7037df254
+ classrefdef is assignment compatible to pointers in delphi mode
...
git-svn-id: trunk@7648 -
2007-06-13 20:21:33 +00:00
daniel
563b325382
- Remove another test for u64bit now unnecessary.
...
git-svn-id: trunk@7647 -
2007-06-13 14:04:21 +00:00
daniel
573aa1cd34
* Make powerpc compile again.
...
git-svn-id: trunk@7642 -
2007-06-13 11:05:15 +00:00
daniel
4703ae318b
* Change a loop counter from aint to integer; the "to" part of the loop
...
is of type integer. Fixes compiling ppcx64 with ppc386.
git-svn-id: trunk@7641 -
2007-06-13 08:02:21 +00:00
daniel
dc0d88b076
+ Forgot to add constexp unit.
...
git-svn-id: trunk@7640 -
2007-06-13 07:44:14 +00:00
daniel
9adb202a92
* Rework the constexprint to allow operations from low(int64) to high(qword).
...
+ Some initial work on a formaldef which also carries the typinfo of a parameter.
git-svn-id: trunk@7639 -
2007-06-13 07:41:18 +00:00
daniel
b15740c0e5
- Remove -Mgpc from command line options.
...
git-svn-id: trunk@7637 -
2007-06-13 06:13:51 +00:00
florian
54fc70395e
* experimental patch to fix #9059 and friends in case -Oodfa is used
...
git-svn-id: trunk@7635 -
2007-06-12 09:58:31 +00:00
Jonas Maebe
a087bb50d0
* fixed stabs debug info for bitpacked records
...
git-svn-id: trunk@7634 -
2007-06-12 09:32:02 +00:00
Jonas Maebe
af97f3350b
* fixed bitsize of qwords in bitpacked records (mantis #9054 )
...
git-svn-id: trunk@7632 -
2007-06-11 09:11:42 +00:00
Jonas Maebe
8d13899d84
* fixed memory leak in conversion of realconstn to currency
...
git-svn-id: trunk@7630 -
2007-06-10 22:02:53 +00:00
Jonas Maebe
9b198fb1d7
* fixed memory leak in debug info generation for bitpacked records
...
git-svn-id: trunk@7629 -
2007-06-10 22:02:11 +00:00
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
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
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
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
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
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
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
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
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
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
pierre
43f72f56f9
* fix 'ppc386 -F' crash
...
git-svn-id: trunk@7546 -
2007-06-01 22:50:37 +00:00
Jonas Maebe
2fe79903d6
* added missing "reserved" field to new code page files to fix warnings
...
git-svn-id: trunk@7537 -
2007-05-31 15:07:48 +00:00