Bug#948317: gcc-10: Please disable gm2 on ia64
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
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glaubitz@debian.org
`. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Reply to: