bugPSPP - Bugs: bug #11223, x + 0 optimizes to 0

 
 

bug #11223: x + 0 optimizes to 0

Submitted by:  Ben Pfaff <blp>
Submitted on:  Mon 06 Dec 2004 01:47:47 AM UTC  
 
Category: Numerical ErrorsSeverity: 7 - Major
Status: FixedAssigned to: Ben Pfaff <blp>
Open/Closed: ClosedRelease: None
Effort: 0.00

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 07 Mar 2005 03:37:43 AM UTC, comment #2:

A fix has been checked in to the CVS repository

Ben Pfaff <blp>
Project AdministratorIn charge of this item.
Fri 04 Mar 2005 08:55:02 AM UTC, comment #1:

I'm marking this "fixed" but not closing it because, although it should now be fixed, I have not yet checked in a test.

Ben Pfaff <blp>
Project AdministratorIn charge of this item.
Mon 06 Dec 2004 01:47:47 AM UTC, original submission:

The expression optimizer mis-optimizes `x+0' into `0', not into `x'. See expr-opt.c in optimize_tree(). Similar errors are probably present elsewhere in the function too.

I'm working on rewriting the expression code anyway so this will be fixed as part of that, but I want to make sure that this doesn't get lost.

Ben Pfaff <blp>
Project AdministratorIn charge of this item.

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Mon 07 Mar 2005 03:37:43 AM UTCblpOpen/ClosedOpen=>Closed
Fri 04 Mar 2005 08:55:02 AM UTCblpStatusNone=>Fixed

Back to the top


Powered by Savane 3.1-cleanup1