https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82089
--- Comment #7 from Andrew Stubbs <ams at gcc dot gnu.org> --- Author: ams Date: Thu Sep 27 11:15:48 2018 New Revision: 264666 URL: https://gcc.gnu.org/viewcvs?rev=264666&root=gcc&view=rev Log: [pr82089] Don't sign-extend SFV 1 in BImode This is an update of the patch posted to PR82089 long ago. We ran into the same bug on GCN, so we need this fixed as part of this series. 2018-09-27 Andrew Stubbs <a...@codesourcery.com> Tom de Vries <t...@codesourcery.com> PR 82089 gcc/ * expmed.c (emit_cstore): Fix handling of result_mode == BImode and STORE_FLAG_VALUE == 1. Modified: trunk/gcc/ChangeLog trunk/gcc/expmed.c