------- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-08 20:09 ------- (In reply to comment #5) > Subject: Re: DSE is not doing its job for > global variables > > but I should note that I found this while looking into a benchmark. > Were you looking at the final output, or just the output from the SSA > optimizers? As I mentioned, we have a DSE that works on the RTL level > which ought to have a reasonable chance of catching this.
Yes the RTL level one catches it. I just filed it because it would help out on memory usage sometimes. > If you get a chance to play with the patch and benchmark it, that would > be great. I will try after I after I benchmark my tree combine pass which looks like it could improve even the compile time speed as it removes some ifs which can be proved to be always true. > ps. What benchmark? dhrystone 2.0 but it might be a modified version as it was designed to run on DOS and I modified it back to run on UNIX. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18880