Commit fd2ef512 by Jeff Law Committed by Jeff Law

re PR tree-optimization/90883 (Generated code is worse if returned struct is unnamed)

	PR tree-optimization/90883
	* g++.dg/tree-ssa/pr90883.c: Add -Os.  Check dse2 for the
	deleted store on some targets.

From-SVN: r272949
parent 1c6ffbab
2019-07-02 Jeff Law <law@redhat.com>
PR tree-optimization/90883
* g++.dg/tree-ssa/pr90883.c: Add -Os. Check dse2 for the
deleted store on some targets.
2019-07-02 qing zhao <qing.zhao@oracle.com>
PR preprocessor/90581
......
// { dg-options "-O2 -fdump-tree-dse1-details -std=c++11" }
// { dg-options "-O2 -Os -fdump-tree-dse-details -std=c++11" }
class C
......@@ -15,5 +15,6 @@
// We want to match enough here to capture that we deleted an empty
// constructor store
// { dg-final { scan-tree-dump "Deleted redundant store: .*\.a = {}" "dse1" } }
// { dg-final { scan-tree-dump "Deleted redundant store: .*\.a = {}" "dse1" { target { ! i?86-*-* } } } }
// { dg-final { scan-tree-dump "Deleted redundant store: .*\.a = {}" "dse2" { target i?86-*-* } } }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment