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/77550] [6/7 Regression] std::deque with -O3 has infinite std::distance


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77550

--- Comment #16 from Bernd Edlinger <bernd.edlinger at hotmail dot de> ---
(In reply to Richard Biener from comment #15)
> The patch should at least work (loads are similarly affected).  At some
> point we want some infrastructure in the middle-end to chose a better
> fallback (as Andrew says, if possible we can use the alias-set of the
> containing aggregate for example).

Good.  Then I go ahead and look for a way how to fix all of the different
load and store code path.  If the whole group does not agree in the
alias_set I would fall back to ptr_type_node, I think if I put that
code in an extra function it can be changed later to the alias-set
of the containing aggregate.

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