https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64347
Bug ID: 64347 Summary: constructor priorities are not supported in avr-gcc Product: gcc Version: 4.9.3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: cameron at tacklind dot com In avr-gcc, if you try to add a priority to a constructor function, you get: "error: constructor priorities are not supported" Steps to reproduce: # echo 'void init() __attribute__((constructor(TEST)));' > test.c # echo 'int main() {return 0;}' >> test.c Compiles with no errors # gcc test.c -D TEST=1000 # avr-gcc test.c -D TEST= Does not compile # avr-gcc test.c -D TEST=1000