Ver Fonte

* don't give an IE with extdebug on darwin if a symbol is "re-allocated"
with a wrong type, because we can't know the type of a symbol in the
CG

git-svn-id: trunk@2194 -

Jonas Maebe há 19 anos atrás
pai
commit
0da53e4ff0
1 ficheiros alterados com 2 adições e 1 exclusões
  1. 2 1
      compiler/aasmbase.pas

+ 2 - 1
compiler/aasmbase.pas

@@ -782,7 +782,8 @@ implementation
            {$IFDEF EXTDEBUG}
            if (_typ <> AT_NONE) and
               (hp.typ <> _typ) and
-              not(cs_compilesystem in aktmoduleswitches) then
+              not(cs_compilesystem in aktmoduleswitches) and
+              (target_info.system <> system_powerpc_darwin) then
              begin
                //Writeln('Error symbol '+hp.name+' type is ',Ord(_typ),', should be ',Ord(hp.typ));
                InternalError(2004031501);