This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/47650] wrong output of print_generic_decl() called from a plugin
- From: "joe at mcknight dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 16 Mar 2011 14:40:44 +0000
- Subject: [Bug middle-end/47650] wrong output of print_generic_decl() called from a plugin
- Auto-submitted: auto-generated
- References: <bug-47650-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47650
--- Comment #27 from joe at mcknight dot de 2011-03-16 14:40:32 UTC ---
(In reply to comment #26)
> > Can we use anything else to terminate the loop? Is there any other debug output
> > that would be helpful for you?
>
> Well, try to figure out who creates that void_list_node clone.
>
> You can use !VOID_TYPE_P (TREE_VALUE (arg)) instead.
This works for that special case. Also checking for TREE_CHAIN(arg) != NULL
works.