public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "mrs at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/63810] gcc sets incorrect macro for OS X deployment targets
Date: Thu, 28 May 2015 12:27:00 -0000	[thread overview]
Message-ID: <bug-63810-4-CeSKKDqAws@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-63810-4@http.gcc.gnu.org/bugzilla/>

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63810

--- Comment #26 from mrs at gcc dot gnu.org <mrs at gcc dot gnu.org> ---
Author: mrs
Date: Thu May 28 12:27:05 2015
New Revision: 223808

URL: https://gcc.gnu.org/viewcvs?rev=223808&root=gcc&view=rev
Log:
2015-05-28  Lawrence Velázquez  <vq@larryv.me>

        PR target/63810
        * config/darwin-c.c (version_components): New global enum.
        (parse_version, version_as_legacy_macro)
        (version_as_modern_macro, macosx_version_as_macro): New functions.
        (version_as_macro): Remove.
        (darwin_cpp_builtins): Use new function.

testsuite:
        PR target/63810
        * gcc.dg/darwin-minversion-3.c: Update testcase.
        * gcc.dg/darwin-minversion-4.c: Ditto.
        * gcc.dg/darwin-minversion-5.c: New testcase.
        * gcc.dg/darwin-minversion-6.c: Ditto.
        * gcc.dg/darwin-minversion-7.c: Ditto.
        * gcc.dg/darwin-minversion-8.c: Ditto.
        * gcc.dg/darwin-minversion-9.c: Ditto.
        * gcc.dg/darwin-minversion-10.c: Ditto.
        * gcc.dg/darwin-minversion-11.c: Ditto.
        * gcc.dg/darwin-minversion-12.c: Ditto.

Added:
    trunk/gcc/testsuite/gcc.dg/darwin-minversion-10.c
    trunk/gcc/testsuite/gcc.dg/darwin-minversion-11.c
    trunk/gcc/testsuite/gcc.dg/darwin-minversion-12.c
    trunk/gcc/testsuite/gcc.dg/darwin-minversion-5.c
    trunk/gcc/testsuite/gcc.dg/darwin-minversion-6.c
    trunk/gcc/testsuite/gcc.dg/darwin-minversion-7.c
    trunk/gcc/testsuite/gcc.dg/darwin-minversion-8.c
    trunk/gcc/testsuite/gcc.dg/darwin-minversion-9.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/darwin-c.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.dg/darwin-minversion-3.c
    trunk/gcc/testsuite/gcc.dg/darwin-minversion-4.c
>From gcc-bugs-return-487508-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu May 28 12:33:25 2015
Return-Path: <gcc-bugs-return-487508-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 52150 invoked by alias); 28 May 2015 12:33:25 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 51862 invoked by uid 48); 28 May 2015 12:33:21 -0000
From: "mrs at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/63810] gcc sets incorrect macro for OS X deployment targets
Date: Thu, 28 May 2015 12:33:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 5.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mrs at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
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: bug_status cf_known_to_work resolution
Message-ID: <bug-63810-4-Lgvj9YyH0t@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-63810-4@http.gcc.gnu.org/bugzilla/>
References: <bug-63810-4@http.gcc.gnu.org/bugzilla/>
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: 2015-05/txt/msg02348.txt.bz2
Content-length: 585

https://gcc.gnu.org/bugzilla/show_bug.cgi?idc810

mrs at gcc dot gnu.org <mrs at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
      Known to work|                            |6.0
         Resolution|---                         |FIXED

--- Comment #27 from mrs at gcc dot gnu.org <mrs at gcc dot gnu.org> ---
Fixed in 6.0. Backports pre approved after bake time and testing that includes
older darwins and ppc.


  parent reply	other threads:[~2015-05-28 12:27 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-11  2:00 [Bug driver/63810] New: " jeremyhu at macports dot org
2014-11-11  7:38 ` [Bug target/63810] " fxcoudert at gcc dot gnu.org
2014-11-14  9:09 ` larryv at macports dot org
2014-11-14  9:16 ` larryv at macports dot org
2014-11-14 21:21 ` howarth at bromo dot med.uc.edu
2014-11-14 21:24 ` larryv at macports dot org
2014-11-14 21:59 ` larryv at macports dot org
2014-11-18  6:40 ` larryv at macports dot org
2014-11-18  7:31 ` larryv at macports dot org
2014-11-18  9:32 ` fxcoudert at gcc dot gnu.org
2014-12-22 22:42 ` egall at gwmail dot gwu.edu
2015-05-15  6:54 ` vq at larryv dot me
2015-05-15 22:52 ` fxcoudert at gcc dot gnu.org
2015-05-16  2:16 ` vq at larryv dot me
2015-05-16  7:58 ` fxcoudert at gcc dot gnu.org
2015-05-20 22:01 ` vq at larryv dot me
2015-05-28 12:27 ` mrs at gcc dot gnu.org [this message]
2015-05-28 16:08 ` vq at larryv dot me

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-63810-4-CeSKKDqAws@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).