This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Gcc 3.4.2 -> 3.4.3 change of behaviour; Bug or broken code?
- From: Andrew Walrond <andrew at walrond dot org>
- To: gcc at gcc dot gnu dot org
- Date: Sat, 4 Dec 2004 08:22:13 +0000
- Subject: Gcc 3.4.2 -> 3.4.3 change of behaviour; Bug or broken code?
Is this a bug, or broken code?
enum state { HELLO, MUM };
int main()
{
enum state __attribute__ ((mode (__byte__))) a;
a = HELLO;
return 0;
}
Compiles fine with 3.4.2, but 3.4.3 gives
test.c: In function `main':
test.c:6: error: mode `byte' applied to inappropriate type
Andrew Walrond