]> gcc.gnu.org Git - gcc.git/commit
re PR c++/53211 (range-based 'for' expression of type 'const int []' has incomplete...
authorPaolo Carlini <paolo.carlini@oracle.com>
Tue, 18 Jun 2013 22:20:10 +0000 (22:20 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Tue, 18 Jun 2013 22:20:10 +0000 (22:20 +0000)
commit3dd55b2f9fdbf102dad43fca46578f4054174d45
tree27ef82e87b2d387554a2aeeb7e01bb6eaa32823f
parent299a5f6a095479accf70497650752faaae9ed859
re PR c++/53211 (range-based 'for' expression of type 'const int []' has incomplete type)

/cp
2013-06-18  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/53211
* pt.c (type_dependent_expression_p): Handle an array of unknown
bound depending on a variadic parameter.
* parser.c (cp_parser_range_for): Revert PR56794 changes.

/testsuite
2013-06-18  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/53211
* g++.dg/cpp0x/decltype55.C: New.

From-SVN: r200178
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/decltype55.C [new file with mode: 0644]
This page took 0.061411 seconds and 5 git commands to generate.