From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1873) id BF0883947411; Mon, 19 Apr 2021 18:02:56 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BF0883947411 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Iain Buclaw To: gcc-cvs@gcc.gnu.org Subject: [gcc(refs/users/ibuclaw/heads/mingw)] Initial Mingw/MSVC support X-Act-Checkin: gcc X-Git-Author: Iain Buclaw X-Git-Refname: refs/users/ibuclaw/heads/mingw X-Git-Oldrev: dc7d1c74ffb1cc85e67984632f581d526c783770 X-Git-Newrev: 84d266ebccc315226daebd59eb8bfcc39dcb8447 Message-Id: <20210419180256.BF0883947411@sourceware.org> Date: Mon, 19 Apr 2021 18:02:56 +0000 (GMT) X-BeenThere: gcc-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Apr 2021 18:02:56 -0000 https://gcc.gnu.org/g:84d266ebccc315226daebd59eb8bfcc39dcb8447 commit 84d266ebccc315226daebd59eb8bfcc39dcb8447 Author: Iain Buclaw Date: Wed Mar 24 16:24:04 2021 +0100 Initial Mingw/MSVC support Diff: --- gcc/config/i386/cygming.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gcc/config/i386/cygming.h b/gcc/config/i386/cygming.h index cfbca34f996..59eb812c1cf 100644 --- a/gcc/config/i386/cygming.h +++ b/gcc/config/i386/cygming.h @@ -209,6 +209,8 @@ along with GCC; see the file COPYING3. If not see #define SUBTARGET_OVERRIDE_OPTIONS \ do { \ flag_pic = TARGET_64BIT ? 1 : 0; \ + if (!global_options_set.x_dwarf_version) \ + dwarf_version = 4; \ } while (0) /* Define this macro if references to a symbol must be treated