bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/12494] Relaxation leads to wrong code optimization (computed got


From: avr at gjlay dot de
Subject: [Bug ld/12494] Relaxation leads to wrong code optimization (computed goto)
Date: Tue, 14 Jun 2011 19:50:57 +0000

http://sourceware.org/bugzilla/show_bug.cgi?id=12494

--- Comment #5 from Georg-Johann Lay <avr at gjlay dot de> 2011-06-14 19:50:27 
UTC ---
(In reply to comment #4)

It's definitely abinutils bug.

Rewriting and tweaking C-source will not fix a binutils bug.

The simplistic source just shows that avr-gcc actually can generate code that
binutils linker relaxation will shred. For sure there are more realistic
examles out in the world, maybe even assembler or auto-generated by some tool.

BTW, avr-gcc may generate a function wil several RETs if it detects that an
expilogue is "simple". That's preferred over jumping around.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]