Bug 2003 – Absolute path for -odobjdir triggers compiler stack overflow

Status
RESOLVED
Resolution
INVALID
Severity
minor
Priority
P2
Component
dmd
Product
D
Version
D1 (retired)
Platform
x86
OS
Windows
Creation time
2008-04-16T23:25:00Z
Last change time
2014-02-24T15:33:15Z
Keywords
ice-on-invalid-code, ice-on-valid-code
Assigned to
bugzilla
Creator
CppCoder

Comments

Comment #0 by CppCoder — 2008-04-16T23:25:07Z
When passing an absolute path to the dmd compiler under Windows XP SP2, dmd.exe will return "Stack Overflow" with no other information. It seems at the very least a valid file has to be passed. The file can be blank, a valid or invalid D input file; It does not seem the file even gets parsed, so I'd imagine the bug is in the argument parsing. example: dmd.exe -odobjdirC:\AAAA test.d test.d being a blank d file. It seems the file must at least be a d source file. If an executable or library is passed for example, it will not trigger a stack overflow.
Comment #1 by bugzilla — 2008-04-22T20:47:11Z
I can't duplicate a problem. BTW, the correct command line syntax is: dmd.exe -odC:\AAAA test.d