mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-03 10:05:29 +00:00
Change the testcase to not depend on the type of 'this' in the output.
GCC 4.9.2 and GCC 4.8.x have different opinions about that variable's type. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14780
This commit is contained in:
parent
01782fe668
commit
84e3e486d3
@ -16,7 +16,7 @@ class magic {
|
||||
public:
|
||||
T xyzzy(T *p)
|
||||
{
|
||||
return (new abc::def<int,typeof(this)>)->xyzzy(p, 0);
|
||||
return (new abc::def<int,typeof(*this)>)->xyzzy(p, 0);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
|
||||
Conditional jump or move depends on uninitialised value(s)
|
||||
at 0x........: abc::def<int, magic<int>* const>::xyzzy(int*, magic<int>* const*) (demangle.cpp:9)
|
||||
at 0x........: abc::def<int, magic<int> >::xyzzy(int*, magic<int>*) (demangle.cpp:9)
|
||||
by 0x........: magic<int>::xyzzy(int*) (demangle.cpp:19)
|
||||
by 0x........: main (demangle.cpp:27)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user