diff options
author | Richard Biener <rguenther@suse.de> | 2017-03-21 11:42:22 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2017-03-21 11:42:22 +0000 |
commit | da2ce5f993367610a67df1367665dda8a0abc354 (patch) | |
tree | 6c14e5dc64408db56178bba818a5fdef94d174eb /gcc/tree-inline.h | |
parent | 8c00ae2406531c22960650d2d2b0687b71fde52b (diff) | |
download | gcc-da2ce5f993367610a67df1367665dda8a0abc354.zip gcc-da2ce5f993367610a67df1367665dda8a0abc354.tar.gz gcc-da2ce5f993367610a67df1367665dda8a0abc354.tar.bz2 |
re PR tree-optimization/80122 (__builtin_va_arg_pack() and __builtin_va_arg_pack_len() does not work correctly)
2017-03-21 Richard Biener <rguenther@suse.de>
PR tree-optimization/80122
* tree-inline.c (copy_bb): Do not expans va-arg packs or
va_arg_pack_len when the inlined call stmt requires pack
expansion itself.
* tree-inline.h (struct copy_body_data): Make call_stmt a gcall *.
* gcc.dg/torture/pr80122.c: New testcase.
From-SVN: r246313
Diffstat (limited to 'gcc/tree-inline.h')
-rw-r--r-- | gcc/tree-inline.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-inline.h b/gcc/tree-inline.h index 41402a3..88b3286 100644 --- a/gcc/tree-inline.h +++ b/gcc/tree-inline.h @@ -81,7 +81,7 @@ struct copy_body_data /* GIMPLE_CALL if va arg parameter packs should be expanded or NULL is not. */ - gimple *call_stmt; + gcall *call_stmt; /* Exception landing pad the inlined call lies in. */ int eh_lp_nr; |