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: [PATCH, rs6000] Clarify when typedef names can be used with AltiVec vector types


Bill Schmidt wrote:

> +@item
> +When using vector in keyword-and-predefine mode; for example,
> +
> +@smallexample
> +/* With -maltivec only: */

This is a bit confusing (at least to me).  What does "with -maltivec only"
mean here?  Just adding -maltivec will *not* switch to keyword-and-
predefine mode, as far as I can tell.  Rather, to switch to that mode
you'll have to disable GNU extensions, e.g. via -std=c11, and then
include <altivec.h> to get the predefine.

Bye,
Ulrich

-- 
  Dr. Ulrich Weigand
  GNU/Linux compilers and toolchain
  Ulrich.Weigand@de.ibm.com


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