[Bug middle-end/87118] ICE in expand_expr_addr_expr_1 with __transaction_relaxed and bitfields
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Sep 23 01:57:27 GMT 2021
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87118
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|ICE in |ICE in
|expand_expr_addr_expr_1, at |expand_expr_addr_expr_1
|expr.c:7862 |with __transaction_relaxed
| |and bitfields
--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Here is a testcase which shows the issue is related to bitfields:
struct {
unsigned a: 7;
unsigned b : 3;
} b;
void d(int t) {}
void c() {
__transaction_relaxed { d(b.b); }
}
More information about the Gcc-bugs
mailing list