Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1764264AbXJZRM3 (ORCPT ); Fri, 26 Oct 2007 13:12:29 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754378AbXJZRMV (ORCPT ); Fri, 26 Oct 2007 13:12:21 -0400 Received: from mx2.redhat.com ([66.187.237.31]:35469 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753578AbXJZRMU (ORCPT ); Fri, 26 Oct 2007 13:12:20 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18210.8170.598519.439148@zebedee.pink> Date: Fri, 26 Oct 2007 18:12:10 +0100 From: Andrew Haley To: "Bart Van Assche" Cc: "Linus Torvalds" , "Linux Kernel Mailing List" Subject: Re: Is gcc thread-unsafe? In-Reply-To: References: X-Mailer: VM 7.19 under Emacs 22.0.93.1 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 594 Lines: 18 Bart Van Assche writes: > Andrew, do you know whether gcc currently contains any optimization > that interchanges the order of accesses to non-volatile variables > and function calls ? It sure does. Andrew. -- Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE, UK Registered in England and Wales No. 3798903 - 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/