[Bug target/55195] [4.8 Regression] shorten_branches generates incorrect forward branch distances

2012-12-05 Thread danglin at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55195 --- Comment #19 from John David Anglin 2012-12-06 02:19:57 UTC --- Author: danglin Date: Thu Dec 6 02:19:48 2012 New Revision: 194238 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=194238 Log: Backport for mainline: 2

[Bug target/55195] [4.8 Regression] shorten_branches generates incorrect forward branch distances

2012-12-01 Thread danglin at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55195 --- Comment #18 from John David Anglin 2012-12-01 20:36:08 UTC --- Author: danglin Date: Sat Dec 1 20:36:04 2012 New Revision: 194027 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=194027 Log: Backport from mainline:

[Bug target/55195] [4.8 Regression] shorten_branches generates incorrect forward branch distances

2012-11-12 Thread danglin at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55195 John David Anglin changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug target/55195] [4.8 Regression] shorten_branches generates incorrect forward branch distances

2012-11-12 Thread danglin at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55195 --- Comment #16 from John David Anglin 2012-11-13 00:37:01 UTC --- Author: danglin Date: Tue Nov 13 00:36:54 2012 New Revision: 193464 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=193464 Log: PR target/55195 * config

[Bug target/55195] [4.8 Regression] shorten_branches generates incorrect forward branch distances

2012-11-04 Thread amylaar at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55195 --- Comment #8 from Jorn Wolfgang Rennecke 2012-11-05 02:32:35 UTC --- (In reply to comment #7) > In some sense, this seems like a hack which might be optimized by an > attribute processor. What about a way to mark length attributes as

[Bug target/55195] [4.8 Regression] shorten_branches generates incorrect forward branch distances

2012-11-04 Thread dave.anglin at bell dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55195 --- Comment #7 from dave.anglin at bell dot net 2012-11-04 23:50:44 UTC --- On 4-Nov-12, at 12:31 PM, amylaar at gcc dot gnu.org wrote: > Such a length attribute is not considered variable by > shorten_branches. > > You need to include

[Bug target/55195] [4.8 Regression] shorten_branches generates incorrect forward branch distances

2012-11-04 Thread dave.anglin at bell dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55195 --- Comment #6 from dave.anglin at bell dot net 2012-11-04 22:23:04 UTC --- On 4-Nov-12, at 12:31 PM, amylaar at gcc dot gnu.org wrote: > The instruction call_symref_pic_post_reload has the following length > attribute setting: > > (set

[Bug target/55195] [4.8 Regression] shorten_branches generates incorrect forward branch distances

2012-11-04 Thread amylaar at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55195 --- Comment #5 from Jorn Wolfgang Rennecke 2012-11-04 17:34:47 UTC --- Created attachment 28613 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28613 here is a proof-of-concept patch that allows the offending file to assemble successf

[Bug target/55195] [4.8 Regression] shorten_branches generates incorrect forward branch distances

2012-11-04 Thread amylaar at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55195 Jorn Wolfgang Rennecke changed: What|Removed |Added CC||law at redhat dot com