Hi,

 

It has been some time since I posted this mail but dint get any reply.I have also logged a bug in the bug list for this [Bug# 1527564].

 

Need your help on this

 

Regards,

Jatin


From: sdcc-user-bounces@lists.sourceforge.net [mailto:sdcc-user-bounces@lists.sourceforge.net] On Behalf Of Jatin Bhateja
Sent: Friday, July 21, 2006 11:55 AM
To: sdcc-user@lists.sourceforge.net
Subject: [Sdcc-user] kludgy fixes in CSE.

 

Hi,

 

I am working on SDCC for quite some time now. I have noticed that many a times iCode generation phase

Produces incorrect iCode but in the CSE pass (for eg. In algebraicOpts())  Sandeep Dutta have put some kludgy fixes which convert that

Incorrect iCode to correct one.

 

I wanted to know was there any specific reason for this behavior. Why don’t we generate the correct iCode in the ast2iCode pass itself.

 

I am asking this because there is a SERIOUS DRAWBACK of this approach that one cannot disable the optimization pass (CSE) as

In such case incorrect assembly will be produced. If I use –nogcse option then compiler will generate incorrect code.

 

Please let me know the reason for it as I want to disable the optimization passes.

 

Regards,

Jatin Bhateja

********************** Legal Disclaimer ****************************

"This email may contain confidential and privileged material for the sole use of the intended recipient. Any unauthorized review, use or distribution by others is strictly prohibited. If you have received the message in error, please advise the sender by reply email and delete the message. Thank you."

**********************************************************************