public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c/4041: ba dasm generated
@ 2001-08-16 14:56 pauli
0 siblings, 0 replies; only message in thread
From: pauli @ 2001-08-16 14:56 UTC (permalink / raw)
To: gcc-gnats
>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:
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-08-16 14:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-16 14:56 c/4041: ba dasm generated pauli
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).