From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12050 invoked by alias); 28 Jul 2005 21:26:02 -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 12030 invoked by uid 48); 28 Jul 2005 21:25:58 -0000 Date: Thu, 28 Jul 2005 21:28:00 -0000 Message-ID: <20050728212558.12029.qmail@sourceware.org> From: "schlie at comcast dot net" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20050226152836.20222.andrewhutchinson@cox.net> References: <20050226152836.20222.andrewhutchinson@cox.net> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug middle-end/20222] [AVR] Double load of volatile operand X-Bugzilla-Reason: CC X-SW-Source: 2005-07/txt/msg03773.txt.bz2 List-Id: ------- Additional Comments From schlie at comcast dot net 2005-07-28 21:25 ------- (In reply to comment #0) - just for the record, it appears that the bug is that when a function is inlined using a built-in, a volatile parameter should be accessed only once and placed into a temporary, which is then substitued for references to that paramter within the body of the function, not the volatile reference itself. please see: http://gcc.gnu.org/ml/gcc/2005-07/msg00704.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20222