[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/6575] New: Error assembling macros using altmacro LOCAL
From: |
nkeynes at deadcoderemoval dot net |
Subject: |
[Bug gas/6575] New: Error assembling macros using altmacro LOCAL |
Date: |
28 May 2008 06:02:27 -0000 |
Test case:
---
.section .text
.altmacro
.macro macro2
LOCAL LC1
LOCAL LC2
LOCAL LCM
LC1: tst r2, r3
LCM: tst r1, r2
LC2: tst r0, r0
.endm
.macro macro1
LOCAL LC1
LOCAL LC2
LOCAL LCM
LC1: tst r2, r2
LCM: tst r0, r0
LC2: tst r1, r1
.endm
.global _test_addc
_test_addc:
test_addc_1:
macro1
macro1
macro1
macro2
macro1
macro2
macro2
macro1
rts
---
Generates the following error output with binutils 2.17 through CVS head:
./test.s: Assembler messages:
./test.s:15: Error: `LC2' was already used as parameter (or another local) name
./test.s:33: Error: symbol `.LL0017' is already defined
Last worked correctly in 2.16. Also tested (with the same results) built/hosted
on i686-apple-darwin9.
--
Summary: Error assembling macros using altmacro LOCAL
Product: binutils
Version: 2.17
Status: NEW
Severity: normal
Priority: P2
Component: gas
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: nkeynes at deadcoderemoval dot net
CC: bug-binutils at gnu dot org
GCC build triplet: i486-linux-gnu
GCC host triplet: i486-linux-gnu
GCC target triplet: sh-unknown-elf
http://sourceware.org/bugzilla/show_bug.cgi?id=6575
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug gas/6575] New: Error assembling macros using altmacro LOCAL,
nkeynes at deadcoderemoval dot net <=