Add libcody

Nathan Sidwell nathan@acm.org
Thu Dec 17 13:34:59 GMT 2020


On 12/17/20 8:25 AM, Nathan Sidwell wrote:
> On 12/17/20 5:07 AM, Jakub Jelinek wrote:
>> On Thu, Dec 17, 2020 at 11:01:40AM +0100, Andreas Schwab wrote:

>>> /tmp/ccabCPZ7.s: Assembler messages:
>>> /tmp/ccabCPZ7.s:28: Error: Wrong number of input operands
>>
>> Yeah.  If it is meant as an optimization barrier, shouldn't it be just
>>    __asm__ volatile ("");
>> or
>>    __asm__ volatile ("" : : : "memory");

Pushing to trunk:

This asm was a useful place for	gdb to drop a breakpoint and make it
clear where you were when debugging.  I	took a punt that 'surely every
arch has a nop instruction'. Well, no, some apparently have nops with
operands (what, do nothing harder? :)

	libcody/
         * fatal.cc (HCF): Remove nop breakpoint	lander.

-- 
Nathan Sidwell
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nop.diff
Type: text/x-patch
Size: 438 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20201217/a348111f/attachment.bin>


More information about the Gcc-patches mailing list