fixes the --verbosity:2 regression [backport]

This commit is contained in:
Andreas Rumpf 2019-09-24 01:30:53 +02:00
commit 13960066cb

View file

@ -727,7 +727,7 @@ proc `$`*(c: IdeCmd): string =
proc floatInt64Align*(conf: ConfigRef): int16 = proc floatInt64Align*(conf: ConfigRef): int16 =
## Returns either 4 or 8 depending on reasons. ## Returns either 4 or 8 depending on reasons.
if conf.target.targetCPU == cpuI386: if conf != nil and conf.target.targetCPU == cpuI386:
#on Linux/BSD i386, double are aligned to 4bytes (except with -malign-double) #on Linux/BSD i386, double are aligned to 4bytes (except with -malign-double)
if conf.target.targetOS != osWindows: if conf.target.targetOS != osWindows:
# on i386 for all known POSIX systems, 64bits ints are aligned # on i386 for all known POSIX systems, 64bits ints are aligned