https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70320
Bug ID: 70320 Summary: msp430 asm volatile does not accept lower-case register names in clobber list Product: gcc Version: 4.9.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: ari at stonepile dot fi Target Milestone: --- Following code won't compile with msp430-elf-gcc: int f() { asm volatile ("mov r1, 0" ::: "r1"); } koe.c: In function 'f': koe.c:3:3: error: unknown register name 'r1' in 'asm' asm volatile ("mov r1, 0" ::: "r1"); However, using "R1" instead of "r1" in clobber list compiles ok. This is a little bit problematic when moving to this version from old compiler version (the version on mspgcc.sourceforge.net), which accepted lowercase register names only. I think lowercase would be better, because people seem to write inline assembly usually with lowercase letters.