From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21548 invoked by alias); 12 Jul 2010 09:54:45 -0000 Received: (qmail 21511 invoked by uid 48); 12 Jul 2010 09:54:32 -0000 Date: Mon, 12 Jul 2010 09:54:00 -0000 Message-ID: <20100712095432.21510.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c/44918] Calculation on y = x++ + x++ depends on following statements In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "steven at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-07/txt/msg01270.txt.bz2 ------- Comment #4 from steven at gcc dot gnu dot org 2010-07-12 09:54 ------- The correct answer is: "here is no sequence point between the two modifications to x.". If you don't know what a sequence point is, use Google (see first hit, Wikipedia). If you don't know C, don't use C. And don't reopen bugs because you're too bloody lazy to do any searching yourself. -- steven at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44918