r234924 - in /branches/gcc-5-branch/gcc: cp/Cha...

amodra@gcc.gnu.org amodra@gcc.gnu.org
Tue Apr 12 22:58:00 GMT 2016


Author: amodra
Date: Tue Apr 12 22:58:36 2016
New Revision: 234924

URL: https://gcc.gnu.org/viewcvs?rev=234924&root=gcc&view=rev
Log:
Fix target/70107, another case of PR c++/70096

gcc/cp/
	PR target/70107
	PR c++/70096
	* pt.c (tsubst_decl): Clear the DECL_MODE of the new decl.

gcc/testsuite/
	* g++.dg/template/ptrmem30.C (read): Rename to data_read.
	(Holder::foo): Reflect this.

	PR c++/70096
	* g++.dg/template/ptrmem30.C: New test.

Added:
    branches/gcc-5-branch/gcc/testsuite/g++.dg/template/ptrmem30.C
Modified:
    branches/gcc-5-branch/gcc/cp/ChangeLog
    branches/gcc-5-branch/gcc/cp/pt.c
    branches/gcc-5-branch/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list