[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/11507] altmacro: wrong string interpretation
From: |
nickc at redhat dot com |
Subject: |
[Bug gas/11507] altmacro: wrong string interpretation |
Date: |
20 Apr 2010 15:56:12 -0000 |
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2010-04-20
15:55 -------
Subject: Bug 11507
CVSROOT: /cvs/src
Module name: src
Changes by: address@hidden 2010-04-20 15:54:49
Modified files:
gas : ChangeLog macro.c
gas/testsuite : ChangeLog
Added files:
gas/testsuite/gas/macros: altmacro.d altmacro.s
Log message:
PR gas/11507
* macro.c (macro_expand_body): Do not treat LOCAL as a keyword in
altmacro mode if found inside a quoted string.
* gas/macros/altmacro.s: New test.
* gas/macros/altmacro.d: Expected output.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/ChangeLog.diff?cvsroot=src&r1=1.4133&r2=1.4134
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/macro.c.diff?cvsroot=src&r1=1.51&r2=1.52
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/testsuite/ChangeLog.diff?cvsroot=src&r1=1.1656&r2=1.1657
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/macros/altmacro.d.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/macros/altmacro.s.diff?cvsroot=src&r1=NONE&r2=1.1
------- Additional Comments From nickc at redhat dot com 2010-04-20 15:56
-------
Hi Theorizer,
Thanks for reporting this problem. It turned out to be a bug in the parser
when the LOCAL keyword is found inside a quoted string. I have checked in a
copy of the uploaded patch to fix this, and to add a test to the GAS testsuite
to make sure that the problem does not resurface.
Cheers
Nick
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://sourceware.org/bugzilla/show_bug.cgi?id=11507
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.