Re: bug in lra causes incorrect register usage / compiler crash

2014-04-30 Thread Jeff Law
On 04/29/14 14:16, Paul Shortis wrote: I've now confirmed this same issue occurs on a stock i386 build when -fomit-frame-pointer is specified with -O2 and a test case with reasonable register pressure. Please file a report with a compilable testcase. This is important both for the reviewer so t

Re: bug in lra causes incorrect register usage / compiler crash

2014-04-29 Thread Mikael Pettersson
Paul Shortis writes: > I've now confirmed this same issue occurs on a stock i386 build > when -fomit-frame-pointer is specified with -O2 and a test case > with reasonable register pressure. Then please open a bug report in gcc's bugzilla with the test case and instructions on how to reproduce

Re: bug in lra causes incorrect register usage / compiler crash

2014-04-29 Thread Paul Shortis
I've now confirmed this same issue occurs on a stock i386 build when -fomit-frame-pointer is specified with -O2 and a test case with reasonable register pressure. On 28/04/14 07:47, Paul Shortis wrote: I'm porting gcc to a 16 bit cpu with a two address ISA like x86. When using LRA I was getti

bug in lra causes incorrect register usage / compiler crash

2014-04-27 Thread Paul Shortis
I'm porting gcc to a 16 bit cpu with a two address ISA like x86. When using LRA I was getting compiler crashes and results like this from the reload pass (insn 97 96 98 21 (parallel [ (set (reg/f:HI 3 r3 [59]) (plus:HI (reg/f:HI 6 sp) (const_int