From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8979 invoked by alias); 30 Oct 2005 22:44:53 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 8913 invoked by uid 48); 30 Oct 2005 22:44:51 -0000 Date: Sun, 30 Oct 2005 22:44:00 -0000 Message-ID: <20051030224451.8912.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug tree-optimization/16876] [3.4/4.0/4.1 Regression] ICE on testcase with -O3 in gen_lowpart In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "mmitchel at gcc dot gnu dot org" X-SW-Source: 2005-10/txt/msg03867.txt.bz2 List-Id: ------- Comment #9 from mmitchel at gcc dot gnu dot org 2005-10-30 22:44 ------- P2 is the right setting for this bug; it's popping up often enough to make it worth fixing. Disabling the inlining in the case that the argument type doesn't match (closely enough) the parameter type seems reasonable to me, even without introducing a subsequent runtime abort. That would be equivalent to the behavior if the function called appeared in a different translation unit. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16876