can this happen?

Mon Sep 11 01:44:00 GMT 2000

Dear gcc,

is the following scenario possible (rounding errors, . . .) or must it
be a bug?

double a, b;

some code

if ( a<b){
  fprintf("%g", a-b);

the output is "0"
if either a or b is printed before the if-statement,  there is no output
at all.

gcc version 2.95.1
compiling optionts: o1

erich janka

More information about the Gcc-bugs mailing list