This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/9573] typedef with __attribute__ ((mode(....))) doesnt seem to work inside a struct/class
- From: "jens dot maurer at gmx dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Jul 2004 12:29:39 -0000
- Subject: [Bug c++/9573] typedef with __attribute__ ((mode(....))) doesnt seem to work inside a struct/class
- References: <20030204182601.9573.stefaandr@hotmail.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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