Issue Details (XML | Word | Printable)

Key: PCC-439
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.

cannot color graph error

Created: 02/Jun/14 07:11 PM   Updated: 07/Jun/14 04:03 PM
Component/s: C frontend
Affects Version/s: None
Fix Version/s: None

Environment: NetBSD/i386

 Description  « Hide
the following code example:

struct foo {
        unsigned long long a;
        unsigned int b;
        int c;

long foo(struct foo *foo)

        return (((foo->a - 1) % foo->b) / foo->c) << foo->c;

when compiled with "pcc -c test.c" results in an error

% pcc -c test.c
test.c, line 11: compiler error: cannot color graph - COLORMAP() bug?
/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 - 07/Jun/14 04:03 PM
Fixed by traversing down left if equal sethi-ullman numbers.