[Bug c++/9573] typedef with __attribute__ ((mode(....))) doesnt seem to work inside a struct/class

jens dot maurer at gmx dot net gcc-bugzilla@gcc.gnu.org
Sun Jul 11 12:29:00 GMT 2004


------- Additional Comments From jens dot maurer at gmx dot net  2004-07-11 12:29 -------
I would like to point out that the bug still exists in gcc 3.4.0 release and
3.5.  Here's another testcase:

struct A
{
  typedef int v2si __attribute__((mode(V2SI)));
  static void f(v2si& v) {
    v2si a;
    v = a;
  }
};

typedef int v2si __attribute__((mode(V2SI)));
int main()
{
  v2si x;
  A::f(x);
}

-- 


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



More information about the Gcc-bugs mailing list