On 6/2/21 3:59 AM, Jakub Jelinek wrote:
              if (!allows_reg && !cxx_mark_addressable (*op))
                operand = error_mark_node;
+             else if (!allows_reg && bitfield_p (*op))
+               {
+                 error_at (loc, "attempt to take address of bit-field");

Hmm, why aren't we already catching this in cxx_mark_addressable?

Jason

Reply via email to