mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-27 01:56:05 +00:00

The alias was only ever used on darwin and had some issues there, and isn't used in practice much. Also fixes a problem with -mno-altivec not turning off -maltivec. Also add a diagnostic for faltivec/fno-altivec that directs users to use maltivec options and include the altivec.h file explicitly. llvm-svn: 298449
6 lines
259 B
C++
6 lines
259 B
C++
// RUN: %clang_cc1 -triple=powerpc-apple-darwin8 -target-feature +altivec -fsyntax-only -verify %s
|
|
|
|
struct Vector {
|
|
__vector float xyzw;
|
|
} __attribute__((vecreturn)) __attribute__((vecreturn)); // expected-error {{'vecreturn' attribute cannot be repeated}}
|