From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7059 invoked by alias); 14 Jan 2014 01:21:27 -0000 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 Received: (qmail 7025 invoked by uid 48); 14 Jan 2014 01:21:23 -0000 From: "michael at talosis dot ca" To: gcc-bugs@gcc.gnu.org Subject: [Bug preprocessor/59782] libcpp does not avoid bug #48326 when compiled by older GCC Date: Tue, 14 Jan 2014 01:21:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: preprocessor X-Bugzilla-Version: 4.8.2 X-Bugzilla-Keywords: build X-Bugzilla-Severity: normal X-Bugzilla-Who: michael at talosis dot ca X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-01/txt/msg01417.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59782 --- Comment #4 from Michael Deutschmann --- > According to [1], 4.7.1 is already OK, so > 4007 should be enough. But 4.7.0 isn't OK, so >= 4007 isn't enough. (> 4007 is functionally equivalent to >= 4008.) Note that this does make fixing 4.7.4 (which I suggest should be done otherwise a person starting with 4.7.0, no C++, and a cmov-less processor will face a circuitous route up to the current version.) a little more complicated. GCC_VERSION >= 4007 isn't good enough, but GCC_VERSION >= 4008 would mean that 4.7.4 would never include the MMX code when compiled with itself. Some would call that a regression. It's a simple matter of preprocessor programming to check the patchlevel too, but it will be an ugly #if statement.... If only there was a NOT_STAGE_1 macro... (is there?).