[PATCH] Fix assembly dialect handling in asm_fprintf

2012-07-25 Thread Siddhesh Poyarekar
Hi, While reviewing code to fix a previous patch submission around assembly dialect handling[1], I found that the dialect handling in asm_fprintf is different from that in output_asm_insn and it might be broken too, since encountering a '|' simply leads to skipping all of the string until a '}'

Re: [PATCH] Fix assembly dialect handling in asm_fprintf

2012-07-25 Thread Richard Henderson
On 07/25/2012 08:10 AM, Siddhesh Poyarekar wrote: 2012-07-25 Siddhesh Poyarekar siddh...@redhat.com * final.c [ASSEMBLER_DIALECT](do_assembler_dialects): New function to implement assembler dialects. (output_asm_insn): Use do_assembler_dialects. (asm_fprintf):

Re: [PATCH] Fix assembly dialect handling in asm_fprintf

2012-07-25 Thread Siddhesh Poyarekar
On Wed, 25 Jul 2012 08:31:14 -0700, Richard wrote: * gcc.dg/asm-dialect-1.c: New test case. ... except this should go in gcc.target/i386/ without the { target } qualifier. Thanks, here's the updated version. Regards, Siddhesh gcc/ChangeLog: 2012-07-25 Siddhesh Poyarekar