[Bug target/26726] -fivopts producing out of bounds array refs

2008-01-27 Thread ubizjak at gmail dot com
--- Comment #20 from ubizjak at gmail dot com 2008-01-27 17:53 --- (In reply to comment #19) > The problem in comment #13 is fixed for 4.3.0 by the fix for PR 34771. Oops, PR 34711. -- ubizjak at gmail dot com changed: What|Removed |Added

[Bug target/26726] -fivopts producing out of bounds array refs

2008-01-27 Thread ubizjak at gmail dot com
--- Comment #19 from ubizjak at gmail dot com 2008-01-27 17:52 --- The problem in comment #13 is fixed for 4.3.0 by the fix for PR 34771. -- ubizjak at gmail dot com changed: What|Removed |Added -

[Bug target/26726] -fivopts producing out of bounds array refs

2007-10-29 Thread ubizjak at gmail dot com
--- Comment #18 from ubizjak at gmail dot com 2007-10-29 13:22 --- Perhaps this analysis will help someone...: We start with following loop: void bar() () { unsigned int ivtmp.19; int pretmp.14; struct Foo * pretmp.13; struct Foo x[4]; int D.1669; struct Foo * D.1668; : :

[Bug target/26726] -fivopts producing out of bounds array refs

2007-10-29 Thread bonzini at gnu dot org
--- Comment #17 from bonzini at gnu dot org 2007-10-29 10:05 --- > This issue with -4 offset is annoying because code size of offsetted load insn > is huge: > >f: c7 40 fc 01 00 00 00movl $0x1,-0x4(%eax) -0x4(%eax) is 2 bytes more than (%eax), where IIRC it would be "a3 01 0

[Bug target/26726] -fivopts producing out of bounds array refs

2007-10-26 Thread ubizjak at gmail dot com
--- Comment #16 from ubizjak at gmail dot com 2007-10-26 10:06 --- (In reply to comment #14) > > This is now a target specific problem, on i?86 and x86_64 we are left with > > an > > offset of -4B and so referencing &a[5] in the exit condition. > > > This is PR target/24669. Hm, the

[Bug target/26726] -fivopts producing out of bounds array refs

2007-06-03 Thread pinskia at gcc dot gnu dot org
--- Comment #15 from pinskia at gcc dot gnu dot org 2007-06-04 05:36 --- One should note that: /* { dg-final { scan-tree-dump-not "offset: -4B" "ivopts" { xfail i?86-*-* x86_64-*-* } } } */ Will not match any more since switching over offset to sizetype. -- http://gcc.gnu.org/bugz

[Bug target/26726] -fivopts producing out of bounds array refs

2006-05-13 Thread uros at kss-loka dot si
--- Comment #14 from uros at kss-loka dot si 2006-05-13 08:46 --- (In reply to comment #13) > This is now a target specific problem, on i?86 and x86_64 we are left with an > offset of -4B and so referencing &a[5] in the exit condition. > This is PR target/24669. -- uros at kss-loka

[Bug target/26726] -fivopts producing out of bounds array refs

2006-05-01 Thread rguenth at gcc dot gnu dot org
--- Comment #13 from rguenth at gcc dot gnu dot org 2006-05-01 15:09 --- This is now a target specific problem, on i?86 and x86_64 we are left with an offset of -4B and so referencing &a[5] in the exit condition. -- rguenth at gcc dot gnu dot org changed: What|Remove