Jonas Maebe 
							
						 
					 
					
						
						
						
						
							
						
						
							765fe2b2ab 
							
						 
					 
					
						
						
							
							* fixed bug  #4737  (check for potential range errors in for-loop  
						
						... 
						
						
						
						assignment, report correct column for potential range errors of
    call parameters)
  * refactored code to check potential range check errors (check_ranges
    in htypechk)
git-svn-id: trunk@2501 - 
						
					 
					
						2006-02-09 17:39:22 +00:00 
						 
				 
			
				
					
						
							
							
								Jonas Maebe 
							
						 
					 
					
						
						
						
						
							
						
						
							7edc9d0e6a 
							
						 
					 
					
						
						
							
							* also perform initialised checking for out-parameter, and set the  
						
						... 
						
						
						
						initialised state of value/const/var parameters to initialised
git-svn-id: trunk@2487 - 
						
					 
					
						2006-02-08 20:33:15 +00:00 
						 
				 
			
				
					
						
							
							
								Jonas Maebe 
							
						 
					 
					
						
						
						
						
							
						
						
							c15b500e32 
							
						 
					 
					
						
						
							
							+ warn if a static variable is read but not assigned (tw4781*)  
						
						... 
						
						
						
						git-svn-id: trunk@2472 - 
						
					 
					
						2006-02-07 21:23:02 +00:00 
						 
				 
			
				
					
						
							
							
								peter 
							
						 
					 
					
						
						
						
						
							
						
						
							232555904e 
							
						 
					 
					
						
						
							
							* symtablestack cleanup and rewrite  
						
						... 
						
						
						
						git-svn-id: trunk@2448 - 
						
					 
					
						2006-02-05 22:24:18 +00:00 
						 
				 
			
				
					
						
							
							
								peter 
							
						 
					 
					
						
						
						
						
							
						
						
							301042c824 
							
						 
					 
					
						
						
							
							* more check_hints fixes  
						
						... 
						
						
						
						git-svn-id: trunk@2445 - 
						
					 
					
						2006-02-05 20:18:57 +00:00 
						 
				 
			
				
					
						
							
							
								Jonas Maebe 
							
						 
					 
					
						
						
						
						
							
						
						
							9fd4e98dad 
							
						 
					 
					
						
						
							
							* fixed displaying of hints such for procedures and functions  
						
						... 
						
						
						
						(and moved check_hints from pbase to htypechk)
git-svn-id: trunk@2417 - 
						
					 
					
						2006-02-03 18:14:13 +00:00 
						 
				 
			
				
					
						
							
							
								Jonas Maebe 
							
						 
					 
					
						
						
						
						
							
						
						
							f6864a653f 
							
						 
					 
					
						
						
							
							* don't warn about possible use of uninitialised function results of  
						
						... 
						
						
						
						parent procedures in nested procedures (bug 4675)
git-svn-id: trunk@2287 - 
						
					 
					
						2006-01-14 15:34:38 +00:00 
						 
				 
			
				
					
						
							
							
								Jonas Maebe 
							
						 
					 
					
						
						
						
						
							
						
						
							9bb86eb411 
							
						 
					 
					
						
						
							
							* never make vs_var or vs_out variabled non-regable, unless it's an  
						
						... 
						
						
						
						access from a nested procedure. This allows keeping the address
    of large function results like shortstrings in a register,
    because they were always made non-regable by a typeconversionnode
    due to the fact that they are aliased by an absolute alias.
git-svn-id: trunk@2140 - 
						
					 
					
						2006-01-03 15:37:49 +00:00 
						 
				 
			
				
					
						
							
							
								Jonas Maebe 
							
						 
					 
					
						
						
						
						
							
						
						
							021dabc37e 
							
						 
					 
					
						
						
							
							* also honour vsf_use_hints for uninitialised warnings for the  
						
						... 
						
						
						
						function result variable
git-svn-id: trunk@2052 - 
						
					 
					
						2005-12-26 14:44:03 +00:00 
						 
				 
			
				
					
						
							
							
								Jonas Maebe 
							
						 
					 
					
						
						
						
						
							
						
						
							857664a5d4 
							
						 
					 
					
						
						
							
							* fixed tw4554:  
						
						... 
						
						
						
						* proper uninitialized checking for arrays
    * first check uninitialized status of right side of assignment
      before setting the left side to "written" (-> catch "x:=x" if
      x is uninitialized)
