https://sourceware.org/bugzilla/show_bug.cgi?id=32738
Bug ID: 32738
Summary: Wrong source file in error message when used from
within a macro
Product: binutils
Version: unspecified
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: gas
Assignee: unassigned at sourceware dot org
Reporter: [email protected]
Target Milestone: ---
When a macro has an error, the wrong filename is listed in the error message.
Example:
foo.S:
.include "foo.inc"
foo
foo.inc:
.macro foo
nnop
.endm
When compiling, i get the error:
foo.S: Assembler messages:
foo.S:2: Error: Unknown operator -- statement `nnop' ignored
foo.S:3: Info: macro invoked from here
The first message is wrong: line number 4 is that from foo.inc, not foo.S
This is independent of the cpu type (except that the error message might be
slightly different, eg. "no such instruction")
--
You are receiving this mail because:
You are on the CC list for the bug.