This is the mail archive of the gcc-bugs@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]

[Bug middle-end/28367] accessing via union on a vector does not cause vec_extract to be used



------- Comment #1 from pinskia at gcc dot gnu dot org  2006-07-13 05:37 -------
Note a related testcase is:
#define vector __attribute__((vector_size(16)))
float f(vector float t)
{
  return *(float*)(&t);
}

Which is only mentioned here in get_alias_set in the GCC sources as being not
violating aliasing rules (see also
http://gcc.gnu.org/ml/gcc/2006-07/msg00250.html).


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28367


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