[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/18687] New: GNU as segfaults when file ended by '.endr' or '.en
From: |
matszpk at interia dot pl |
Subject: |
[Bug gas/18687] New: GNU as segfaults when file ended by '.endr' or '.endm' directive with spaces and end of line |
Date: |
Thu, 16 Jul 2015 18:31:25 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=18687
Bug ID: 18687
Summary: GNU as segfaults when file ended by '.endr' or '.endm'
directive with spaces and end of line
Product: binutils
Version: 2.24
Status: NEW
Severity: normal
Priority: P2
Component: gas
Assignee: unassigned at sourceware dot org
Reporter: matszpk at interia dot pl
Target Milestone: ---
Created attachment 8444
--> https://sourceware.org/bugzilla/attachment.cgi?id=8444&action=edit
Sample source code for that GNU as segfaults.
For following code the GNU as segfaults:
.macro Xv
.string "\Xv"
.endm << end of line
this code have only three lines, where last line is not ended by newline.
GNU as prints messages:
irptest.s: Assembler messages:
irptest.s:3: Warning: partial line at end of file ignored
irptest.s:1: Error: unexpected end of file in macro `xv' definition
and segfaults.
This same problem has been encountered for that code:
.irp Xv, aaaa
.string "\Xv"
.endr << end of line
Likewise, that code have line that is not ended by newline.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug gas/18687] New: GNU as segfaults when file ended by '.endr' or '.endm' directive with spaces and end of line,
matszpk at interia dot pl <=
- [Bug gas/18687] GNU as segfaults when file ended by '.endr' or '.endm' directive with spaces at end of line, matszpk at interia dot pl, 2015/07/16
- [Bug gas/18687] GNU as segfaults when file ended by '.endr' or '.endm' directive with spaces at end of line, matszpk at interia dot pl, 2015/07/16
- [Bug gas/18687] GNU as segfaults when file ended by '.endr' or '.endm' directive with spaces at end of line, amodra at gmail dot com, 2015/07/21
- [Bug gas/18687] GNU as segfaults when file ended by '.endr' or '.endm' directive with spaces at end of line, cvs-commit at gcc dot gnu.org, 2015/07/22
- [Bug gas/18687] GNU as segfaults when file ended by '.endr' or '.endm' directive with spaces at end of line, amodra at gmail dot com, 2015/07/22