Bug 410 – regression: segfault after "is not an lvalue"
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D1 (retired)
Platform
x86
OS
Linux
Creation time
2006-10-08T17:01:00Z
Last change time
2014-02-15T13:21:06Z
Keywords
ice-on-invalid-code
Assigned to
bugzilla
Creator
thomas-dloop
Comments
Comment #0 by thomas-dloop — 2006-10-08T17:01:00Z
--- 0.168/src/dmd/expression.c
+++ 0.169/src/dmd/expression.c
@@ -768,6 +769,7 @@
else if (!loc.filename)
loc = e->loc;
error("%s is not an lvalue", e->toChars());
+*(char*)0=0;
return this;
}
Comment #1 by ddparnell — 2006-10-09T22:15:00Z
*** Bug 421 has been marked as a duplicate of this bug. ***
Comment #2 by matti.niemenmaa+dbugzilla — 2006-10-14T10:50:27Z
*** Bug 432 has been marked as a duplicate of this bug. ***