------- Comment #2 from christian dot metzler at bmw-carit dot de  2006-02-22 
08:11 -------
Simple test case:

int main(int argc, char **argv) {
        float t;
        char u;

        t = 1.0;
        u = ( ( t<0.0)?-1:((t>0.0)?1:0));

        return (int)u;
}

Compiles e.g. on i386 and returns 1. Compiled with given C-Flags and executed
on a MPC5553 it stores 0 in u. Debugged with a Lauterbach Debugger over JTAG.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26398

Reply via email to