https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80574
Bug ID: 80574 Summary: GCC fail to optimize nested ternary Product: gcc Version: 7.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: SztfG at yandex dot ru Target Milestone: --- Created attachment 41287 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41287&action=edit nested ternary sample GCC fail to optimize ternary chain (nested ternary) for find maximum value with unsigned types. Check attachment