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/70177] [6 Regression] ICE in extract_ops_from_tree starting with r233660


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

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Though, that expression looks weird, on the testcase it is clear that if i is
>= 0 (not -1!), then c must be 0, because otherwise the innermost loop must
invoke undefined behavior, and deriving anything about number of iterations
from the b[h] = 0; assignment in the upper loop is wrong, because the innermost
loop can (and must be) iterated 0 times.

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