[Patch, testsuite] fix target/PR49614

Mike Stump mikestump@comcast.net
Thu Sep 8 18:26:00 GMT 2011


On Sep 8, 2011, at 1:19 AM, Iain Sandoe wrote:
> gcc.dg/vmx/gcc-bug-i.c is failing for powerpc*-*-*
> with:
> Excess errors: /opt/gcc/work/gcc/testsuite/gcc.dg/vmx/gcc-bug-i.c:16:22: warning: always_inline function might not be inlinable [-Wattributes]
> this is because the function in question is declared:
> static DO_INLINE int inline_me(vector signed short data) ;
> where:
> #define DO_INLINE __attribute__ ((always_inline))
> so, unless  __attribute__ ((always_inline)) is intended to imply "inline",  the fix below is proposed,
> OK for trunk?

I'd like an inline person to comment on this.



More information about the Gcc-patches mailing list