1612 – No file/line number for using an undefined label in inline assembly

D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 1612 - No file/line number for using an undefined label in inline assembly
Summary: No file/line number for using an undefined label in inline assembly
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D1 (retired)
Hardware: x86 Windows
: P3 minor
Assignee: Walter Bright
URL:
Keywords: diagnostic
Depends on:
Blocks:
Reported: 2007年10月24日 12:49 UTC by Matti Niemenmaa
Modified: 2014年02月24日 15:33 UTC (History)
0 users

See Also:


Attachments
Add an attachment (proposed patch, testcase, etc.)

Note You need to log in before you can comment on or make changes to this issue.
Description Matti Niemenmaa 2007年10月24日 12:49:03 UTC
void main() {
	asm {
		jmp foo;
	}
}
"Error: undefined label foo", contrast with:
void main() {
	goto foo;
}
"asdf.d(2): Error: label foo is undefined"
Comment 1 Thomas Kühne 2008年02月25日 05:08:29 UTC
Added to DStress as
http://dstress.kuehne.cn/nocompile/a/asm_jmp_03_A.d 
Comment 2 Don 2008年07月09日 07:14:55 UTC
Fixed DMD1.032
Comment 3 Walter Bright 2008年07月09日 22:40:28 UTC
Fixed dmd 1.032 and 2.016


AltStyle によって変換されたページ (->オリジナル) /