mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-31 13:30:27 +02:00
Allow cycle to finish successfully with -dEXTDEBUG without ALLOW_WARNINGS=1
This commit is contained in:
parent
6d3e3d06e2
commit
92cc78e723
@ -218,7 +218,11 @@ implementation
|
||||
begin
|
||||
if ((p.location.loc=loc_register) and (p.expectloc=loc_cregister))
|
||||
or ((p.location.loc=loc_fpuregister) and (p.expectloc=loc_cfpuregister))
|
||||
or ((p.location.loc=loc_reference) and (p.expectloc=loc_creference)) then
|
||||
{$ifdef SUPPORT_MMX}
|
||||
or ((p.location.loc=loc_mmxregister) and (p.expectloc=loc_cmmxregister))
|
||||
{$endif SUPPORT_MMX}
|
||||
or ((p.location.loc=loc_reference) and (p.expectloc=loc_creference))
|
||||
or ((p.location.loc=loc_void) and (p.nodetype = calln)) then
|
||||
Comment(V_Note,'Location ('+tcgloc2str[p.location.loc]+') not equal to expectloc ('+tcgloc2str[p.expectloc]+'): '+nodetype2str[p.nodetype])
|
||||
else
|
||||
Comment(V_Warning,'Location ('+tcgloc2str[p.location.loc]+') not equal to expectloc ('+tcgloc2str[p.expectloc]+'): '+nodetype2str[p.nodetype]);
|
||||
|
Loading…
Reference in New Issue
Block a user