[Bug ipa/69241] [6 Regression] ICE with noreturn and function that return non-POD
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Feb 12 11:59:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69241
--- Comment #27 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Feb 12 11:59:00 2016
New Revision: 233375
URL: https://gcc.gnu.org/viewcvs?rev=233375&root=gcc&view=rev
Log:
PR ipa/69241
* ipa-split.c (split_function): If split part returns TREE_ADDRESSABLE
type by reference, force lhs on the call.
* g++.dg/ipa/pr69241-4.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/ipa/pr69241-4.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/ipa-split.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list