http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53900
Kacper Kowalik <xarthisius.kk at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |xarthisius.kk at gmail dot | |com --- Comment #5 from Kacper Kowalik <xarthisius.kk at gmail dot com> 2012-12-28 17:47:12 UTC --- (In reply to comment #1) > You tell the compiler array is aligned, so what do you expect? This regression was introduced by: http://gcc.gnu.org/viewcvs?view=revision&revision=172424 2011-04-14 Richard Guenther <rguent...@suse.de> * tree.h (get_object_alignment_1): Declare. * builtins.c (get_object_alignment_1): Split out worker from ... (get_object_alignment): ... here. * fold-const.c (get_pointer_modulus_and_residue): Use get_object_alignment_1. * gcc.dg/fold-bitand-4.c: Move ... * c-c++-common/fold-bitand-4.c: ... here. Adjust slightly. Could you please verify that it's intended behaviour and/or indicate if provided testcase is a valid/invalid code? Thank you in advance, Kacper Kowalik