[Bug c++/69756] Passing a multidimensional variable-length array into a lambda (by reference) causes an error
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Feb 11 08:30:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69756
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2016-02-11
Ever confirmed|0 |1
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
We ICE expanding _4(D) in
_5 = _4(D) /[ex] 4;
But
(gdb) p context
$7 = <function_decl 0x7ffff69e6d20 main>
(gdb) p current_function_decl
$8 = <function_decl 0x7ffff69e6e00 operator()>
for its underlying decl. So we somehow failed to properly remap things here
(and appearantly have no verification for this).
More information about the Gcc-bugs
mailing list