This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/18191] [4.0 Regression] Struct member is not getting default-initialized
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Nov 2004 15:06:11 -0000
- Subject: [Bug middle-end/18191] [4.0 Regression] Struct member is not getting default-initialized
- References: <20041028081035.18191.grigory.zagorodnev@intel.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-08 15:06 -------
Note expand used to do this for us:
/* If the constructor has fewer fields than the structure or
if we are initializing the structure to mostly zeros, clear
the whole structure first. Don't do this if TARGET is a
register whose mode size isn't equal to SIZE since
clear_storage can't handle this case. */
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18191