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] |
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.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |