pro64-support
[Top] [All Lists]

opt failure with latest sources

To: pro64-support@xxxxxxxxxxx
Subject: opt failure with latest sources
From: David Goodwin <goodwin@xxxxxxxxxxxxx>
Date: Wed, 4 Oct 2000 11:38:58 -0700 (PDT)
Cc: goodwin@xxxxxxxxxxxxx
Reply-to: goodwin@xxxxxxxxxxxxx
Sender: owner-pro64-support@xxxxxxxxxxx
I'm getting an Is_True failure with the latest sources for the attached
program. The binary release doesn't have the problem, but it isn't an
Is_True_On compiler, so I can't tell if the problem is with my sources
or not.

I compared the *.B file coming out of the front end, as well as the whirl
at each phase leading up to the failure, and they seem the same for both
compilers.

You may want to release Is_True_On compilers from now on, since that would
help debugging for those working with source, and also help find more bugs
in general.

David


### Assertion failure at line 3859 of
    /be/opt/opt_etable.cxx:
### Compiler Error in file raw.c during Global Optimization -- LPRE: Build
    initial occurrence lists phase:
### EXP_WORKLST::Adjust_combined_types: cr's sign extension flag is
    inconsistentxt-cc INTERNAL ERROR:
    returned non-zero status 1


#include <stdio.h>

unsigned char cstate;

main() {
    int n;

    while(1) {
        n = foo();
        if ( n < 0 ) {
            bar(1);
        }
        if ( n == 0 ) break;
    }
    fprintf( stderr, "index=%d\n", (__int32_t)cstate);
    exit(0);
}

<Prev in Thread] Current Thread [Next in Thread>