Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753909Ab0KHMzE (ORCPT ); Mon, 8 Nov 2010 07:55:04 -0500 Received: from sunsite.ms.mff.cuni.cz ([195.113.15.26]:57788 "EHLO sunsite.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751660Ab0KHMzC (ORCPT ); Mon, 8 Nov 2010 07:55:02 -0500 X-Greylist: delayed 3638 seconds by postgrey-1.27 at vger.kernel.org; Mon, 08 Nov 2010 07:55:00 EST Date: Mon, 8 Nov 2010 12:53:53 +0100 From: Jakub Jelinek To: Paul Koning Cc: Richard Guenther , Andi Kleen , Andreas Schwab , Jim , Linux Kernel Mailing List , gcc@gcc.gnu.org Subject: Re: gcc 4.5.1 / as 2.20.51.0.11 miscompiling drivers/char/i8k.c ? Message-ID: <20101108115353.GC2583@sunsite.ms.mff.cuni.cz> Reply-To: Jakub Jelinek References: <4CD538CA.8010901@xs4all.nl> <87wroostw3.fsf@basil.nowhere.org> <87k4kospnd.fsf@basil.nowhere.org> <877hgorrj1.fsf@basil.nowhere.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.19 (2009-01-05) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 566 Lines: 13 On Mon, Nov 08, 2010 at 06:47:59AM -0500, Paul Koning wrote: > I don't know about 4.5, but I noticed that with 4.6 (trunk), testcasese > like gcc.c-torture/compile/20000804-1.c optimize away the asm and all the > operand generation except for -O0. That's fine, the asm isn't volatile and the output is not used. Jakub -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/