This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/56118] Piecewise vector / complex initialization from constants not combined
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 28 Jan 2013 10:44:34 +0000
- Subject: [Bug tree-optimization/56118] Piecewise vector / complex initialization from constants not combined
- Auto-submitted: auto-generated
- References: <bug-56118-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56118
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2013-01-28
Summary|No constant propagation in |Piecewise vector / complex
|vector field assignment |initialization from
| |constants not combined
Ever Confirmed|0 |1
--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> 2013-01-28 10:44:34 UTC ---
The original testcase is a dup of PR33562, it's a missed dead store
elimination,
not "constant propagation". The other issue is that we are not combining
adjacent stores (also for other types), we have a PR for that elsewhere, too.
Yes, basic-block vectorization could handle this, but it's probably not the
very best knife to do that job ;)
Related testcases have this issue with _Complex and __real / __imag
piecewise initializations.
Thus, let's make this bug the failure to combine piecewise constant inits
of vectors and complex.