]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/cp/pt.c
re PR c++/12093 (inconstitent error with templates/non-templates)
authorMark Mitchell <mark@codesourcery.com>
Sat, 30 Aug 2003 01:42:48 +0000 (01:42 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Sat, 30 Aug 2003 01:42:48 +0000 (01:42 +0000)
commit7433e6d47086c63eeee0898963a0173f23c380c9
treefe982fcdef1b28f684fa99e57282a46ca0095be1
parentc2096ef8a3e9c250d81ee0fbed1a38d47a879f59
re PR c++/12093 (inconstitent error with templates/non-templates)

2003-08-29  Mark Mitchell  <mark@codesourcery.com>

PR c++/12093
* pt.c (build_non_dependent_expr): Do not build a
NON_DEPENDENT_EXPR for a STRING_CST.

2003-08-29  Mark Mitchell  <mark@codesourcery.com>

PR c++/12093
* g++.dg/template/non-dependent4.C: New test.

From-SVN: r70941
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ext/cond1.C [new file with mode: 0644]