mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 12:46:11 +02:00
* fix warnings when compiling the compiler with DFA optimizer enabled on PowerPC
git-svn-id: trunk@28501 -
This commit is contained in:
parent
0cf7357ee2
commit
6122db7d40
@ -73,6 +73,7 @@ interface
|
|||||||
tmpreg : tregister;
|
tmpreg : tregister;
|
||||||
useconst : boolean;
|
useconst : boolean;
|
||||||
begin
|
begin
|
||||||
|
tmpreg:=NR_NO;
|
||||||
// get the constant on the right if there is one
|
// get the constant on the right if there is one
|
||||||
if (left.location.loc = LOC_CONSTANT) then
|
if (left.location.loc = LOC_CONSTANT) then
|
||||||
swapleftright;
|
swapleftright;
|
||||||
@ -512,6 +513,8 @@ interface
|
|||||||
op1 := A_MULLW;
|
op1 := A_MULLW;
|
||||||
op2 := A_MULHWU
|
op2 := A_MULHWU
|
||||||
end;
|
end;
|
||||||
|
else
|
||||||
|
internalerror(2014082040);
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
current_asmdata.CurrAsmList.concat(taicpu.op_reg_reg_reg(op1,location.register64.reglo,
|
current_asmdata.CurrAsmList.concat(taicpu.op_reg_reg_reg(op1,location.register64.reglo,
|
||||||
@ -663,6 +666,8 @@ interface
|
|||||||
cgop := OP_OR;
|
cgop := OP_OR;
|
||||||
andn:
|
andn:
|
||||||
cgop := OP_AND;
|
cgop := OP_AND;
|
||||||
|
else
|
||||||
|
internalerror(2014082041);
|
||||||
end;
|
end;
|
||||||
if (left.location.loc = LOC_CONSTANT) then
|
if (left.location.loc = LOC_CONSTANT) then
|
||||||
swapleftright;
|
swapleftright;
|
||||||
|
@ -419,6 +419,7 @@ implementation
|
|||||||
op: tasmop;
|
op: tasmop;
|
||||||
|
|
||||||
begin
|
begin
|
||||||
|
src1:=NR_NO;
|
||||||
secondpass(left);
|
secondpass(left);
|
||||||
if is_64bit(left.resultdef) then
|
if is_64bit(left.resultdef) then
|
||||||
begin
|
begin
|
||||||
|
@ -205,13 +205,13 @@ var
|
|||||||
success : boolean;
|
success : boolean;
|
||||||
StripStr: string[40];
|
StripStr: string[40];
|
||||||
begin
|
begin
|
||||||
|
StripStr:='';
|
||||||
|
|
||||||
if not(cs_link_nolink in current_settings.globalswitches) then
|
if not(cs_link_nolink in current_settings.globalswitches) then
|
||||||
Message1(exec_i_linking,current_module.exefilename);
|
Message1(exec_i_linking,current_module.exefilename);
|
||||||
|
|
||||||
if UseVLink then
|
if UseVLink then
|
||||||
begin
|
begin
|
||||||
StripStr:='';
|
|
||||||
if (cs_link_strip in current_settings.globalswitches) then
|
if (cs_link_strip in current_settings.globalswitches) then
|
||||||
StripStr:='-s -P __abox__';
|
StripStr:='-s -P __abox__';
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user