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] Fix PR22303, CCP not handling reads from constant strings


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Richard Guenther wrote on 05/09/06 08:33:

> 	PR tree-optimization/22303
> 	* tree-ssa-ccp.c (fold_const_aggregate_ref): Handle reads
> 	from STRING_CSTs.
> 	(evaluate_stmt): Fall back to fold_const_aggregate_ref, if
> 	ccp_fold did not simplify the statement.
> 
> 	* gcc.dg/tree-ssa/ssa-ccp-13.c: New testcase.
> 
OK.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQFEaexyUTa2oAUaiwQRArK0AJwN637gzX/v6pewMt0fo83XNXWUhgCgosGr
GGeuJYeocIqC8lF0KFXcDoc=
=HPjR
-----END PGP SIGNATURE-----


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