This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/46677] frontends and tree optimizers use *_TYPE_SIZE
- From: "amylaar at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 26 Nov 2010 22:34:19 +0000
- Subject: [Bug other/46677] frontends and tree optimizers use *_TYPE_SIZE
- Auto-submitted: auto-generated
- References: <bug-46677-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46677
--- Comment #7 from Jorn Wolfgang Rennecke <amylaar at gcc dot gnu.org> 2010-11-26 22:34:08 UTC ---
(In reply to comment #6)
> No. The optimization passes that are remotely related do not work
> flow or context sensitive, so we don't know whether the initialization
> takes place unless it is a static initializer.
What about the case where there is a static initializer and another assignment
that assigns the same value as the static initializer?