This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/23789] [3.4/4.0/4.1 Regression] compilation error when template parameters have certain complexity
- From: "mmitchel at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Sep 2005 16:58:23 -0000
- Subject: [Bug c++/23789] [3.4/4.0/4.1 Regression] compilation error when template parameters have certain complexity
- References: <20050909022508.23789.andres_takach@mentor.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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