mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2026-02-04 08:14:51 +01:00
* fix maximum common alignment calculation in g_concatcopy() (if the second
parameter of newalignment() is larger than the first, the result is always
1)
git-svn-id: trunk@34295 -
This commit is contained in:
parent
c90b5773b9
commit
a83f3c1a45
@ -1124,7 +1124,7 @@ implementation
|
||||
a_loadaddr_ref_cgpara(list,size,dest,destpara);
|
||||
a_loadaddr_ref_cgpara(list,size,source,sourcepara);
|
||||
a_load_const_cgpara(list,u64inttype,size.size,sizepara);
|
||||
maxalign:=newalignment(source.alignment,dest.alignment);
|
||||
maxalign:=newalignment(max(source.alignment,dest.alignment),min(source.alignment,dest.alignment));
|
||||
a_load_const_cgpara(list,u32inttype,maxalign,alignpara);
|
||||
{ we don't know anything about volatility here, should become an extra
|
||||
parameter to g_concatcopy }
|
||||
|
||||
Loading…
Reference in New Issue
Block a user