[Bug middle-end/44069] [4.5/4.6 Regression] optimization bug initializing from cast array

2010-05-25 Thread rguenth at gcc dot gnu dot org
--- Comment #8 from rguenth at gcc dot gnu dot org 2010-05-25 15:50 --- Subject: Bug 44069 Author: rguenth Date: Tue May 25 15:49:34 2010 New Revision: 159824 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=159824 Log: 2010-05-25 Richard Guenther rguent...@suse.de PR

[Bug middle-end/44069] [4.5/4.6 Regression] optimization bug initializing from cast array

2010-05-19 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44069

[Bug middle-end/44069] [4.5/4.6 Regression] optimization bug initializing from cast array

2010-05-14 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2010-05-14 21:16 --- We fold D.1794_14 = D.1795_13 * 4; D.1793_15 = vals[0][0] + D.1794_14; to vals[0][D.1795_13] Now we can either avoid doing this kind of foldings or we need to be more careful when analyzing the result in the

[Bug middle-end/44069] [4.5/4.6 Regression] optimization bug initializing from cast array

2010-05-14 Thread rguenth at gcc dot gnu dot org
--- Comment #7 from rguenth at gcc dot gnu dot org 2010-05-14 21:28 --- More reduced testcase: template unsigned R, unsigned C class M { public: M(const int* arr) { for (unsigned long r = 0; r R; ++r) for (unsigned long c = 0; c C; ++c) m[r*C+c] =