This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: C constant expressions proposals
On Tue, Aug 17, 2004 at 03:21:00PM -0700, Geoff Keating wrote:
> My suggestion is to just permit any expression of the form above and
> document that the assembler gets to say whether it's valid or not.
Not possible. C++ needs to handle *all* expressions. If the
assembler can't handle it, then the compiler needs to generate
a constructor to do the job.
> Alternatively, make a target hook that can look at trees.
Reasonable.
r~