> /sys/src/cmd/cc/com64.c:275,281

The context is:

int
com64(Node *n)
{
        ...
                switch(n->op) {
                default:
                        diag(n, "unknown vlong %O", n->op);
                case OFUNC:
                        n->complex = FNX;
                case ORETURN:
                case OAS:
                case OIND:
                case OLIST:
                case OCOMMA:
                        return 1;
                case OADD:
                        a = nodaddv;
                        goto setbop;
                case OSUB:
        ...
}

and it seems to me that a better answer would be to change the error
message to something like:

        "undefined 64-bit operation: %O"

I can't see much reason to stick to vlong when it is clear that 64-bit
handling is involved.

I do wonder why 8c isn't plagued by the same problem.

++L


Reply via email to