diff options
author | Paolo Carlini <paolo.carlini@oracle.com> | 2012-08-25 09:53:30 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2012-08-25 09:53:30 +0000 |
commit | f27a59cf8a51f4c28cec55545673405b20a02a98 (patch) | |
tree | 2800260d9c8b267b986fcfd7872938067b8bd713 /ABOUT-NLS | |
parent | cd057e3af0627c7528c19625bf972acde2b207fa (diff) | |
download | gcc-f27a59cf8a51f4c28cec55545673405b20a02a98.zip gcc-f27a59cf8a51f4c28cec55545673405b20a02a98.tar.gz gcc-f27a59cf8a51f4c28cec55545673405b20a02a98.tar.bz2 |
re PR c++/51421 ([c++0x] ICE with invalid use of auto)
/cp
2012-08-25 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/51421
* decl2.c (mark_used): Consistently return false after errors
about uses before deduction of auto.
* semantics.c (finish_id_expression): Check mark_used return
value and return error_mark_node in case of failure.
/testsuite
2012-08-25 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/51421
* g++.dg/cpp0x/auto34.C: New.
From-SVN: r190665
Diffstat (limited to 'ABOUT-NLS')
0 files changed, 0 insertions, 0 deletions