Issue Details (XML | Word | Printable)

Key: PCC-82
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Anders Magnusson
Reporter: Daniel Dickman
Votes: 1
Watchers: 0
Operations

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

invalid assembly on amd64

Created: 19/Aug/09 09:31 PM   Updated: 03/Jun/10 09:57 PM
Component/s: None
Affects Version/s: None
Fix Version/s: None

Environment:
[/usr/src/bin/cp] uname -msrvp
OpenBSD 4.6 GENERIC.MP#130 amd64 Intel(R) Core(TM)2 Duo CPU T7100 @ 1.80GHz


 Description  « Hide
Compiling with -O2 on OpenBSD/amd64 produces the following error for some code

[/usr/src/bin/cp] pcc -O2 -c cp.c
/tmp/ctm.sE01ll: Assembler messages:
/tmp/ctm.sE01ll:488: Error: `(%eax,%r14d)' is not a valid 64 bit base/index expression

Leaving out the -O2 seems to work
[/usr/src/bin/cp] pcc -c cp.c
[/usr/src/bin/cp]


 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Anders Magnusson made changes - 03/Jun/10 09:53 PM
Field Original Value New Value
Assignee Anders Magnusson [ ragge ]
Anders Magnusson made changes - 03/Jun/10 09:57 PM
Status Open [ 1 ] Closed [ 6 ]
Resolution Fixed [ 1 ]