https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111482
--- Comment #7 from Jiu Fu Guo ---
This is caused by missing to check a vr's "undefine_p".
In the pattern "(X + C) / N",
(if (exact_mod (c)
...
&& range_op_handler (PLUS_EXPR).overflow_free_p (vr0, vr1)
...)
(plus (op
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111482
--- Comment #6 from Jiu Fu Guo ---
I reproduced these issue PR11148 and PR111355 on ppc64le too.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111482
--- Comment #5 from Jiu Fu Guo ---
Thanks a lot for reporting this!
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111482
--- Comment #4 from David Binderman ---
Created attachment 55937
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55937=edit
partially reduced C++ source code
After an hour of reduction, I have the attached C++ file.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111482
Zhendong Su changed:
What|Removed |Added
CC||zhendong.su at inf dot ethz.ch
---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111482
Marek Polacek changed:
What|Removed |Added
CC||guojiufu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111482
Marek Polacek changed:
What|Removed |Added
Ever confirmed|0 |1
Target Milestone|---