Gcc 3.4.2 -> 3.4.3 change of behaviour; Bug or broken code?

Andrew Walrond andrew@walrond.org
Sat Dec 4 08:22:00 GMT 2004


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



More information about the Gcc mailing list