https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71632
--- Comment #5 from Jakub Jelinek ---
In any case, this looks to me like expansion or TER bug.
The problem in this case is that expand_cond_expr_using_cmove
expands the tree arguments:
op00 = expand_normal (gimple_assign_rhs1 (srcstmt));
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71632
--- Comment #4 from amker at gcc dot gnu.org ---
As in optimized dump:
:
c.1_1 = c;
_85 = *c.1_1;
_87 = *_85;
iftmp.0_88 = d_27(D) < _87 ? 1.0e+0 : 0.0;
_90 = MEM[(double *)_85 + 8B];
iftmp.0_91 = iftmp.0_88 < _90 ? 1.0e+0 : 0.0;
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71632
--- Comment #3 from amker at gcc dot gnu.org ---
The commit if-converts below loop:
:
# b.5_38 = PHI <0(3), _10(7)>
# d_40 = PHI
# ivtmp_17 = PHI <5(3), ivtmp_37(7)>
_6 = (long unsigned int) b.5_38;
_7 = _6 * 8;
_8 = _5 + _7;
_9
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71632
Martin Liška changed:
What|Removed |Added
CC||marxin at gcc dot gnu.org
--- Comment #2
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71632
Jakub Jelinek changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|