[Bug c++/9381] attribute on member function pointer have no effect
jason at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat Nov 7 19:46:00 GMT 2009
------- Comment #14 from jason at gcc dot gnu dot org 2009-11-07 19:46 -------
Subject: Bug 9381
Author: jason
Date: Sat Nov 7 19:45:56 2009
New Revision: 153998
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=153998
Log:
PR c++/9381
* decl2.c (build_memfn_type): Preserve attributes.
* tree.c (canonical_type_variant): Likewise.
* call.c (standard_conversion): Use build_memfn_type.
* pt.c (tsubst): Likewise.
* decl.c (build_ptrmem_type): Likewise
Added:
branches/gcc-4_4-branch/gcc/testsuite/g++.dg/abi/regparm1.C
Modified:
branches/gcc-4_4-branch/gcc/cp/ChangeLog
branches/gcc-4_4-branch/gcc/cp/call.c
branches/gcc-4_4-branch/gcc/cp/decl.c
branches/gcc-4_4-branch/gcc/cp/decl2.c
branches/gcc-4_4-branch/gcc/cp/pt.c
branches/gcc-4_4-branch/gcc/cp/tree.c
branches/gcc-4_4-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9381
More information about the Gcc-bugs
mailing list