This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/44133] [4.5 Regression] Uninit warning regression with new SRA
- From: "jamborm at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 May 2010 17:36:54 -0000
- Subject: [Bug middle-end/44133] [4.5 Regression] Uninit warning regression with new SRA
- References: <bug-44133-87@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from jamborm at gcc dot gnu dot org 2010-05-21 17:36 -------
On the 4.5 branch we have a different problem, the warning is not
issued at all. The patch does not apply because we treat scalar loads
differently. The easiest way would be to backport this behavior to
4.5:
http://gcc.gnu.org/ml/gcc-patches/2010-04/msg00440.html
and then commit this change on top of it. That would of course change
the code generated by SRA in general but it does not seem too risky
now. What do you think?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44133