Re: signed enum bug

2005-02-25 Thread Eric Botcazou
> The compiler outputs a bg branch instruction when it should use a bgu. The > cause seems to be related to having a negative value in the enumeration. Fixed in 3.4.4pre: _Z13DummyFunction10tTestEnum2: .LLFB2: !#PROLOGUE# 0 !#PROLOGUE# 1 add %o0, -2, %o0 cmp

signed enum bug

2005-02-25 Thread Aaron Coleman
[My first time at reporting, so please bear with me if I do something wrong...]   The compiler outputs a bg branch instruction when it should use a bgu. The cause seems to be related to having a negative value in the enumeration. If I just comment out the DummyValue1 line, the code is correct. It