From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 52007 invoked by alias); 9 Jun 2015 09:10:46 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 51921 invoked by uid 48); 9 Jun 2015 09:10:42 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/64164] [4.9/5 Regression] one more stack slot used due to one less inlining level Date: Tue, 09 Jun 2015 09:10:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: aoliva at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-06/txt/msg00792.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64164 Eric Botcazou changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ebotcazou at gcc dot gnu.org --- Comment #37 from Eric Botcazou --- The patch severely breaks on SPARC though: int foo (char c) { return (int) c; } eric@polaris:~/build/gcc/sparc-sun-solaris2.10> gcc/xgcc -Bgcc -S -O t.c t.c: In function 'foo': t.c:1:5: internal compiler error: in assign_parm_setup_reg, at function.c:3120 int foo (char c) ^ 0xa335d0 assign_parm_setup_reg /home/eric/svn/gcc/gcc/function.c:3120 0xa3660f assign_parms /home/eric/svn/gcc/gcc/function.c:3778 0xa3a9fd expand_function_start(tree_node*) /home/eric/svn/gcc/gcc/function.c:5215 0x838716 execute /home/eric/svn/gcc/gcc/cfgexpand.c:6127 Please submit a full bug report,