re PR c++/11525 (ICE/segfault on C++ code)
authorNathan Sidwell <nathan@codesourcery.com>
Fri, 1 Aug 2003 09:10:29 +0000 (09:10 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Fri, 1 Aug 2003 09:10:29 +0000 (09:10 +0000)
commitf21e6028bf127c16c109bbfe9135334077522ee5
treed54995de86d2bed6da9b874ebae55c3a69e5f7e8
parent2fdd01a09a1376515255cfb8a568f682dce80fbc
re PR c++/11525 (ICE/segfault on C++ code)

cp:
PR c++/11525
* parser.c (cp_parser_primary_expression): Do not set
non-constant-p merely because it is a dependent scope.
testsuite:
PR c++/11525
* g++.dg/parse/constant4.C: New test.

From-SVN: r70041
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/parse/constant4.C [new file with mode: 0644]