[PATCH] inline-asm: Fix ICE with bitfields in "m" operands [PR100785]

Jason Merrill jason@redhat.com
Wed Jun 2 15:09:45 GMT 2021


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



More information about the Gcc-patches mailing list