From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 69D93385E014; Fri, 27 Mar 2020 02:45:55 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 69D93385E014 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1585277155; bh=rvkL99sGnnZ6p/G0R7Z9jW6YGUl322hePag/3mw7Dto=; h=From:To:Subject:Date:In-Reply-To:References:From; b=XAo9kUWBb/vzNRfTIYLCByhowJE2dyNXrbDUiHb/pdJTRioAGxtjfcU6i1NWHXiyB YAlCATSlAApBvRCrVmMWigLa2yWeWobnyKbL98HSz7tqlFVvblyKY4NVmPAThrJERv fMJKKsjtL/VGrNHDqAgy5C3mkZyhWn/3GQVgNNpk= From: "xerofoify at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/86715] ICE passing too large argument on stack Date: Fri, 27 Mar 2020 02:45:55 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: xerofoify at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Mar 2020 02:45:55 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D86715 Nicholas Krause changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |segher at gcc dot gnu.org, | |xerofoify at gmail dot com --- Comment #1 from Nicholas Krause --- Hi, This does not seem to be happening in the middle end but in RTL expand. I've tried on x86_64 trunk and now powerpc. Seems to only happen on PowerPC now = as seen here: test.cpp: In function =E2=80=98int main(int, char**)=E2=80=99: test.cpp:33:23: sorry, unimplemented: passing too large argument on stack 33 | result =3D mulm(m1, m2); | ^ during RTL pass: expand g++: internal compiler error: Segmentation fault signal terminated program cc1plus Please submit a full bug report, with preprocessed source if appropriate. See for instructions. I'm not aware of stack size limitations on Power so I'm CCed the maintainer= to take a look. Not sure if this occurs on other architectures in expand like = ARM as well. Segher would you please take a look at this for me.=