Issue Details (XML | Word | Printable)

Key: PCC-449
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Anders Magnusson
Reporter: Iain Hibbert
Votes: 0
Watchers: 0

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

color graph error

Created: 07/Jun/14 11:22 PM   Updated: 03/Jul/14 05:59 PM
Component/s: C frontend, Common code, i386 target
Affects Version/s: None
Fix Version/s: None

Environment: NetBSD/i386

 Description  « Hide
the following code

struct foo {
        int oo;
} *f;

void foo(int x, int y)

        x == 0 ? (((long long)x) * y) : ((((long long)x) * y) + f->oo * x);

when compiled with "pcc -c -xtemps test.c", fails with

test.c,, line 8: compiler error: cannot color graph - COLORMAP() bug?
error: /usr/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 - 03/Jul/14 05:59 PM
Fixed now. Long-range registers were not always accounted for.