r278579 - in /branches/gcc-8-branch/gcc: cp/Cha...

jakub@gcc.gnu.org jakub@gcc.gnu.org
Thu Nov 21 17:14:00 GMT 2019


Author: jakub
Date: Thu Nov 21 17:14:25 2019
New Revision: 278579

URL: https://gcc.gnu.org/viewcvs?rev=278579&root=gcc&view=rev
Log:
	Backported from mainline
	2019-10-29  Jakub Jelinek  <jakub@redhat.com>

	PR c++/92201
	* cp-gimplify.c (cp_gimplify_expr): If gimplify_to_rvalue changes the
	function pointer type, re-add cast to the original one.

	* g++.dg/other/pr92201.C: New test.

Added:
    branches/gcc-8-branch/gcc/testsuite/g++.dg/other/pr92201.C
Modified:
    branches/gcc-8-branch/gcc/cp/ChangeLog
    branches/gcc-8-branch/gcc/cp/cp-gimplify.c
    branches/gcc-8-branch/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list