------- Comment #7 from rguenther at suse dot de 2009-08-12 12:37 ------- Subject: Re: Variate_generator with mt19937 and normal_distribution produces wrong sequence for "-O3".
On Wed, 12 Aug 2009, irar at il dot ibm dot com wrote: > ------- Comment #6 from irar at il dot ibm dot com 2009-08-12 12:14 ------- > Looks like a problem in data-ref analysis: > > Creating dr for this_6(D)->_M_x[__k_87] > ... > base_address: this_6(D) > offset from base address: 0 > constant offset from base address: 0 > step: 8 > aligned to: 128 > base_object: this_6(D)->_M_x[0] > > And the vectorizer creates accesses relatively to this_6(D) (base_address > above) with zero offset (instead of this_6(D)->_M_x[0] or with an offset of > _M_x). Oh. Did you manage to reduce or reproduce with a smaller testcase? Thanks, Richard. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41019