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/81388] [7/8 Regression] Incorrect code generation with -O1


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

--- Comment #8 from amker at gcc dot gnu.org ---
My change @r238585 assumed that "pointer + 2 < pointer" must be folded before
calling to number_of_iterations_lt_to_ne.  This is not true when pointer_plus
can overflow.  I will look for either fix or revert.  Sorry for the breakage.

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