This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/70093] Instancing function with VM return type cases internal compiler error in 'assign_stack_temp_for_type'.
- From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 08 Mar 2016 13:00:22 +0000
- Subject: [Bug c/70093] Instancing function with VM return type cases internal compiler error in 'assign_stack_temp_for_type'.
- Auto-submitted: auto-generated
- References: <bug-70093-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70093
--- Comment #6 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Ugh, a combination of a nested function and a VLA-in-a-struct.
We're trying to allocate variable-sized temporary. Guess that's a wrong thing
to do, we should generate __builtin_alloca or __builtin_alloca_with_align when
expanding the call.