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 #15 from Richard Biener <rguenth at gcc dot gnu.org> ---
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).

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