Re: ipa-sra is mostly disabled by -mlongcall

2021-03-11 Thread Richard Biener via Gcc-patches
On Thu, Mar 11, 2021 at 8:51 PM Segher Boessenkool wrote: > > On Thu, Mar 11, 2021 at 04:52:18AM -0300, Alexandre Oliva wrote: > > Several ipa-sra tests fail because -mlongcall on powerpc is a > > TYPE_ATTRIBUTE, and those disable ipa-sra. > > > > This local workaround disables -mlongcall for the

Re: ipa-sra is mostly disabled by -mlongcall

2021-03-11 Thread Segher Boessenkool
On Thu, Mar 11, 2021 at 04:52:18AM -0300, Alexandre Oliva wrote: > Several ipa-sra tests fail because -mlongcall on powerpc is a > TYPE_ATTRIBUTE, and those disable ipa-sra. > > This local workaround disables -mlongcall for the failing tests on > powerpc*-*-vxworks*, so they get a chance to run ev

Re: ipa-sra is mostly disabled by -mlongcall

2021-03-11 Thread Segher Boessenkool
On Thu, Mar 11, 2021 at 11:29:57AM -0300, Alexandre Oliva wrote: > On Mar 11, 2021, Richard Biener wrote: > > I wonder what the effect of this switch is - it's documented as > > affecting the call site (different call insn sequence by default), so > > the best representation would be an attribute

Re: ipa-sra is mostly disabled by -mlongcall

2021-03-11 Thread Alexandre Oliva
On Mar 11, 2021, Richard Biener wrote: > I wonder what the effect of this switch is - it's documented as > affecting the call site (different call insn sequence by default), so > the best representation would be an attribute on actual call stmts I don't think that would fulfill its purpose. My

Re: ipa-sra is mostly disabled by -mlongcall

2021-03-11 Thread Richard Biener via Gcc-patches
On Thu, Mar 11, 2021 at 9:19 AM Alexandre Oliva wrote: > > > Several ipa-sra tests fail because -mlongcall on powerpc is a > TYPE_ATTRIBUTE, and those disable ipa-sra. > > This local workaround disables -mlongcall for the failing tests on > powerpc*-*-vxworks*, so they get a chance to run even in

Re: ipa-sra is mostly disabled by -mlongcall

2021-03-11 Thread Martin Jambor
Hi, On Thu, Mar 11 2021, Alexandre Oliva wrote: > Several ipa-sra tests fail because -mlongcall on powerpc is a > TYPE_ATTRIBUTE, and those disable ipa-sra. > > This local workaround disables -mlongcall for the failing tests on > powerpc*-*-vxworks*, so they get a chance to run even in kernel mode

ipa-sra is mostly disabled by -mlongcall

2021-03-10 Thread Alexandre Oliva
Several ipa-sra tests fail because -mlongcall on powerpc is a TYPE_ATTRIBUTE, and those disable ipa-sra. This local workaround disables -mlongcall for the failing tests on powerpc*-*-vxworks*, so they get a chance to run even in kernel mode. (AdaCore has -mlongcall enabled for powerpc*-wrs-vxwo