From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28323 invoked by alias); 30 Dec 2014 18:24:36 -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 28289 invoked by uid 48); 30 Dec 2014 18:24:31 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/63596] Saving of GPR/FPRs for stdarg even though the variable argument is not used Date: Tue, 30 Dec 2014 18:24:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jiwang at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: 2014-12/txt/msg02960.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63596 --- Comment #3 from Andrew Pinski --- (In reply to Jiong Wang from comment #2) > we are also lack of initialization for va_list_gpr_counter_field and > va_list_vpr_counter_field, thus currently the whole tree-stdarg optimization > doesn't work for AArch64, and lots of other targets, like arm, sparc, mips > etc are lack of this vaarg opt tuning also. Yes but the two other server targets (x86 and PowerPC) don't lack this optimization.