Consider the following test case on the ARC . .extCoreRegister roshortcutextcore, 38, r, can_shortcut .extCoreRegister rwshortcutextcore, 39, r|w, can_shortcut .extCoreRegister wshortcutextcore , 40, w, can_shortcut .extCoreRegister ronoshortcutextcore, 41, r, cannot_shortcut .extCoreRegister wonoshortcutextcore , 42, w,cannot_shortcut .extCoreRegister rwnoshortcutextcore , 43, r|w, cannot_shortcut
extCoreTest: add r0, roshortcutextcore, r1 ld rwshortcutextcore, [r2] add r0,rwshortcutextcore,r1 ;; No warning about shortcutting given. ld rwnoshortcutextcore, [r3] add r0, rwnoshortcutextcore,r1 ;; GAS ought to give a warning here. -- Summary: GAS does not give enough warnings about wrong usage of non shortcuttable registers. Product: binutils Version: 2.15 Status: NEW Severity: normal Priority: P2 Component: gas AssignedTo: unassigned at sources dot redhat dot com ReportedBy: ramana dot radhakrishnan at codito dot com CC: bug-binutils at gnu dot org,nickc at redhat dot com GCC build triplet: i686-linux GCC host triplet: i686-linux GCC target triplet: arc-elf32 http://sources.redhat.com/bugzilla/show_bug.cgi?id=709 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils