Message ID | 20140706193742.49DC2105@mailhost.lps.ens.fr |
---|---|
State | New |
Headers | show |
--- ../_clean/gcc/testsuite/g++.dg/ipa/imm-devirt-2.C 2014-07-05 23:22:52.000000000 +0200 +++ gcc/testsuite/g++.dg/ipa/imm-devirt-2.C 2014-07-06 18:03:59.000000000 +0200 @@ -92,5 +92,5 @@ int main (int argc, char *argv[]) } /* We fold into thunk of C. Eventually we should inline the thunk. */ -/* { dg-final { scan-tree-dump "C::_ZThn24_N1C3fooEi (" "einline" } } */ +/* { dg-final { scan-tree-dump "C::_ZThn\(16|24\)_N1C3fooEi \\(" "einline" } } */ /* { dg-final { cleanup-tree-dump "einline" } } */
> I'm fixing that with the following (will commit as obvious). Marek, With your patch g++.dg/ipa/imm-devirt-2.C sitll fails in 32 bit mode because the mangling is C::_ZThn16_N1C3fooEi. This is fixed by something such as Dominique