This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
c/4041: ba dasm generated
- To: gcc-gnats at gcc dot gnu dot org
- Subject: c/4041: ba dasm generated
- From: pauli at lineo dot com
- Date: 16 Aug 2001 21:47:11 -0000
- Reply-To: pauli at lineo dot com
>Number: 4041
>Category: c
>Synopsis: ba dasm generated
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: wrong-code
>Submitter-Id: net
>Arrival-Date: Thu Aug 16 14:56:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Paul Dale
>Release: 3.0
>Organization:
>Environment:
Linux skaro 2.4.2-2 #1 Sun Apr 8 20:41:30 EDT 2001 i686 unknown
RedHat 7.1
gcc -v gives:
Using builtin specs.
Configured with: ../gcc-3.0/configure --enable-languages=c --target=m68k-elf : (reconfigured) ../gcc-3.0/configure --enable-languages=c --target=m68k-elf
Thread model: single
gcc version 3.0
>Description:
This code produces incorrect assembly for ColdFire target:
void a() {
extern unsigned long x;
extern long long y;
y = x;
}
The final error message being:
/tmp/ccsny1fk.s: Assembler messages:
/tmp/ccsny1fk.s:7: Error: operands mismatch -- statement `move.l x,y+4' ignored
>How-To-Repeat:
gcc -m5200 x.c
Where x contains the above function.
Level of optimisation doesn't seem to matter.
>Fix:
None investigated.
>Release-Note:
>Audit-Trail:
>Unformatted: