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

--- Comment #3 from q2p0 <JoaquinMonleon at gmail dot com> 2012-04-23 22:53:56 
UTC ---
#include <iostream>

int main()
{

// Error.
  double a = 0.5;
  double b = 0.01;
  std::cout << (int)(a / b) << std::endl;

// No error.
  double c = a/b;
  std::cout << (int)c << std::endl;

  return 0;
}


* I compile with other...

Sory, about my last sarcastic expresions, and my bad english.
I take a look to the paper when I have time.

Thanks for improve the GNU compiler GCC.

Reply via email to