https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82416
Bug ID: 82416 Summary: HSA BE does not honor TREE_PRECISION Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: hsa Assignee: unassigned at gcc dot gnu.org Reporter: jamborm at gcc dot gnu.org CC: jamborm at gcc dot gnu.org, marxin at gcc dot gnu.org Target Milestone: --- Created attachment 42293 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42293&action=edit Testcase HSA BE does not honor TREE_PRECISION, meaning that it miscompiles the following because the condition is always evaluated as true: char X, r; /* ... */ if (X >= 97 && X <= 122) r = X - 32; else r = X; See the attachment for a full testcase.