Re: PRE in GCC-3.3.3

2005-03-22 Thread James E Wilson
Rajesh Babu wrote: The target I used is i686-linux. For the same example gcc-3.4.1 eliminated the redundant expression, where as gcc-3.3.3 didn't do it. I observed it by dumping RTL with -dG switch. I didnt get abt the flaw you were talking about. The optimization is done on the pseudo regi

Re: PRE in GCC-3.3.3

2005-03-20 Thread Rajesh Babu
The target I used is i686-linux. For the same example gcc-3.4.1 eliminated the redundant expression, where as gcc-3.3.3 didn't do it. I observed it by dumping RTL with -dG switch. I didnt get abt the flaw you were talking about. The optimization is done on the pseudo registers, where is the

Re: PRE in GCC-3.3.3

2005-03-15 Thread James E Wilson
Rajesh Babu wrote: I found that PRE is not done in gcc-3.3.3, though the code for doing PRE exists in source code. gcc-3.3 is not interesting for work like this. The PRE support in gcc-3.3 has already been effectively obsoleted by other work in current gcc sources, though it is still there.

PRE in GCC-3.3.3

2005-03-12 Thread Rajesh Babu
Hi, I found that PRE is not done in gcc-3.3.3, though the code for doing PRE exists in source code. In the following example, expression a+b is partially redundant and must be eliminated, but it is not done when gcc-3.3.3 is used, where as it is done when gcc-3.4.1 is used. Can someo