aboutsummaryrefslogtreecommitdiff
path: root/gcc/ONEWS
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2004-03-15 16:16:18 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>2004-03-15 16:16:18 +0000
commit625cbf9318915e406776ab23a21fbb7093889c7a (patch)
tree6ca3ec63bda60cceb911971973b8af475954de44 /gcc/ONEWS
parent983e64842fe8236e78dc11f6d0f569a224f0767f (diff)
downloadgcc-625cbf9318915e406776ab23a21fbb7093889c7a.zip
gcc-625cbf9318915e406776ab23a21fbb7093889c7a.tar.gz
gcc-625cbf9318915e406776ab23a21fbb7093889c7a.tar.bz2
re PR c++/14550 (trouble with pointers in templates)
PR c++/14550 * parser.c (cp_parser_non_integral_constant_expression): Encode more of the idiom that surrounded calls to this function within the function itself (cp_parser_primary_expression): Adjust accordingly. (cp_parser_postfix_expression): Likewise. (cp_parser_unary_expression): Likewise. (cp_parser_cast_expression): Likewise. (cp_parser_assignment_expression): Likewise. (cp_parser_expression): Likewise. (cp_parser_new_expression): Note that new-expressions are not allowed in integral constant expressions. (cp_parser_delete_expression): Likewise. PR c++/14550 * g++.dg/parse/template14.C: New test. From-SVN: r79498
Diffstat (limited to 'gcc/ONEWS')
0 files changed, 0 insertions, 0 deletions