This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/21000] store should not be done if we don't change its value


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-04-13 19:16 -------
We just don't generate any RTL for "i = i".

The optimization for f in comment #0 happens in combine for 3.4.0, so maybe fold could do it, I don't 
know.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21000


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]