This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/83487] [8 Regression] ICE in expand_call, at calls.c:4098
- 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, 19 Dec 2017 15:27:29 +0000
- Subject: [Bug middle-end/83487] [8 Regression] ICE in expand_call, at calls.c:4098
- Auto-submitted: auto-generated
- References: <bug-83487-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83487
--- Comment #5 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
This actually reproduces with C and C++ ABI 12, too. The problem is this:
4096 /* Stack must be properly aligned now. */
4097 gcc_assert (!pass
4098 || !(stack_pointer_delta %
preferred_unit_stack_boundary));
where stack_pointer_delta is 8, but preferred_unit_stack_boundary is 16.
Without __attribute__ ((aligned)) stack_pointer_delta is 16 and the crash does
not occur. No ideas so far.