From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15037 invoked by alias); 19 Oct 2004 20:39:45 -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 15029 invoked by uid 48); 19 Oct 2004 20:39:44 -0000 Date: Tue, 19 Oct 2004 20:39:00 -0000 Message-ID: <20041019203944.15028.qmail@sourceware.org> From: "pinskia at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20041019202143.18065.schlie@comcast.net> References: <20041019202143.18065.schlie@comcast.net> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug target/18065] wrong built-in functions selected X-Bugzilla-Reason: CC X-SW-Source: 2004-10/txt/msg02552.txt.bz2 List-Id: ------- Additional Comments From pinskia at gcc dot gnu dot org 2004-10-19 20:39 ------- char ss = s % s ; //<__divmodhi4> wrong, should be 8-bit <__divmodqi4> This is not wrong as we sign extend the arguments as required by the C standard (to int). So this is just an missed-optimization. -- What |Removed |Added ---------------------------------------------------------------------------- Severity|critical |minor Component|c |target Keywords| |missed-optimization http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18065