blob: 37df17d0b1668d8b0410f7c28b5291147c7d2ad2 [file] [log] [blame]
// { dg-options "-O2 -Os -fdump-tree-dse-details -std=c++11 --param max-inline-insns-size=1" }
class C
{
char a[7]{};
int b{};
};
C slow()
{
return {};
}
// We want to match enough here to capture that we deleted an empty
// constructor store
// mips will expand to loop to clear because CLEAR_RATIO.
// { dg-final { scan-tree-dump "Deleted redundant store: .*\.a = {}" "dse1" { xfail { mips*-*-* } } } }