Issue Details (XML | Word | Printable)

Key: PCC-295
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Anders Magnusson
Reporter: Harald van Dijk
Votes: 0
Watchers: 0
Operations

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

compiler error: temporary outside boundaries

Created: 05/Apr/11 01:24 AM   Updated: 10/Apr/11 08:37 PM
Component/s: amd64 target
Affects Version/s: None
Fix Version/s: None

Environment: pcc 1.0.0 on Linux/amd64


 Description  « Hide
Reduced from real code:

typedef struct { int x, *y, z; } a;
a f() {}
typedef struct { int x, *y; } b;
b g() {
  b x;
  int y, z;
  h(x, y, z);
}

$ pcc -c bug.i
<stdin>, line 8: compiler error: 0x678380) temporary 100 outside boundaries 106-117

I see http://pcc.ludd.ltu.se/jira/browse/PCC-294, but there is nothing related to inline in here, so I hope you don't mind me reporting this as a new bug.

 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Anders Magnusson added a comment - 10/Apr/11 08:37 PM
Thanks. This bug was unrelated to the other and also had a very good test case attached.
Fixed now, thanks for reporting it.