Hi Jan,

>> Andreas Schwab <sch...@linux-m68k.org> writes:
>> 
>> > On Dez 31 2018, Martin Liška <mli...@suse.cz> wrote:
>> >
>> >> -/* { dg-final-use-not-autofdo { scan-ipa-dump-times 3 "folding virtual
>> >> function call to virtual unsigned int mozPersonalDictionary::_ZThn16"
>> >> "dom3" } } */
>> >> -/* { dg-final-use-not-autofdo { scan-ipa-dump-times 3 "folding virtual
>> >> function call to virtual unsigned int mozPersonalDictionary::AddRef"
>> >> "dom3" } } */
>> >> +/* { dg-final-use-not-autofdo { scan-tree-dump-times "folding virtual
>> >> function call to virtual unsigned int mozPersonalDictionary::_ZThn16" 3
>> >> "dom3" } } */
>> >> +/* { dg-final-use-not-autofdo { scan-tree-dump-times "folding virtual
>> >> function call to virtual unsigned int mozPersonalDictionary::AddRef" 3
>> >> "dom3" } } */
>> >
>> > New tests that FAIL (1 tests):
>> >
>> > unix/-mabi=ilp32: g++.dg/tree-prof/devirt.C scan-tree-dump-times dom3
>> > "folding virtual function call to virtual unsigned int
>> > mozPersonalDictionary::_ZThn16" 3
>> 
>> now it's 
>> 
>> +FAIL: g++.dg/tree-prof/devirt.C scan-tree-dump-times dom3 "folding
>> virtual function call to virtual unsigned int
>> mozPersonalDictionary::_ZThn16" 1
>> 
>> and the failure seems to occur on every 32-bit target.  The log shows
>> 
>> g++.dg/tree-prof/devirt.C: pattern found 0 times
>
> I guess the ZThn16 should be replaced by ZThm8?

not exactly: the dump file has

/vol/gcc/src/hg/trunk/local/gcc/testsuite/g++.dg/tree-prof/devirt.C:99:26: 
optimized: folding virtual function call to virtual unsigned int 
mozPersonalDictionary::_ZThn8_N21mozPersonalDictionary6AddRefEv()

> Is there a way to dump files for different patterns for 32bit or 64bit

Why would we: many similar scans just use _ZThn\[0-9\]+ instead.

> tarets? Or shall we simply disable this test for 32bit?

That's counterproductive, I believe.

        Rainer

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University

Reply via email to