This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]