r251661 - in /trunk/gcc: ChangeLog fold-const.c...
rguenth@gcc.gnu.org
rguenth@gcc.gnu.org
Mon Sep 4 14:10:00 GMT 2017
Author: rguenth
Date: Mon Sep 4 14:10:11 2017
New Revision: 251661
URL: https://gcc.gnu.org/viewcvs?rev=251661&root=gcc&view=rev
Log:
2017-09-04 Richard Biener <rguenther@suse.de>
PR tree-optimization/82084
* fold-const.h (can_native_encode_string_p): Declare.
* fold-const.c (can_native_encode_string_p): Factor out from ...
(native_encode_string): ... here.
* tree-vect-stmts.c (vectorizable_store): Call it to avoid
vectorizing stores from constants we later cannot handle.
* g++.dg/torture/pr82084.C: New testcase.
Added:
trunk/gcc/testsuite/g++.dg/torture/pr82084.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/fold-const.c
trunk/gcc/fold-const.h
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-vect-stmts.c
More information about the Gcc-cvs
mailing list