Bug#1038134: g++-12: Conditional compilation error in optimized mode

2023-07-22 Thread Nomen Nescio
I don't understand how this is a bug. Calling a member function on a null pointer is clearly UB. There is already a flag to support non-standard programs like this (-fno-delete-null-pointer-checks), but it's not enabled by default, of course.

Bug#1038134: g++-12: Conditional compilation error in optimized mode

2023-07-10 Thread Matthias Klose
Control: tags -1 + moreinfo please recheck with the gcc-12 and gcc-13 packages from unstable. Also please try to check with a standalone test case.

Bug#1038134: g++-12: Conditional compilation error in optimized mode

2023-06-15 Thread Michael Ivanov
Package: g++-12 Version: 12.2.0-14 Severity: normal X-Debbugs-Cc: iv...@isle.spb.ru Dear Maintainer, When I compile c++ code which has an error (method invoked on null class pointer) the following problem occurs: the actual call does not crash, since 'this' pointer is not really used in called me