[Bug ipa/100791] [10 Regression] ICE: verify_gimple failed

2021-06-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100791

Richard Biener  changed:

   What|Removed |Added

  Known to work||10.3.1
  Known to fail||10.3.0
 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #8 from Richard Biener  ---
Fixed.

[Bug ipa/100791] [10 Regression] ICE: verify_gimple failed

2021-06-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100791

--- Comment #7 from CVS Commits  ---
The releases/gcc-10 branch has been updated by Richard Biener
:

https://gcc.gnu.org/g:be85daaecc3ae2da8707e22dc1ef19c21c3e503f

commit r10-9923-gbe85daaecc3ae2da8707e22dc1ef19c21c3e503f
Author: Richard Biener 
Date:   Fri May 28 13:31:35 2021 +0200

ipa/100791 - copy fntype when processing __builtin_va_arg_pack

This missing copying exposed a type mismatch in the IL.

2021-05-28  Richard Biener  

PR ipa/100791
* tree-inline.c (copy_bb): When processing __builtin_va_arg_pack
copy fntype from original call.

* gcc.dg/pr100791.c: New testcase.

(cherry picked from commit 359c0a86e2974a9f3036bc05b6e6c661f2c463cf)