https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96154
--- Comment #1 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Iain Buclaw <ibuc...@gcc.gnu.org>: https://gcc.gnu.org/g:873b45d39c14fee6b68032b83ea6bfbc023e3379 commit r11-2442-g873b45d39c14fee6b68032b83ea6bfbc023e3379 Author: Iain Buclaw <ibuc...@gdcproject.org> Date: Thu Jul 16 18:56:18 2020 +0200 d: Add -Wvarargs warning flag to the D front-end The D front-end has C-style variadic functions and va_start/va_arg, so it is right to also have warnings for inproper use. gcc/d/ChangeLog: PR d/96154 * gdc.texi (Warnings): Document -Wvarargs. * lang.opt: Add -Wvarargs gcc/testsuite/ChangeLog: PR d/96154 * gdc.dg/pr96154a.d: New test. * gdc.dg/pr96154b.d: New test.