https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62258
Piotr Bartosiewicz changed:
What|Removed |Added
CC||p.bartosiewi at partner dot
samsun
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64337
--- Comment #1 from Piotr Bartosiewicz ---
There is a very similar bug report
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57507
but the code from that one does not trigger a warning with gcc 4.9.
Component: sanitizer
Assignee: unassigned at gcc dot gnu.org
Reporter: p.bartosiewi at partner dot samsung.com
CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org,
jakub at gcc dot gnu.org, kcc at gcc dot gnu.org
I think this is a false
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61368
--- Comment #1 from Piotr Bartosiewicz ---
template
static true_type test(decltype(std::declval().template
visit(std::declval()))*);
This fixes the problem, but still don't know whether gcc or clang is wrong
about the original code.
++
Assignee: unassigned at gcc dot gnu.org
Reporter: p.bartosiewi at partner dot samsung.com
GCC 4.8.2 can't compile following reduced code snippet, but I think the code is
fine. I've checked it against clang 3.4 and code compiles fine.
typedef char true_typ