__builtin_isless, __builtin_islessequal on mips targets

2005-05-05 Thread Nadezhda Ivanоvna Vyukova
The __builtin_isless, __builtin_islessequal functions are provided as implementations of standard C99 functions 'isless', 'isgreater'. Please, explain why gcc for mips implements them via instructions c.lt.FMT and c.le.FMT instead of c.olt.FMT and c.ole.FMT.

mips targets: seq_df, seq_sf

2005-09-09 Thread Nadezhda Ivanоvna Vyukova
Please, explain, why mips.md specifies c.eq.d, c.eq.s instructions in seq_df and seq_sf RTF templates? Why not c.seq.d and c.seq.s? Seems, use of c.eq.d, c.eq.s causes violation of IEC 60559. Best regards, Nadezhda I. Vyukova

Gcc silently transforms a finite loop to an infinite one

2011-11-29 Thread Nadezhda Ivanоvna Vyukova
Hello, members of GCC development team! I am involved in support of customers who use GCC. Recently a customer has complaint that gcc-4.1.2 generates an infinite loop for the following program: #include extern void f (int); int main () { char e = 0; do { printf ("--- e