[PATCH] Fix PR27498, folding of constant string reads

Roger Sayle roger@eyesopen.com
Tue May 9 14:27:00 GMT 2006


On Tue, 9 May 2006, Richard Guenther wrote:
> 2006-05-07  Dirk Mueller  <dmueller@suse.de>
> 	Richard Guenther  <rguenther@suse.de>
>
> 	PR middle-end/27498
> 	* fold-const.c (fold_read_from_constant_string): Relax check
> 	for matching types to matching modes.
>
> 	* gcc.dg/tree-ssa/pr27498.c: New testcase.


This is OK for mainline.

Thanks,

Roger
--



More information about the Gcc-patches mailing list