This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Some syntactic sugar for machine descriptions
- To: Zack Weinberg <zackw at stanford dot edu>
- Subject: Re: Some syntactic sugar for machine descriptions
- From: Richard Henderson <rth at redhat dot com>
- Date: Tue, 26 Jun 2001 14:06:57 -0700
- Cc: gcc-patches at gcc dot gnu dot org
- References: <20010626122234.G2274@stanford.edu>
On Tue, Jun 26, 2001 at 12:22:34PM -0700, Zack Weinberg wrote:
> 1: If the RTL reader does not recognize a backslash escape in a string
> constant, it passes it on to the output unmolested.
Nice.
> 2: Wherever a double-quoted string is acceptable, a brace block is
> also acceptable.
Excellent.
> 3: If a string begins with an asterisk, that asterisk may appear
> outside the string delimiters.
Hum. It'd be Really Nice to assume this asterisk and not have to
write it explicitly.
Perhaps that means that the reader always inserts it, and genoutput
notices and adjust accordingly for define_expand and define_split etc.
Perhaps we define format letter "T" to mean "add an asterisk if the
source used a braced string".
Thoughts?
r~