On Sat, Jan 02, 2021 at 03:22:25PM -0700, Martin Sebor via Gcc-patches wrote: > PR c++/95768 - pretty-printer ICE on -Wuninitialized with allocated storage > > gcc/c-family/ChangeLog: > > PR c++/95768 > * c-pretty-print.c (c_pretty_printer::primary_expression): For > SSA_NAMEs print VLA names and GIMPLE defining statements. > (print_mem_ref): New function. > (c_pretty_printer::unary_expression): Call it.
This broke: +FAIL: gcc.dg/plugin/gil-1.c -fplugin=./analyzer_gil_plugin.so (test for warnings, line 16) +FAIL: gcc.dg/plugin/gil-1.c -fplugin=./analyzer_gil_plugin.so (test for warnings, line 63) +FAIL: gcc.dg/plugin/gil-1.c -fplugin=./analyzer_gil_plugin.so (test for excess errors) and +FAIL: g++.dg/cpp0x/constexpr-trivial2.C -std=c++11 (test for errors, line 13) +FAIL: g++.dg/cpp0x/constexpr-trivial2.C -std=c++11 (test for excess errors) The former one is just a different printing of the MEM_REF from what the test expects, but the latter is an ICE (one needs make check-c++-all RUNTESTFLAGS=dg.exp=constexpr-trivial2.C to reproduce or GXX_TESTSUITE_STDS=11 or similar as C++11 is not tested by default). Jakub