r185469 - in /trunk/gcc: ChangeLog fold-const.c

rguenth@gcc.gnu.org rguenth@gcc.gnu.org
Fri Mar 16 14:49:00 GMT 2012


Author: rguenth
Date: Fri Mar 16 14:49:48 2012
New Revision: 185469

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=185469
Log:
2012-03-16  Richard Guenther  <rguenther@suse.de>

	* fold-const.c (native_interpret_expr): Also support POINTER_TYPE
	and REFERENCE_TYPE interpretations.
	(can_native_interpret_type_p): New function.
	(fold_ternary_loc): Use native encode/interpret to fold
	BIT_FIELD_REFs of constants.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/fold-const.c



More information about the Gcc-cvs mailing list