diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2019-09-24 01:30:53 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2019-09-24 01:31:03 +0200 |
commit | 13960066cbc376849288792bc20599396a03a0a9 (patch) | |
tree | 34824fe89c5395e28b386fc3be409a3eefd022e2 /compiler/options.nim | |
parent | f7a8fc46c0012033917582eb740dc0343c093e35 (diff) | |
download | Nim-13960066cbc376849288792bc20599396a03a0a9.tar.gz |
fixes the --verbosity:2 regression [backport]
Diffstat (limited to 'compiler/options.nim')
-rw-r--r-- | compiler/options.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/options.nim b/compiler/options.nim index da01937fe..e96c20b7c 100644 --- a/compiler/options.nim +++ b/compiler/options.nim @@ -727,7 +727,7 @@ proc `$`*(c: IdeCmd): string = proc floatInt64Align*(conf: ConfigRef): int16 = ## 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) if conf.target.targetOS != osWindows: # on i386 for all known POSIX systems, 64bits ints are aligned |