[C++ PATCH] [PR/13243] Detect more non constant expressions (regression in mainline)

Gabriel Dos Reis gdr@integrable-solutions.net
Mon Dec 8 03:07:00 GMT 2003


"Giovanni Bajo" <giovannibajo@libero.it> writes:

| expression. Moreover, expressions like INDIRECT_REF and ADDR_EXPR are always
| invalid as constant expressions. 

I am a bit nervous about that statement.  References get transformed
(from time to time) into INDIRECT_REF, but a reference can be a valid
constant expression.  The same is true for an ADDR_EXPR.  Did you check
that? 

-- Gaby



More information about the Gcc-patches mailing list