mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-06 05:28:07 +02:00
* fixed alignment of reference used to set the first char of a 1-byte
shortstring git-svn-id: trunk@34300 -
This commit is contained in:
parent
f417ed6576
commit
f0bf3b364a
@ -752,6 +752,7 @@ implementation
|
||||
hlcg.g_ptrtypecast_ref(current_asmdata.CurrAsmList,cpointerdef.getreusable(left.resultdef),tpointerdef(charpointertype),href);
|
||||
hlcg.a_load_const_ref(current_asmdata.CurrAsmList,cansichartype,1,href);
|
||||
inc(href.offset,1);
|
||||
href.alignment:=1;
|
||||
case right.location.loc of
|
||||
LOC_REGISTER,
|
||||
LOC_CREGISTER :
|
||||
|
Loading…
Reference in New Issue
Block a user