http://llvm.org/bugs/show_bug.cgi?id=6552
Anton Korobeynikov <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|WORKSFORME | --- Comment #2 from Anton Korobeynikov <[email protected]> 2010-03-09 00:43:41 CST --- (In reply to comment #1) > Trunk llvm-gcc does not produce that IR. Instead if correctly diagnoses this > as an error: > > test.c: In function 'foo': > test.c:5: error: invalid register name for 'fp' The error is not shown for me here (arm-eabi cross-compiler) - sound like some apple-local stuff? > The error message is pretty good in this case. You need to specify the name > of a specific register in this context and "fp" is not a register name. No, it is a valid register name per ARM's specification. gcc accepts this code as well. -- Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ LLVMbugs mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs
