This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c/4508: gcc 3.0, ARM/thumb target, generates invalid asm
- To: gcc-gnats at gcc dot gnu dot org
- Subject: c/4508: gcc 3.0, ARM/thumb target, generates invalid asm
- From: ted at arraycomm dot com
- Date: 8 Oct 2001 23:45:37 -0000
- Reply-To: ted at arraycomm dot com
>Number: 4508
>Category: c
>Synopsis: gcc 3.0, ARM/thumb target, generates invalid asm
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Oct 08 16:46:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Ted Merrill, ArrayComm, Inc.
>Release: gcc-3.0
>Organization:
>Environment:
Solaris host
>Description:
Compilation is with -mthumb .
Generally, the compiler is working.
(Richard Earnshaw, how can i contact you directly
regarding some suggestions?)
On a large body of code with many files,
there are exactly two places
(in same file as it happens)
where the following is generated:
str r3,[sp,r2]
This is NOT a valid thumb instruction even
though it is valid in the 32bis.
>How-To-Repeat:
I haven't been able to create a simple test case of it.
It occurs where a auto array is indexed using a variable,
and assigned to... in the middle of some very complicated
code... sigh... I'll send a .i file and generated .s file
directly to Richard if he can give me some vague assurance
of intention for confidentiality.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: