------- Additional Comments From mmitchel at gcc dot gnu dot org 2005-09-09 16:58 ------- The problem here is that the NOP_EXPR case in tsubst is implemented by build_nop, which unconditionally adds a NOP_EXPR. We need to simplify the NOP_EXPR away so that fold can do its job. Perhaps we should have a CAST_EXPR here, rather than a NOP_EXPR. I'll work it out.
-- What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|unassigned at gcc dot gnu |mark at codesourcery dot com |dot org | Status|NEW |ASSIGNED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23789