Issue Details (XML | Word | Printable)

Key: PCC-195
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Anders Magnusson
Reporter: andre f.
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
pcc

OpenBSD amd64 : arch/amd64/amd64/machdep.c fails : compiler error: bad ixarg q

Created: 02/Dec/10 10:33 AM   Updated: 03/Dec/10 09:53 AM
Component/s: amd64 target
Affects Version/s: None
Fix Version/s: None

Environment: pcc 101201 on OpenBSD 4.7 amd64 compiling OpenBSD 4.7 kernel source (GENERIC kernel config)


 Description  « Hide
pcc 101201 on OpenBSD 4.7 amd64 fails compiling OpenBSD 4.7 kernel source (GENERIC kernel config)
in ./arch/amd64/amd64/machdep.c: compiler error: bad ixarg q

error message comes from pcc/mip/regs.c

the reduced code fragment triggering the error:

void
cpu_reset(void)
{
__asm __volatile("divl %0,%1" : : "q" (0), "a" (0));
}


 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Anders Magnusson added a comment - 03/Dec/10 09:53 AM
Fixed.