aboutsummaryrefslogtreecommitdiff
path: root/gcc/gdbhooks.py
diff options
context:
space:
mode:
authorIain Buclaw <ibuclaw@gdcproject.org>2020-07-16 18:34:18 +0200
committerIain Buclaw <ibuclaw@gdcproject.org>2020-07-30 23:44:31 +0200
commitdfc420f8d4492dbf5f45df4fecf93cb9645c0d7b (patch)
tree66848001f1fae4622a5aabd3813239d8cb05a08d /gcc/gdbhooks.py
parent684d6ee140af6585c18c8790f8f5bddfcc6bd153 (diff)
downloadgcc-dfc420f8d4492dbf5f45df4fecf93cb9645c0d7b.zip
gcc-dfc420f8d4492dbf5f45df4fecf93cb9645c0d7b.tar.gz
gcc-dfc420f8d4492dbf5f45df4fecf93cb9645c0d7b.tar.bz2
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.
Diffstat (limited to 'gcc/gdbhooks.py')
0 files changed, 0 insertions, 0 deletions