c++/5621: assembler code
hans.buchmann@fhso.ch
hans.buchmann@fhso.ch
Thu Feb 7 03:40:00 GMT 2002
>Number: 5621
>Category: c++
>Synopsis: assembler code
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Feb 07 02:45:59 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: Hans Buchmann Institute of Applied Sciences Northwestern Switzerland
>Release: unknown-1.0
>Organization:
>Environment:
Configured with: /usr/src/redhat/SOURCES/gcc-3.0.2/configure --prefix=/home/buch
mann/arm --target=arm-elf --enable-languages=c,c++
Thread model: single
gcc version 3.0.2
>Description:
compiling the code in file 'error.cc'
extern "C" unsigned x[];
void trapTable()
{
int* i;
asm volatile(
"ldr %0,%1\n\t"
:"=r"(i)
:"m"(x)
);
results in the error message
error.cc: In function `void trapTable()':
error.cc:14: Internal compiler error in push_minipool_fix, at config/arm/arm.c:
5851
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
>How-To-Repeat:
arm-elf-g++ -O3 -fomit-frame-pointer -S error.cc
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the Gcc-bugs
mailing list