Issue Details (XML | Word | Printable)

Key: PCC-471
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Anders Magnusson
Reporter: rl
Votes: 0
Watchers: 0

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

compiler error: Cannot generate code, node 0x58f630 op TEMP

Created: 15/Aug/14 12:09 PM   Updated: 16/Aug/14 03:43 PM
Component/s: amd64 target, C frontend
Affects Version/s: None
Fix Version/s: None

Environment: pcc cvs20140811, uclibc on x86_64 Linux

 Description  « Hide
long double foo(long double);
long double bar(){ return foo((foo(1)+1)); }
pcc -std=c99 -nostdinc -ffreestanding -fexcess-precision=standard -frounding-math -D_XOPEN_SOURCE=700 -Os -pipe -fomit-frame-pointer -fno-unwind-tables -fno-asynchronous-unwind-tables -Wa,--noexecstack -Werror=implicit-function-declaration -Werror=implicit-int -Werror=pointer-sign -Werror=pointer-arith -fno-stack-protector -c -o f.o f.c
f.c, line 2: compiler error: Cannot generate code, node 0x58f480 op TEMP
error: [whatever]/libexec/ccom terminated with status 1

 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Anders Magnusson added a comment - 16/Aug/14 03:43 PM
Now fixed. It was a side effect of another change, causing x87 data to be expected to be in registers (which it cannot).