[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#948317: gcc-10: Please disable gm2 on ia64



John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> writes:

> RHYBYDD: Mae'r e-bost hwn yn tarddu o'r tu allan i'r
> sefydliad. Peidiwch â chlicio dolenni nac agor atodiadau oni bai eich
> bod yn adnabod yr anfonwr ac yn gwybod bod y cynnwys yn ddiogel.
>
> CAUTION: This email originated from outside of the organisation. Do not click links or open attachments unless you recognise the sender and know the content is safe.
>
>
> Hi!
>
> On 1/7/20 12:10 PM, James Clarke wrote:
>> I haven't tried building it yet, but suspect it's this:
>>
>> src/gcc/m2/gm2-gcc/m2block.c:719:      tree instr = m2decl_BuildStringConstant ("nop", 3);
>> src/gcc/m2/gm2-gcc/m2block.c-720-      tree string
>> src/gcc/m2/gm2-gcc/m2block.c-721-          = resolve_asm_operand_names (instr, NULL_TREE, NULL_TREE, NULL_TREE);
>> src/gcc/m2/gm2-gcc/m2block.c-722-      tree note = build_stmt (pending_location, ASM_EXPR, string, NULL_TREE,
>> src/gcc/m2/gm2-gcc/m2block.c-723-                              NULL_TREE, NULL_TREE, NULL_TREE);
>>
>> ia64's nop, like s390, is "nop 0", but unlike s390 there is no alias for just
>> "nop", you need to give the full instruction. Can we not avoid this and use
>> build_empty_stmt instead of creating inline assembly?
>
> Ah, this makes a lot of sense. Thanks for catching this. I guess, I'll
> file a bug report upstream then.
>
> Adrian

Hi,

many thanks for the bug report - yes indeed I will make the fix,


regards,
Gaius


Reply to: