[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/14201] New: gas 2.19.51, Assertion failure when declaring large
From: |
mpolon at yahoo dot com |
Subject: |
[Bug gas/14201] New: gas 2.19.51, Assertion failure when declaring large array: sb_build at /netrel/src/binutils-2.19.51-1/gas/sb.c line 62. |
Date: |
Mon, 04 Jun 2012 22:55:24 +0000 |
http://sourceware.org/bugzilla/show_bug.cgi?id=14201
Bug #: 14201
Summary: gas 2.19.51, Assertion failure when declaring large
array: sb_build at
/netrel/src/binutils-2.19.51-1/gas/sb.c line 62.
Product: binutils
Version: pre-2.12
Status: NEW
Severity: normal
Priority: P2
Component: gas
AssignedTo: address@hidden
ReportedBy: address@hidden
Classification: Unclassified
Trying to pad memory in the data section with zeros, using the following
assembly file results in a "gas" assertion. My platform is a PC, running cygwin
under Win7 64-bit (i686 target).
$ cat pad_data.s
.file "pad_data.c"
/APP
.data
.align 4
.global _pad_data
_pad_data:
.rept (0x40000*400)
.long 0
.endr
Below is my "as" command line as well as output:
$ as -o pad_data.o pad_data.s
pad_data.s: Assembler messages:
pad_data.s:9: Internal error!
Assertion failure in sb_build at /netrel/src/binutils-2.19.51-1/gas/sb.c line
62.
Please report this bug.
One would expect that if the "rept" directive value is too large that "as"
would fail with an error instead of the assertion failure.
Note that using much smaller sizes in the "rept" directive works without error.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
- [Bug gas/14201] New: gas 2.19.51, Assertion failure when declaring large array: sb_build at /netrel/src/binutils-2.19.51-1/gas/sb.c line 62.,
mpolon at yahoo dot com <=
- [Bug gas/14201] gas 2.19.51, Assertion failure when declaring large array: sb_build at /netrel/src/binutils-2.19.51-1/gas/sb.c line 62., amodra at gmail dot com, 2012/06/07
- [Bug gas/14201] gas 2.19.51, Assertion failure when declaring large array: sb_build at /netrel/src/binutils-2.19.51-1/gas/sb.c line 62., cvs-commit at gcc dot gnu.org, 2012/06/07
- [Bug gas/14201] gas 2.19.51, Assertion failure when declaring large array: sb_build at /netrel/src/binutils-2.19.51-1/gas/sb.c line 62., amodra at gmail dot com, 2012/06/07
- [Bug gas/14201] gas 2.19.51, Assertion failure when declaring large array: sb_build at /netrel/src/binutils-2.19.51-1/gas/sb.c line 62., cvs-commit at gcc dot gnu.org, 2012/06/07
- [Bug gas/14201] gas 2.19.51, Assertion failure when declaring large array: sb_build at /netrel/src/binutils-2.19.51-1/gas/sb.c line 62., hjl.tools at gmail dot com, 2012/06/07
- [Bug gas/14201] gas 2.19.51, Assertion failure when declaring large array: sb_build at /netrel/src/binutils-2.19.51-1/gas/sb.c line 62., hjl.tools at gmail dot com, 2012/06/07
- [Bug gas/14201] gas 2.19.51, Assertion failure when declaring large array: sb_build at /netrel/src/binutils-2.19.51-1/gas/sb.c line 62., amodra at gmail dot com, 2012/06/07