[Bug c++/89429] ICE with __func__

2019-02-21 Thread vakevk at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89429 --- Comment #2 from Valentin --- Comment on attachment 45782 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45782 Example code template void f(Function&& function) { // `0` is not special. Can be any value of any type.

[Bug c++/89429] ICE with __func__

2019-02-21 Thread vakevk at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89429 --- Comment #1 from Valentin --- Sorry, this was the wrong attachment. The proper code is: template void f(Function&& function) { // `0` is not special. Can be any value of any type. function(0); } // No error when this template

[Bug c++/89429] New: ICE with __func__

2019-02-21 Thread vakevk at gmail dot com
: unassigned at gcc dot gnu.org Reporter: vakevk at gmail dot com Target Milestone: --- Created attachment 45782 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45782=edit Example code g++ (Debian 8.2.0-20) 8.2.0 Compiling the attached code with `g++ testcase.cpp` results in an inter

[Bug sanitizer/87095] New: UndefinedBehaviorSanitizer vptr false positive with virtual inheritance only with -fno-sanitize-recover

2018-08-24 Thread vakevk at gmail dot com
: UNCONFIRMED Severity: normal Priority: P3 Component: sanitizer Assignee: unassigned at gcc dot gnu.org Reporter: vakevk at gmail dot com CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org, jakub at gcc dot gnu.org