[Bug c/53095] std=gnu99 atof x86

2012-04-24 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53095 Richard Guenther changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug c/53095] std=gnu99 atof x86

2012-04-23 Thread JoaquinMonleon at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53095 --- Comment #3 from q2p0 2012-04-23 22:53:56 UTC --- #include 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

[Bug c/53095] std=gnu99 atof x86

2012-04-23 Thread JoaquinMonleon at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53095 --- Comment #2 from q2p0 2012-04-23 22:04:15 UTC --- But if: I use one architecture of 64 bits OR I use the standard -std=99 OR I use a temporal double variable OR I compile other compiler that is not GCC I don't get this error. Ok I acept the

[Bug c/53095] std=gnu99 atof x86

2012-04-23 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53095 --- Comment #1 from Jonathan Wakely 2012-04-23 21:05:38 UTC --- http://gcc.gnu.org/bugs/#nonbugs_general