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); }
}

Reply via email to