[PATCH v2] gas: m68k M680LC040 F-LINE NOP insertion fixing emulation of fpu instructions

Andreas Schwab schwab@suse.de
Wed Apr 9 08:44:42 GMT 2025


On Apr 09 2025, Nathanial Sloss wrote:

> @@ -4272,8 +4273,24 @@
>  	}
>      }
>  
> +  bool hasnop = false;
> +  char nop[4] = "nop";
> +  toP = NULL;
> +next:
>    memset (&the_ins, '\0', sizeof (the_ins));
> +
>    m68k_ip (str);
> +
> +  if (lcfix == true && hasnop == false &&

Never compare a bool with a literal.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."


More information about the Binutils mailing list