This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH for cygwin/mingw: Clean up subtarget switches and masks
- From: DJ Delorie <dj at redhat dot com>
- To: danny_r_smith_2001 at yahoo dot co dot nz
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 26 Mar 2002 13:18:47 -0500
- Subject: Re: PATCH for cygwin/mingw: Clean up subtarget switches and masks
- References: <20020325215938.5424.qmail@web14505.mail.yahoo.com>
> Removing them frees up the associated bit masks. This allows the
> use of a unique bit for MASK_NOP_FUN_DLLIMPORT, replacing the one
> that is currently shared with MASK_SSE_SET in i386.h
This was part of my reason behind
http://gcc.gnu.org/ml/gcc-patches/2002-03/msg00833.html
> 2002-03-25 Danny Smith <dannysmith@sourceforge.users.net>
>
> * config/i386/cygwin.h (TARGET_DLL, TARGET_WIN32,
> TARGET_CYGWIN, TARGET_WINDOWS): Remove unused switch defines.
> (MASK_DLL, MASK_WIN32, MASK_CYGWIN, MASK_WINDOWS):
> Remove unnecessary masks.
> (MASK_NOP_FUN_DLLIMPORT): Use an unused bit.
> (SUBTARGET_SWITCHES): Use empty masks for -mwin32, -mcygwin,
> -mwindows, -mdll switches and their negations.
Looks OK to me.