https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93388
--- Comment #19 from David Binderman <dcb314 at hotmail dot com> ---
I tried out the C++ code with -g -O2 -fanalyzer and got the following:

$ cat 20200814.ana.O2.cpp.out | fgrep "internal c" | fgrep analyzer
./g++.dg/expr/ptrmem7.C:20:3: internal compiler error: in
get_or_create_mem_ref, at analyzer/region-model.cc:6938
./g++.dg/expr/ptrmem8.C:13:3: internal compiler error: in
get_or_create_mem_ref, at analyzer/region-model.cc:6938
./g++.old-deja/g++.bugs/900212_03.C:28:3: internal compiler error: in
get_or_create_mem_ref, at analyzer/region-model.cc:6938
./g++.old-deja/g++.law/code-gen4.C:24:9: internal compiler error: in
get_or_create_mem_ref, at analyzer/region-model.cc:6938
./g++.old-deja/g++.mike/pmf1.C:36:3: internal compiler error: in
get_or_create_mem_ref, at analyzer/region-model.cc:6938
$

So only one crash, different to the C code, there.

Reply via email to