This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Testsuite tweaks on SPARC
On Tue, Mar 23, 2004 at 05:54:46AM +0100, Eric Botcazou wrote:
> > I've noticed the same sort of thing on powerpc64-linux biarch. -m32
> > doesn't override -m64. This could be fixed with a (possibly target
> > dependent) tweak to check_live_switch.
>
> I personally think it's reasonable to abort when mutually exclusive options
> are specified on the command line.
Perhaps. Consider someone who has a biarch gcc installed, and shell
scripts called powerpc-linux-gcc and powerpc64-linux-gcc, with the
script providing -m32 or -m64. Is it reasonable to abort if I run
powerpc64-linux-gcc -m32? Of course, you can fix this with suitable
editing of args inside the script, but why should -m32/-m64 be treated
any differently than say -O1 and -O2? Those are mutually exclusive too!
--
Alan Modra
IBM OzLabs - Linux Technology Centre