[Bug binutils/12076] New: Duplicate line of code
In git head of binutils opcodes/i386-dis.c git://sources.redhat.com/git/binutils.git commit 02b8e8a650538a408144a3b5d329f229036ffbde Author: Alan Modra Date: Wed Sep 29 06:49:32 2010 + There is a duplicate line: 241 #define RMAL OP_REG, al_reg 242 #define RMAL OP_REG, al_reg I dont think this is needed. -- Summary: Duplicate line of code Product: binutils Version: 2.21 (HEAD) Status: NEW Severity: normal Priority: P2 Component: binutils AssignedTo: unassigned at sources dot redhat dot com ReportedBy: jamesmikedupont at googlemail dot com CC: bug-binutils at gnu dot org http://sourceware.org/bugzilla/show_bug.cgi?id=12076 --- 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
[Bug gas/12049] Unnecessary relaxation
--- Additional Comments From rafael dot espindola at gmail dot com 2010-10-01 14:56 --- It is a complete test. I will attach two .s files that show that the problems is likely in not correctly updating the size estimates. Run: as --64 test.s -o test.o as --64 test2.s -o test2.o objdump -d test.o > test.dump objdump -d test2.o > test2.dump And compare the dumps. Note that the addresses align, but in the first case we produce a 5 byte jmp in the second one we produce a 2 bytes one. -- What|Removed |Added Status|WAITING |NEW http://sourceware.org/bugzilla/show_bug.cgi?id=12049 --- 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
[Bug gas/12049] Unnecessary relaxation
--- Additional Comments From rafael dot espindola at gmail dot com 2010-10-01 14:57 --- Created an attachment (id=5025) --> (http://sourceware.org/bugzilla/attachment.cgi?id=5025&action=view) test -- http://sourceware.org/bugzilla/show_bug.cgi?id=12049 --- 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
[Bug gas/12049] Unnecessary relaxation
--- Additional Comments From rafael dot espindola at gmail dot com 2010-10-01 14:57 --- Created an attachment (id=5024) --> (http://sourceware.org/bugzilla/attachment.cgi?id=5024&action=view) test -- http://sourceware.org/bugzilla/show_bug.cgi?id=12049 --- 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
[Bug gas/12049] Unnecessary relaxation
--- Additional Comments From rafael dot espindola at gmail dot com 2010-10-01 15:39 --- A slightly more interesting testcase: .fill 56, 1, 0x90 jne .LBB0_43 .fill 10, 1, 0x90 jne .LBB0_43 .fill 5, 1, 0x90 .align 16, 0x90 .fill 118, 1, 0x90 .LBB0_43: gas is producing two 6 bytes jne. Chang the first one with a .fill 6,1,0x90 and the second one becomes a 2 bytes jne -- http://sourceware.org/bugzilla/show_bug.cgi?id=12049 --- 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