This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/13167] New: Incorrect register `%ecx' used with `q' suffix
- From: "bero at arklinux dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Nov 2003 15:29:43 -0000
- Subject: [Bug c/13167] New: Incorrect register `%ecx' used with `q' suffix
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Compiling the preprocessed code I'm attaching on x86_64 produces assembler
errors:
At -O0:
/tmp/cca9fzXe.s: Assembler messages:
/tmp/cca9fzXe.s:2567: Error: Incorrect register `%eax' used with `q' suffix
At -O1:
/tmp/cc3NAoFh.s: Assembler messages:
/tmp/cc3NAoFh.s:392: Error: Incorrect register `%edx' used with `q' suffix
/tmp/cc3NAoFh.s:419: Error: Incorrect register `%edx' used with `q' suffix
/tmp/cc3NAoFh.s:579: Error: Incorrect register `%edx' used with `q' suffix
/tmp/cc3NAoFh.s:1095: Error: Incorrect register `%edx' used with `q' suffix
/tmp/cc3NAoFh.s:1349: Error: Incorrect register `%edx' used with `q' suffix
/tmp/cc3NAoFh.s:1769: Error: Incorrect register `%edx' used with `q' suffix
/tmp/cc3NAoFh.s:2289: Error: Incorrect register `%edx' used with `q' suffix
/tmp/cc3NAoFh.s:2340: Error: Incorrect register `%ecx' used with `q' suffix
At -O2 and higher:
{standard input}: Assembler messages:
{standard input}:378: Error: Incorrect register `%ecx' used with `q' suffix
{standard input}:415: Error: Incorrect register `%ecx' used with `q' suffix
{standard input}:586: Error: Incorrect register `%ecx' used with `q' suffix
{standard input}:1215: Error: Incorrect register `%ecx' used with `q' suffix
{standard input}:1480: Error: Incorrect register `%ecx' used with `q' suffix
{standard input}:1899: Error: Incorrect register `%ecx' used with `q' suffix
{standard input}:2418: Error: Incorrect register `%ecx' used with `q' suffix
{standard input}:2467: Error: Incorrect register `%ecx' used with `q' suffix
make[2]: *** [sched.o] Error 1
--
Summary: Incorrect register `%ecx' used with `q' suffix
Product: gcc
Version: 3.3.2
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: bero at arklinux dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: x86_64-ark-linux
GCC host triplet: x86_64-ark-linux
GCC target triplet: x86_64-ark-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13167