This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH for cygwin/mingw: Clean up subtarget switches and masks



> 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]