https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117973
Bug ID: 117973 Summary: [15 Regression] Dead Code Elimination Regression since r15-5646-gd1cf0d7a0f27fd for non-LOGICAL_OP_NON_SHORT_CIRCUIT targets Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: missed-optimization, patch Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: hp at gcc dot gnu.org Depends on: 111456 Target Milestone: --- +++ This bug was initially created as a clone of Bug #111456 +++ The test-case gcc.dg/tree-ssa/pr111456-1.c started to fail for non-LOGICAL_OP_NON_SHORT_CIRCUIT targets with commit r15-5646-gd1cf0d7a0f27fd, as described in PR117954. Before that commit, there was no difference regarding between LOGICAL_OP_NON_SHORT_CIRCUITness. On request by the author of that patch, this PR tracks fallout for non-LOGICAL_OP_NON_SHORT_CIRCUIT targets, while the test-case gcc.dg/tree-ssa/pr111456-1.c is adjusted to cover only LOGICAL_OP_NON_SHORT_CIRCUIT targets, discriminating by use of --param=logical-op-non-short-circuit. Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111456 [Bug 111456] [14 Regression] Dead Code Elimination Regression since r14-3719-gb34f3736356