This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/80043] [6/7 Regression] ICE with pointer-to-member-function and -fpermissive
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 17 Jun 2017 02:34:17 +0000
- Subject: [Bug c++/80043] [6/7 Regression] ICE with pointer-to-member-function and -fpermissive
- Auto-submitted: auto-generated
- References: <bug-80043-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80043
--- Comment #6 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Sat Jun 17 02:33:43 2017
New Revision: 249329
URL: https://gcc.gnu.org/viewcvs?rev=249329&root=gcc&view=rev
Log:
PR c++/80639 - ICE with invalid PMF initialization.
PR c++/80043 - ICE with -fpermissive
* typeck.c (convert_for_assignment): Recurse when instantiate_type
returns without an error.
Added:
branches/gcc-7-branch/gcc/testsuite/g++.dg/template/ptrmem31.C
Modified:
branches/gcc-7-branch/gcc/cp/ChangeLog
branches/gcc-7-branch/gcc/cp/typeck.c