This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Jason Merrill <jason@redhat.com> wrote: > Dodji Seketeli wrote: > > + if (arg_node == void_list_node) > > + { > > + TREE_CHAIN (arg_node) = arg_types; > > + arg_types = arg_node; > > + break; > > + } > > void_list_node is a shared list node; we shouldn't change it. > grokparms deals with this by attaching it with chainon after > nreversing the rest of the list. Okay. The attached patch mimics what's done in grokparms. FWIW it bootstraps and passes regtests on trunk. Thanks. -- Dodji Seketeli Red Hat, Inc.
Attachment:
gcc-PR39754-patch-9.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |