Some syntactic sugar for machine descriptions

Michael Meissner meissner@cygnus.com
Tue Jun 26 16:17:00 GMT 2001


On Tue, Jun 26, 2001 at 03:12:35PM -0700, Richard Henderson wrote:
> On Tue, Jun 26, 2001 at 03:09:48PM -0700, Zack Weinberg wrote:
> > Another possibility occurred to me: teach genoutput that if the first
> > character of the output template of a define_insn is a '{' that means
> > the same thing as if it's an '*'.  But I think that might cause
> > problems with alternative assembly syntaxes.
> 
> Definitely it would.
> 
> > Maybe if the first two characters are '{' and white space... ?
> 
> Um... I'm not especially pleased about that notion...

I don't see what is so hard about an initial '*'.  If we are doing away with
the initial '*', I would prefer that the { be on column 1 of the next line.

-- 
Michael Meissner, Red Hat, Inc.  (GCC group)
PMB 198, 174 Littleton Road #3, Westford, Massachusetts 01886, USA
Work:	  meissner@redhat.com		phone: +1 978-486-9304
Non-work: meissner@spectacle-pond.org	fax:   +1 978-692-4482



More information about the Gcc-patches mailing list