r237054 - in /branches/gcc-6-branch/gcc: Change...

jakub@gcc.gnu.org jakub@gcc.gnu.org
Fri Jun 3 08:27:00 GMT 2016


Author: jakub
Date: Fri Jun  3 08:27:40 2016
New Revision: 237054

URL: https://gcc.gnu.org/viewcvs?rev=237054&root=gcc&view=rev
Log:
	PR middle-end/71387
	* cgraph.c (cgraph_edge::redirect_call_stmt_to_callee): If redirecting
	to noreturn e->callee->decl that has void return type and void
	arguments, adjust gimple_call_fntype and remove lhs even if it had
	previously addressable type.

	* g++.dg/opt/pr71387.C: New test.

Modified:
    branches/gcc-6-branch/gcc/ChangeLog
    branches/gcc-6-branch/gcc/cgraph.c
    branches/gcc-6-branch/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list