This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/17104] Non-optimal code generation for bitfield initialization
- From: "mmitchel at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Sep 2004 23:02:06 -0000
- Subject: [Bug rtl-optimization/17104] Non-optimal code generation for bitfield initialization
- References: <20040819145911.17104.steinmtz@us.ibm.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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