Bug 564 – Setting predefined versions on the command line causes crashes

Status
RESOLVED
Resolution
FIXED
Severity
major
Priority
P2
Component
dmd
Product
D
Version
D1 (retired)
Platform
x86
OS
Windows
Creation time
2006-11-18T12:35:00Z
Last change time
2016-03-19T20:22:20Z
Keywords
diagnostic, ice-on-invalid-code, ice-on-valid-code
Assigned to
bugzilla
Creator
matti.niemenmaa+dbugzilla

Comments

Comment #0 by matti.niemenmaa+dbugzilla — 2006-11-18T12:35:34Z
Compiling any file with predefined versions set causes random errors. My results, compiling a file containing only "void main() {}": -version=X86: Error: version identifier '⌂▲♥éà▲♥éï▲♥éæ▲♥éù▲♥éØ▲♥éú▲♥é®▲♥é»▲♥éÁ▲♥é╗▲♥é┴▲♥éÃ▲♥é═▲♥éË▲♥é┘▲♥é▀▲♥éÕ▲♥éÙ ▲♥é±▲♥é¸▲♥é²▲♥é♣▼♥é♂▼♥é◄▼♥é↨▼♥é↔▼♥é▲▼♥é▼▼♥é ▼♥é!▼♥é"▼♥é#▼♥é$▼♥é%▼♥é&▼♥é'▼♥é(▼♥é' is reserved and cannot be set -version=all: Error: version identifier '' is reserved and cannot be set -version=(any of the other listed predefined versions at http://www.digitalmars.com/d/version.html#version): DMD crash
Comment #1 by thomas-dloop — 2006-11-22T07:50:23Z
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 [email protected] schrieb am 2006-11-18: > http://d.puremagic.com/issues/show_bug.cgi?id=564 > Compiling any file with predefined versions set causes random errors. My > results, compiling a file containing only "void main() {}": > > -version=X86: Error: version identifier > '⌂▲♥éà▲♥éï▲♥éæ▲♥éù▲♥éØ▲♥éú▲♥é®▲♥é»▲♥éÁ▲♥é╗▲♥é┴▲♥éÃ▲♥é═▲♥éË▲♥é┘▲♥é▀▲♥éÕ▲♥éÙ > ▲♥é±▲♥é¸▲♥é²▲♥é♣▼♥é♂▼♥é◄▼♥é↨▼♥é↔▼♥é▲▼♥é▼▼♥é > ▼♥é!▼♥é"▼♥é#▼♥é$▼♥é%▼♥é&▼♥é'▼♥é(▼♥é' > is reserved and cannot be set > -version=all: Error: version identifier '' is reserved and cannot be set > -version=(any of the other listed predefined versions at > http://www.digitalmars.com/d/version.html#version): DMD crash test cases: http://dstress.kuehne.cn/nocompile/version_23.d http://dstress.kuehne.cn/nocompile/version_24.d http://dstress.kuehne.cn/nocompile/version_25.d http://dstress.kuehne.cn/nocompile/version_26.d http://dstress.kuehne.cn/nocompile/version_27.d http://dstress.kuehne.cn/nocompile/version_28.d Thomas -----BEGIN PGP SIGNATURE----- iD8DBQFFZEv6LK5blCcjpWoRAtOoAJ9vImnLE3AvJpg9Grl3oCm5lsehagCfb9oP e1KqO1/9qBoG8E8l7qAgrlQ= =ktQX -----END PGP SIGNATURE-----
Comment #2 by matti.niemenmaa+dbugzilla — 2006-12-03T03:59:18Z
Fixed in DMD 0.176.
Comment #3 by matti.niemenmaa+dbugzilla — 2006-12-03T04:04:47Z
*** Bug 591 has been marked as a duplicate of this bug. ***
Comment #4 by github-bugzilla — 2016-02-13T16:36:15Z
Comment #5 by github-bugzilla — 2016-03-19T20:22:20Z