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: RFA: more generic simd fixes


>>>>> "Joern" == Joern Rennecke <joern.rennecke@superh.com> writes:
  
 >   typedef int __attribute__((mode(V8HI))) vecint;
  
 > ! vecint i = { 150, 100, 150, 200 };
 > ! vecint j = { 10, 13, 20, 30 };
 >   vecint k;
  
 >   union {
 > --- 5,12 ----
  
 >   typedef int __attribute__((mode(V8HI))) vecint;
  
 > ! vecint i = { 150, 100, 150, 200, 0, 0, 0, 0 };
 > ! vecint j = { 10, 13, 20, 30, 1, 1, 1, 1 };
 >   vecint k;

this part is obviously ok.

Hmm, the front end should issue a warning for missing initializers.

Aldy


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