[Bug c++/60955] [4.9/5 Regression] Erroneous warning about taking address of register with std=c++1y
paolo at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Dec 19 09:13:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60955
--- Comment #9 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Fri Dec 19 09:13:05 2014
New Revision: 218894
URL: https://gcc.gnu.org/viewcvs?rev=218894&root=gcc&view=rev
Log:
/cp
2014-12-19 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/60955
* pt.c (struct warning_sentinel): Move it...
* cp-tree.h: ... here.
* semantics.c (force_paren_expr): Use it.
/testsuite
2014-12-19 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/60955
* g++.dg/warn/register-parm-1.C: New.
Added:
branches/gcc-4_9-branch/gcc/testsuite/g++.dg/warn/register-parm-1.C
Modified:
branches/gcc-4_9-branch/gcc/cp/ChangeLog
branches/gcc-4_9-branch/gcc/cp/cp-tree.h
branches/gcc-4_9-branch/gcc/cp/pt.c
branches/gcc-4_9-branch/gcc/cp/semantics.c
branches/gcc-4_9-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list