git-svn-id: trunk@2038 - 
						
					 
					
						2005-12-23 21:08:48 +00:00 
						 
				 
			
				
					
						
							
							
								Jonas Maebe 
							
						 
					 
					
						
						
						
						
							
						
						
							62cbd007f1 
							
						 
					 
					
						
						
							
							* indexes in vecn's are only read, not written  
						
						... 
						
						
						
						git-svn-id: trunk@1976 - 
						
					 
					
						2005-12-17 15:20:33 +00:00 
						 
				 
			
				
					
						
							
							
								Jonas Maebe 
							
						 
					 
					
						
						
						
						
							
						
						
							42ec76598c 
							
						 
					 
					
						
						
							
							* new categories for vs_*: vs_declared, vs_initialised, vs_read,  
						
						... 
						
						
						
						vs_written, vs_readwritten. vs_initialised is the old vs_assigned;
    vs_used has been replaced by vs_read, vs_written and vs_readwritten
  * the valid_for_*() routines in htypechk now get an extra parameter to
    decide whether or not errors should be reported
git-svn-id: trunk@1913 - 
						
					 
					
						2005-12-10 16:51:26 +00:00 
						 
				 
			
				
					
						
							
							
								Jonas Maebe 
							
						 
					 
					
						
						
						
						
							
						
						
							7996bb3b06 
							
						 
					 
					
						
						
							
							* fixed showing of warnings for uninitialised function results  
						
						... 
						
						
						
						git-svn-id: trunk@1897 - 
						
					 
					
						2005-12-07 16:12:01 +00:00 
						 
				 
			
				
					
						
							
							
								peter 
							
						 
					 
					
						
						
						
						
							
						
						
							f9db030350 
							
						 
					 
					
						
						
							
							* fix overload choosing if both normal proc and proc of object are available  
						
						... 
						
						
						
						git-svn-id: trunk@1496 - 
						
					 
					
						2005-10-19 07:56:08 +00:00 
						 
				 
			
				
					
						
							
							
								peter 
							
						 
					 
					
						
						
						
						
							
						
						
							260861e184 
							
						 
					 
					
						
						
							
							* calculate distance between related objectdefs  
						
						... 
						
						
						
						git-svn-id: trunk@1492 - 
						
					 
					
						2005-10-19 06:38:29 +00:00 
						 
				 
			
				
					
						
							
							
								peter 
							
						 
					 
					
						
						
						
						
							
						
						
							89297d2c39 
							
						 
					 
					
						
						
							
							* move all stabs ($ifdef gdb) code to dbgstabs  
						
						... 
						
						
						
						git-svn-id: trunk@1255 - 
						
					 
					
						2005-10-02 11:17:05 +00:00 
						 
				 
			
				
					
						
							
							
								peter 
							
						 
					 
					
						
						
						
						
							
						
						
							62972054c4 
							
						 
					 
					
						
						
							
							* allow deref of loop variable  
						
						... 
						
						
						
						git-svn-id: trunk@981 - 
						
					 
					
						2005-08-30 05:51:39 +00:00 
						 
				 
			
				
					
						
							
							
								Jonas Maebe 
							
						 
					 
					
						
						
						
						
							
						
						
							ac445c97c1 
							
						 
					 
					
						
						
							
							* fixed webtbf/tw4244  
						
						... 
						
						
						
						git-svn-id: trunk@779 - 
						
					 
					
						2005-08-02 18:30:33 +00:00 
						 
				 
			
				
					
						
							
							
								peter 
							
						 
					 
					
						
						
						
						
							
						
						
							f3cefd7a07 
							
						 
					 
					
						
						
							
							* check precision of floats for determining overload to call,  
						
						... 
						
						
						
						patch by Gerhard Scholz
git-svn-id: trunk@536 - 
						
					 
					
						2005-06-30 07:32:40 +00:00 
						 
				 
			
				
					
						
							
							
								peter 
							
						 
					 
					
						
						
						
						
							
						
						
							1abbfcc698 
							
						 
					 
					
						
						
							
							* don't allow assignments to properties that need a call  
						
						... 
						
						
						
						and generate a temp structure
git-svn-id: trunk@485 - 
						
					 
					
						2005-06-24 07:34:12 +00:00 
						 
				 
			
				
					
						
							
							
								peter 
							
						 
					 
					
						
						
						
						
							
						
						
							393101a64d 
							
						 
					 
					
						
						
							
							* allow passing read-only typedconsts to const parameters  
						
						... 
						
						
						
						git-svn-id: trunk@242 - 
						
					 
					
						2005-06-07 20:42:41 +00:00 
						 
				 
			
				
					
						
							
							
								peter 
							
						 
					 
					
						
						
						
						
							
						
						
							4766e62dd2 
							
						 
					 
					
						
						
							
							* allow temp strings to be passed to consts in delphi mode  
						
						... 
						
						
						
						git-svn-id: trunk@233 - 
						
					 
					
						2005-06-07 12:48:00 +00:00 
						 
				 
			
				
					
						
							
							
								florian 
							
						 
					 
					
						
						
						
						
							
						
						
							21038de78d 
							
						 
					 
					
						
						
							
							+ started with refactoring det_resulttype  
						
						... 
						
						
						
						+ dosimplify
