[Bug d/96140] internal compiler error: in expand_intrinsic_vaarg
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Jul 30 21:45:21 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96140
--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Iain Buclaw <ibuclaw@gcc.gnu.org>:
https://gcc.gnu.org/g:dfc420f8d4492dbf5f45df4fecf93cb9645c0d7b
commit r11-2441-gdfc420f8d4492dbf5f45df4fecf93cb9645c0d7b
Author: Iain Buclaw <ibuclaw@gdcproject.org>
Date: Thu Jul 16 18:34:18 2020 +0200
d: Fix ICE in expand_intrinsic_vaarg
Both intrinsics did not handle the case where the va_list object comes
from a ref parameter.
gcc/d/ChangeLog:
PR d/96140
* intrinsics.cc (expand_intrinsic_vaarg): Handle ref parameters as
arguments to va_arg().
(expand_intrinsic_vastart): Handle ref parameters as arguments to
va_start().
gcc/testsuite/ChangeLog:
PR d/96140
* gdc.dg/pr96140.d: New test.
More information about the Gcc-bugs
mailing list