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: PR driver/34904: -march=native doesn't work with multiple input files


"H.J. Lu" <hjl.tools@gmail.com> writes:

> 2008-01-21  H.J. Lu  <hongjiu.lu@intel.com>
> 
> 	PR driver/34904
> 	* gcc.c (SWITCH_OK): Removed.
> 	(SWITCH_LIVE): Changed to bit.
> 	(SWITCH_FALSE): Likewise.
> 	(SWITCH_IGNORE): Likewise.
> 	(switchstr): Change live_cond to unsigned int.
> 	(process_command): Replace SWITCH_OK with 0.
> 	(do_self_spec): Likewise.
> 	(set_collect_gcc_options): Check the SWITCH_IGNORE bit.
> 	(give_switch): Likewise.
> 	(used_arg): Likewise.
> 	(do_spec_1): Set the SWITCH_IGNORE bit.
> 	(check_live_switch): Check both SWITCH_LIVE and SWITCH_FALSE
> 	bits.  Set the SWITCH_LIVE bit.

This is OK if all tests pass.

Thanks.

Ian


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