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]

Small C++ PATCH to remove dead code


This code in store_parm_decls never fired, because we were checking
VOID_TYPE_P on the PARM_DECL itself rather than its type.  And we
already check for void parms in grokparms, so there's no point in
doing it here.

Tested x86_64-pc-linux-gnu, applying to trunk.

Attachment: void-parm.diff
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]