On 10/13/2011 05:22 PM, Jason Merrill wrote:
+ DECL_INITIAL (r) = error_mark_node;
While working on 50507 I noticed that we check for error_mark_node in
walk_field_subobs, so I'm changing the placeholder to void_zero_node.
Tested x86_64-pc-linux-gnu, applying to trunk.
commit
The problem here was that with -fcompare-debug,
execute_cleanup_cfg_post_optimizing wants to print out all the decls
used in a function, which involves printing the DECL_INITIAL, and the
instantiation of a FIELD_DECL with an NSDMI had an uninstantiated
DECL_INITIAL, so the dumper got confused