This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

c/4508: gcc 3.0, ARM/thumb target, generates invalid asm



>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:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]