------- Comment #2 from jakub at gcc dot gnu dot org 2009-03-26 14:00 ------- What exact problem do you see? #define ATTRIBUTE_UNUSED __attribute__((unused))
vector int i; int *foo (int *vector) { return vector; } int *bar (int *vector ATTRIBUTE_UNUSED) { return vector; } int *baz (int *vector __attribute__((unused))) { return vector; } compiles just fine for me with -maltivec -Wall (and correctly complains only in foo about the unused argument). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39558