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, rs6000]: reject -m64 and -m32 simultaneously



On 26/11/2007, at 3:13 PM, Jakub Jelinek wrote:


On Tue, Nov 27, 2007 at 10:03:02AM +1100, Ben Elliston wrote:
2007-11-27 Sa Liu <saliu@de.ibm.com>

* config/rs6000/sysv4.h (CC1_SPEC): Display an error message if
-m32 and -m64 are given simultaneously.

Isn't the i386.opt way much better? For the m64 and m32 options add in addition to the already present RejectNegative also Negative(m32) resp. Negative(m64) to the sysv4.opt file.

I think we do have a rule that every option should be overrideable later. I can certainly see someone creating a shell script that does 'cc -m64' and later wanting to add with -m32.

Attachment: smime.p7s
Description: S/MIME cryptographic signature


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