mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-09 21:48:35 +02:00
* set minimum alignment for pchar to 1 instead of 0 (llvm doesn't
support alignment 0) git-svn-id: trunk@32405 -
This commit is contained in:
parent
7b93e40530
commit
8d8851afd6
@ -827,7 +827,7 @@ function get_next_varsym(def: tabstractrecorddef; const SymList:TFPHashObjectLis
|
||||
if node.nodetype=stringconstn then
|
||||
varalign:=size_2_align(tstringconstnode(node).len)
|
||||
else
|
||||
varalign:=0;
|
||||
varalign:=1;
|
||||
varalign:=const_align(varalign);
|
||||
{ represent the string data as an array }
|
||||
if node.nodetype=stringconstn then
|
||||
|
Loading…
Reference in New Issue
Block a user