From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30835 invoked by alias); 2 Feb 2013 21:45:45 -0000 Received: (qmail 30623 invoked by uid 48); 2 Feb 2013 21:45:21 -0000 From: "paulo_torrens at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/56180] Strange behaviour with optimization (using K&R C) Date: Sat, 02 Feb 2013 21:45:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: paulo_torrens at hotmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 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: 2013-02/txt/msg00157.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56180 --- Comment #3 from Paulo Torrens 2013-02-02 21:45:20 UTC --- According to the man page here on Mac: Only one character of push-back is guaranteed, but as long as there is sufficient memory, an effectively infinite amount of push-back is allowed. And yeah, you are right (thank you!), that j was one byte ahead, but, still... shouldn't the behaviour be the same across optimization levels?