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

jamborm@gcc.gnu.org jamborm@gcc.gnu.org
Mon May 23 11:27:00 GMT 2016


Author: jamborm
Date: Mon May 23 11:27:14 2016
New Revision: 236584

URL: https://gcc.gnu.org/viewcvs?rev=236584&root=gcc&view=rev
Log:
[PR 70884] Constant pool SRA fix

2016-05-23  Martin Jambor  <mjambor@suse.cz>

	PR tree-optimization/70884
	* tree-sra.c (initialize_constant_pool_replacements): Do not check
	should_scalarize_away_bitmap and cannot_scalarize_away_bitmap bits.
	(sort_and_splice_var_accesses): Do not consider multiple scalar reads
	of constant pool data as a reason for scalarization.

testsuite/
	* gcc.dg/tree-ssa/pr70919.c: New test.


Added:
    branches/gcc-6-branch/gcc/testsuite/gcc.dg/tree-ssa/pr70919.c
Modified:
    branches/gcc-6-branch/gcc/ChangeLog
    branches/gcc-6-branch/gcc/testsuite/ChangeLog
    branches/gcc-6-branch/gcc/tree-sra.c



More information about the Gcc-cvs mailing list