[Bug c/39035] if( 0.0DF ) is considered true

2009-02-09 Thread janis at gcc dot gnu dot org
--- Comment #5 from janis at gcc dot gnu dot org 2009-02-09 18:51 --- Subject: Bug 39035 Author: janis Date: Mon Feb 9 18:51:31 2009 New Revision: 144039 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=144039 Log: PR c/39035 * real.c (do_compare): Special-case

[Bug c/39035] if( 0.0DF ) is considered true

2009-02-09 Thread janis at gcc dot gnu dot org
--- Comment #6 from janis at gcc dot gnu dot org 2009-02-09 18:59 --- Fixed in mainline and 4.3 branch. -- janis at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/39035] if( 0.0DF ) is considered true

2009-02-06 Thread janis at gcc dot gnu dot org
--- Comment #4 from janis at gcc dot gnu dot org 2009-02-06 21:01 --- Subject: Bug 39035 Author: janis Date: Fri Feb 6 21:01:46 2009 New Revision: 143992 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=143992 Log: PR c/39035 * real.c (do_compare): Special-case

[Bug c/39035] if( 0.0DF ) is considered true

2009-01-30 Thread tydeman at tybor dot com
--- Comment #2 from tydeman at tybor dot com 2009-01-30 17:34 --- This is NOT a dup of 39034. In this one, the value of the expression is zero. In 39034, the value of d10 is not zero (but should be). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39035

[Bug c/39035] if( 0.0DF ) is considered true

2009-01-30 Thread janis at gcc dot gnu dot org
-- janis at gcc dot gnu dot org changed: What|Removed |Added CC||hjl dot tools at gmail dot |

[Bug c/39035] if( 0.0DF ) is considered true

2009-01-30 Thread janis at gcc dot gnu dot org
--- Comment #3 from janis at gcc dot gnu dot org 2009-01-30 20:48 --- Created an attachment (id=17215) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17215action=view) expanded testcase I expanded the testcase to test both constant folding and runtime calculations for all three

[Bug c/39035] if( 0.0DF ) is considered true

2009-01-29 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2009-01-30 07:17 --- isn't this a dup of the previous bug? -- rguenth at gcc dot gnu dot org changed: What|Removed |Added