[patch] m68k: Fix uses of curly braces in the assembly output

Kazu Hirata kazu@codesourcery.com
Tue Oct 9 16:45:00 GMT 2007


Hi Andreas,

>> My recent ASSEMBLER_DIALECT patch broke uses of curly braces in the
>> assembly output because '{' and '}' are now special characters to
>> control dialects.
> 
> Does that also apply to asm statements?

Apparently so as illustrated by:

http://gcc.gnu.org/ml/gcc-patches/2007-10/msg00488.html

It seems that I have broken backward compatibility.  If the user uses '{' 
and '}' in bitfield instructions, then his/her code won't assemble.

gcc's asm statements require the user to be familiar with gcc's internal to 
some extent, but I am not sure if we want to expose directives for assembly 
diarect.

Thoughts?

Kazu Hirata



More information about the Gcc-patches mailing list