From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23764 invoked by alias); 26 Dec 2008 15:41:27 -0000 Received: (qmail 22620 invoked by uid 48); 26 Dec 2008 15:38:49 -0000 Date: Fri, 26 Dec 2008 15:41:00 -0000 Message-ID: <20081226153849.22619.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug target/38629] target-specific parameters for inline heuristics not defined for AVR In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "steven at gcc dot gnu dot org" 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 X-SW-Source: 2008-12/txt/msg02327.txt.bz2 ------- Comment #1 from steven at gcc dot gnu dot org 2008-12-26 15:38 ------- GCC inline heuristics are just that: heuristics. They are not optimal for all targets but only for those targets that they have been tuned for. For AVR, nobody ever tuned the heuristics, despite several suggestions (see e.g. bug 30908). In this case, PARAM_INLINE_CALL_COST and MOVE_RATIO should be tuned for AVR. Therefore, target enhancement request. -- steven at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|major |enhancement Status|UNCONFIRMED |NEW Component|c |target Ever Confirmed|0 |1 GCC host triplet|i386/cygwin | Last reconfirmed|0000-00-00 00:00:00 |2008-12-26 15:38:49 date| | Summary|gcc version 4.2.x, 4.3.x and|target-specific parameters |4.4.0 are doing (too much) |for inline heuristics not |automatic inlining with -O1,|defined for AVR |-O2 and -Os | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38629