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 rtl-optimization/17104] Non-optimal code generation for bitfield initialization


------- Additional Comments From mmitchel at gcc dot gnu dot org  2004-09-19 23:02 -------
There is certainly a better code sequence: a single assignment that writes "0"
into the memory occupied by "s".  The question is: how hard it is for the
compiler to recognize that opportunity?

I'm presently looking into that issue.

-- 


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


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