r206492 - in /trunk/gcc: ChangeLog gimple-fold....
jakub@gcc.gnu.org
jakub@gcc.gnu.org
Thu Jan 9 20:29:00 GMT 2014
Author: jakub
Date: Thu Jan 9 20:09:33 2014
New Revision: 206492
URL: http://gcc.gnu.org/viewcvs?rev=206492&root=gcc&view=rev
Log:
PR tree-optimization/59622
* gimple-fold.c (gimple_fold_call): Fix a typo in message. For
__builtin_unreachable replace the OBJ_TYPE_REF call with a call to
__builtin_unreachable and add if needed a setter of the lhs SSA_NAME.
Don't devirtualize for inplace at all. For targets.length () == 1,
if the call is noreturn and cfun isn't in SSA form yet, clear lhs.
* g++.dg/opt/pr59622-2.C: New test.
* g++.dg/opt/pr59622-3.C: New test.
* g++.dg/opt/pr59622-4.C: New test.
* g++.dg/opt/pr59622-5.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/opt/pr59622-2.C
trunk/gcc/testsuite/g++.dg/opt/pr59622-3.C
trunk/gcc/testsuite/g++.dg/opt/pr59622-4.C
trunk/gcc/testsuite/g++.dg/opt/pr59622-5.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/gimple-fold.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list