r177864 - in /trunk/gcc: ChangeLog hwint.h opt-...

hjl@gcc.gnu.org hjl@gcc.gnu.org
Thu Aug 18 14:52:00 GMT 2011


Author: hjl
Date: Thu Aug 18 14:52:06 2011
New Revision: 177864

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=177864
Log:
Allow HOST_WIDE_INT for option variable.

2011-08-18  H.J. Lu  <hongjiu.lu@intel.com>
	    Igor Zamyatin <igor.zamyatin@intel.com>

	* hwint.h (HOST_WIDE_INT_1): New.

	* opt-functions.awk (switch_bit_fields): Initialize the
	host_wide_int field.
	(host_wide_int_var_name): New.
	(var_type_struct): Check and return HOST_WIDE_INT.

	* opt-read.awk: Handle HOST_WIDE_INT for "Variable".

	* optc-save-gen.awk: Support HOST_WIDE_INT on var_target_other.

	* opth-gen.awk: Use HOST_WIDE_INT_1 on HOST_WIDE_INT.  Properly
	check masks for HOST_WIDE_INT.

	* opts-common.c (set_option): Support HOST_WIDE_INT flag_var.
	(option_enabled): Likewise.
	(get_option_state): Likewise.

	* opts.h (cl_option): Add cl_host_wide_int.  Change var_value
	to HOST_WIDE_INT.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/hwint.h
    trunk/gcc/opt-functions.awk
    trunk/gcc/opt-read.awk
    trunk/gcc/optc-save-gen.awk
    trunk/gcc/opth-gen.awk
    trunk/gcc/opts-common.c
    trunk/gcc/opts.h



More information about the Gcc-cvs mailing list