r278004 - in /trunk/gcc: ChangeLog gimple-match...
jakub@gcc.gnu.org
jakub@gcc.gnu.org
Sat Nov 9 17:09:00 GMT 2019
Author: jakub
Date: Sat Nov 9 17:09:44 2019
New Revision: 278004
URL: https://gcc.gnu.org/viewcvs?rev=278004&root=gcc&view=rev
Log:
PR tree-optimization/92401
* gimple-match-head.c (gimple_resimplify1): Call const_unop only
if res_op->code is an expression with code length 1.
* gimple-match-head.c (gimple_resimplify2): Call const_binop only
if res_op->code is an expression with code length 2.
* gimple-match-head.c (gimple_resimplify3): Call fold_ternary only
if res_op->code is an expression with code length 3.
* g++.dg/opt/pr92401.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/opt/pr92401.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/gimple-match-head.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list