* inlinenig makes use of dosimplify
git-svn-id: trunk@140 - 
						
					 
					
						2005-05-29 15:15:38 +00:00 
						 
				 
			
				
					
						
							
							
								florian 
							
						 
					 
					
						
						
						
						
							
						
						
							ac880214fc 
							
						 
					 
					
						
						
							
							* fixed passing function results to const formal defs, see tbs/tb0490.pp  
						
						... 
						
						
						
						git-svn-id: trunk@56 - 
						
					 
					
						2005-05-21 20:44:04 +00:00 
						 
				 
			
				
					
						
							
							
								fpc 
							
						 
					 
					
						
						
						
						
							
						
						
							790a4fe2d3 
							
						 
					 
					
						
						
							
							* log and id tags removed  
						
						... 
						
						
						
						git-svn-id: trunk@42 - 
						
					 
					
						2005-05-21 09:42:41 +00:00 
						 
				 
			
				
					
						
							
							
								fpc 
							
						 
					 
					
						
						
						
						
							
						
						
							50778076c3 
							
						 
					 
					
						
						
							
							initial import  
						
						... 
						
						
						
						git-svn-id: trunk@1 - 
						
					 
					
						2005-05-16 18:37:41 +00:00 
						 
				 
			
				
					
						
							
							
								peter 
							
						 
					 
					
						
						
						
						
							
						
						
							f11458e457 
							
						 
					 
					
						
						
							
							allow gettting the address of read-only typedconsts  
						
						
						
					 
					
						2005-04-25 08:59:07 +00:00 
						 
				 
			
				
					
						
							
							
								peter 
							
						 
					 
					
						
						
						
						
							
						
						
							88681a14c7 
							
						 
					 
					
						
						
							
							support string[index] for const/var assignment  
						
						
						
					 
					
						2005-04-08 15:18:32 +00:00 
						 
				 
			
				
					
						
							
							
								marco 
							
						 
					 
					
						
						
						
						
							
						
						
							8d69beb6ef 
							
						 
					 
					
						
						
							
							* from peter for bug  #3862  
						
						
						
					 
					
						2005-04-01 07:12:29 +00:00 
						 
				 
			
				
					
						
							
							
								peter 
							
						 
					 
					
						
						
						
						
							
						
						
							6e3d03da7e 
							
						 
					 
					
						
						
							
							valid_property is only used for calln. Fields are always allowed  
						
						
						
					 
					
						2005-03-28 15:04:40 +00:00 
						 
				 
			
				
					
						
							
							
								peter 
							
						 
					 
					
						
						
						
						
							
						
						
							3f9d6ab32f 
							
						 
					 
					
						
						
							
							* add hint when passing an uninitialized variable to a var parameter  
						
						
						
					 
					
						2005-03-25 22:20:18 +00:00 
						 
				 
			
				
					
						
							
							
								peter 
							
						 
					 
					
						
						
						
						
							
						
						
							5ed8259ff6 
							
						 
					 
					
						
						
							
							don't allow overloading orddef,enumdef.floatdef for unary operators  
						
						
						
					 
					
						2005-03-10 00:15:20 +00:00 
						 
				 
			
				
					
						
							
							
								peter 
							
						 
					 
					
						
						
						
						
							
						
						
							339fed5022 
							
						 
					 
					
						
						
							
							* allow assignment to elements of constant dyn array in delphi mode  
						
						
						
					 
					
						2005-02-20 13:12:22 +00:00 
						 
				 
			
				
					
						
							
							
								peter 
							
						 
					 
					
						
						
						
						
							
						
						
							e417e34496 
							
						 
					 
					
						
						
							
							* truncate log  
						
						
						
					 
					
						2005-02-14 17:13:06 +00:00 
						 
				 
			
				
					
						
							
							
								peter 
							
						 
					 
					
						
						
						
						
							
						
						
							3af83637d8 
							
						 
					 
					
						
						
							
							* allow more operations on integers with a typecast to pointer  
						
						
						
					 
					
						2005-02-14 16:45:00 +00:00 
						 
				 
			
				
					
						
							
							
								peter 
							
						 
					 
					
						
						
						
						
							
						
						
							cae7c0baee 
							
						 
					 
					
						
						
							
							* allow nil^ passed to var parameter  
						
						
						
					 
					
						2005-02-13 20:33:57 +00:00 
						 
				 
			
				
					
						
							
							
								florian 
							
						 
					 
					
						
						
						
						
							
						
						
							b060f8f10a 
							
						 
					 
					
						
						
							
							* delphi assumes dyn. array access make expressions l-values because it's internally a pointer  
						
						
						
					 
					
						2005-02-02 22:16:39 +00:00 
						 
				 
			
				
					
						
							
							
								florian 
							
						 
					 
					
						
						
						
						
							
						
						
							5007b3e395 
							
						 
					 
					
						
						
							
							* inherited; works now in delphi mode for private methods; looks like a delphi bug  
						
						
						
					 
					
						2005-02-01 22:50:50 +00:00 
						 
				 
			
				
					
						
							
							
								peter 
							
						 
					 
					
						
						
						
						
							
						
						
							b009240860 
							
						 
					 
					
						
						
							
							* fix overload choosing with an qword overload  
						
						... 
						
						
						
						* allow to get the address of string temps in delphi mode 
						
					 
					
						2005-01-25 18:49:45 +00:00 
						 
				 
			
				
					
						
							
							
								florian 
							
						 
					 
					
						
						
						
						
							
						
						
							2729f303a4 
							
						 
					 
					
						
						
							
							* taking the address of a resourcestring is allowed now  
						
						
						
					 
					
						2005-01-19 23:23:12 +00:00 
						 
				 
			
				
					
						
							
							
								peter 
							
						 
					 
					
						
						
						
						
							
						
						
							8d251e8506 
							
						 
					 
					
						
						
							
							* unit mapping rewrite  
						
						... 
						
						
						
						* new derefmap added 
						
					 
					
						2005-01-19 22:19:41 +00:00 
						 
				 
			
				
					
						
							
							
								florian 
							
						 
					 
					
						
						
						
						
							
						
						
							b41c21e6d2 
							
						 
					 
					
						
						
							
							* tmypointer(12435)^ is an l-value  
						
						
						
					 
					
						2005-01-19 20:53:27 +00:00 
						 
				 
			
				
					
						
							
							
								peter 
							
						 
					 
					
						
						
						
						
							
						
						
							8f8e6f6809 
							
						 
					 
					
						
						
							
							* widestring patches from Alexey Barkovoy  
						
						
						
					 
					
						2005-01-10 22:10:26 +00:00 
						 
				 
			
				
					
						
							
							
								peter 
							
						 
					 
					
						
						
						
						
							
						
						
							ed7084e0b6 
							
						 
					 
					
						
						
							
							* handle string-open array of (wide)char without variants  
						
						
						
					 
					
						2005-01-07 16:22:47 +00:00 
						 
				 
			
				
					
						
							
							
								peter 
							
						 
					 
					
						
						
						
						
							
						
						
							2b6456fe16 
							
						 
					 
					
						
						
							
							* procvar handling for tp procvar mode fixed  
						
						... 
						
						
						
						* proc to procvar moved from addrnode to typeconvnode
  * inlininginfo is now allocated only for inline routines that
    can be inlined, introduced a new flag po_has_inlining_info 
						
					 
					
						2004-12-05 12:28:10 +00:00 
						 
				 
			
				
					
						
							
							
								peter 
							
						 
					 
					
						
						
						
						
							
						
						
							7c144223ad 
							
						 
					 
					
						
						
							
							* fixed wrong calculation for checking default parameters  
						
						
						
					 
					
						2004-11-29 21:40:54 +00:00 
						 
				 
			
				
					
						
							
							
								peter 
							
						 
					 
					
						
						
						
						
							
						
						
							e740a66636 
							
						 
					 
					
						
						
							
							* tparaitem removed, use tparavarsym instead  
						
						... 
						
						
						
						* parameter order is now calculated from paranr value in tparavarsym 
						
					 
					
						2004-11-15 23:35:30 +00:00 
						 
				 
			
				
					
						
							
							
								peter 
							
						 
					 
					
						
						
						
						
							
						
						
							6458bd0ce1 
							
						 
					 
					
						
						
							
							* tvarsym splitted  
						
						
						
					 
					
						2004-11-08 22:09:58 +00:00 
						 
				 
			
				
					
						
							
							
								peter 
							
						 
					 
					
						
						
						
						
							
						
						
							6a0aa09b20 
							
						 
					 
					
						
						
							
							* give IE instead of crash when no procsym is passed for calln  
						
						
						
					 
					
						2004-11-01 16:58:57 +00:00 
						 
				 
			
				
					
						
							
							
								peter 
							
						 
					 
					
						
						
						
						
							
						
						
							adb6f59eef 
							
						 
					 
					
						
						
							
							* small regvar fixes  
						
						... 
						
						
						
						* loadref parameter removed from concatcopy,incrrefcount,etc 
						
					 
					
						2004-10-24 11:44:28 +00:00