On 07/14/2011 04:28 AM, Richard Guenther wrote: > On Tue, 12 Jul 2011, Richard Guenther wrote: > >> >> This patch is step 1, it abstracts away the type of the offset operand >> when building a POINTER_PLUS_EXPR. It does so by introducing >> fold_build_pointer_plus_expr{_hwi,_loc} helpers and use them in all >> places that currently build POINTER_PLUS_EXPRs (including those >> that do not fold the result). This patch will make steps 2 and more >> purely middle-end (fingers crossed). >> >> Bootstrapped and tested on x86_64-unknown-linux-gnu for all languages. >> >> I also built cc1 for all supported targets via contrib/config-list.mk >> and saw no fails that relate to this patch. >> >> Are the frontend parts ok? > > Ping. Joseph seems to be on vacation - Richard, can you approve > the C frontend/family parts?
Yeah, this patch is ok. r~