This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PING^3 for PR target/17836, PR c/10735, PR c++/16882, PR rtl-optimization/17860[3.4]



On Nov 23, 2004, at 5:33 PM, Janis Johnson wrote:


With this patch, the following testcase gets a warning for "synthetic
vector returned by reference" for -maltivec -mabi=no-altivec.  It's not
a real call, just a call to an AltiVec builtin, so the warning isn't
needed.

#include <altivec.h>
extern vector int a1, a2, a3;
void
foo ()
{
  a3 = vec_add (a1, a2);
}

This causes lots of bogus test failures.

Actually vec_add and a number of other inline functions in that file is not marked as always inlining. Then again I am just assuming C++. If we warn about the C case well, then there is a different problem.

-- Pinski


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]