https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85987
Bug ID: 85987
Summary: cstore does not work with a store in one of the
branches
Product: gcc
Version: 8.0
Status: UNCONFIRMED
Keywords: missed-optimization
Severity: normal
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: pinskia at gcc dot gnu.org
Target Milestone: ---
Take:
int PolyMod(int s);
void CreateChecksum(int isTestNet, int *mod, int *t) {
if (isTestNet == 0) {
*t += 1;
*mod = (5);
} else {
*mod = (9);
}
}
Cstore does not work here and commonize the store to mod.