[Bug tree-optimization/40679] Optimizer handles loops with volatiles and post-incr. wrong

2009-07-08 Thread bastian dot schick at sciopta dot com
--- Comment #8 from bastian dot schick at sciopta dot com 2009-07-08 13:06 --- (In reply to comment #6) > (In reply to comment #2) > > Replacing *tbl++ by tbl[i] gives this ARM code: > > .L2: > > mov r3, #10 > > str r3, [r2], #4

[Bug rtl-optimization/40679] Optimizer handles loops with volatiles and post-incr. wrong

2009-07-08 Thread bastian dot schick at sciopta dot com
--- Comment #4 from bastian dot schick at sciopta dot com 2009-07-08 09:06 --- (In reply to comment #3) > On trunk with -fno-tree-vrp I see the correct code being generated. It seems to be related to Bug #30785 (test for null pointer). -- http://gcc.gnu.org/bugzilla/show_bug.

[Bug rtl-optimization/40679] Optimizer handles loops with volatiles and post-incr. wrong

2009-07-08 Thread bastian dot schick at sciopta dot com
--- Comment #2 from bastian dot schick at sciopta dot com 2009-07-08 08:24 --- (In reply to comment #1) > > Sent from my iPhone Oh, dude (which one :-) > On Jul 8, 2009, at 12:32 AM, "bastian dot schick at sciopta dot com" > > wrote: > > > If t

[Bug rtl-optimization/40679] New: Optimizer handles loops with volatiles and post-incr. wrong

2009-07-08 Thread bastian dot schick at sciopta dot com
ned at gcc dot gnu dot org ReportedBy: bastian dot schick at sciopta dot com GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-mingw32 GCC target triplet: i686-mingw32 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40679