This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/56118] Piecewise vector / complex initialization from constants not combined


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]