Re: LTO + conditional jump + delay slot

2014-04-30 Thread Joern Rennecke
On 30 April 2014 12:20, Richard Biener wrote: > the delay-slot code is fragile, you probably simply run into a bug. In particular, we lack in-tree ports with multiple delay slots, so while the support exists theoretically, it is not tested and maintained in any meaningful way.

Re: LTO + conditional jump + delay slot

2014-04-30 Thread Richard Biener
On Wed, Apr 30, 2014 at 1:03 PM, BELBACHIR Selim wrote: > Hi, > > I encountered a problem on test 'gcc.c-torture/execute/loop-7.c' (gcc4.7.3) > on my private port during test case "-O2 -flto -fuse-linker-plugin > -fno-fat-lto-objects" > > Here is the tested code : > > void foo (unsigned int n)

LTO + conditional jump + delay slot

2014-04-30 Thread BELBACHIR Selim
Hi, I encountered a problem on test 'gcc.c-torture/execute/loop-7.c' (gcc4.7.3) on my private port during test case "-O2 -flto -fuse-linker-plugin -fno-fat-lto-objects" Here is the tested code : void foo (unsigned int n) { int i, j = -1; for (i = 0; i < 10 && j < 0; i++) { if ((