[Bug c++/23789] [3.4/4.0/4.1 Regression] compilation error when template parameters have certain complexity
mmitchel at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Sep 9 16:58:00 GMT 2005
------- 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
More information about the Gcc-bugs
mailing list