------- Comment #3 from mmitchel at gcc dot gnu dot org  2006-01-21 18:05 
-------
The code in the original description is invalid.  "x" cannot appear in a
constant-expression because its initializer is not an integral constant
expression, because the initializer contains casts to pointer types.  See
[expr.const].

The actual value given to "x" is a separate issue, so PR 25895 remains open.


-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25894

Reply via email to