This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Incomplete TREE_CONSTANT-propagation in build() ?
- From: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- To: Ziemowit Laski <zlaski at apple dot com>
- Cc: gcc list <gcc at gcc dot gnu dot org>
- Date: 04 Nov 2003 21:23:11 +0100
- Subject: Re: Incomplete TREE_CONSTANT-propagation in build() ?
- Organization: Integrable Solutions
- References: <CF5A2FE3-0F03-11D8-970A-000393673036@apple.com>
Ziemowit Laski <zlaski@apple.com> writes:
| P.S. For the morbidly curious, I'm working on Motorola-style AltiVec
| support in the 3.4 tree, and I really need compound expressions like
| '(1, 2, 3, 4)' to be marked TREE_CONSTANT. :-)
Why don't you use VECTOR_CST?
A compound expression is NEVER a constant expression EVEN if its
operands are all constant expressions.
Having said that, I'm not sure I'm morbidly curious; but certainly I
have interest in this area since I have a proposal to extend the
notion of constant expression to include calls to simple inline
functions with constant expressions args.
-- Gaby