[Bug middle-end/55195] [4.8 Regression] shorten_branches generates incorrect forward branch distances

2012-11-11 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|UNCONFIRMED |NEW Last reconfirmed|

[Bug middle-end/55195] [4.8 Regression] shorten_branches generates incorrect forward branch distances

2012-11-06 Thread amylaar at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55195 --- Comment #14 from Jorn Wolfgang Rennecke 2012-11-07 00:53:48 UTC --- (In reply to comment #13) > It appears that I need to provide the min length instead of the max > length > in the opaque condition. It's more like, this is the o

[Bug middle-end/55195] [4.8 Regression] shorten_branches generates incorrect forward branch distances

2012-11-06 Thread dave.anglin at bell dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55195 --- Comment #13 from dave.anglin at bell dot net 2012-11-07 00:39:01 UTC --- On 6-Nov-12, at 10:40 AM, amylaar at gcc dot gnu.org wrote: > I see now that you get INT_MAX substituted as the maximum length if > the > value is unknown. >

[Bug middle-end/55195] [4.8 Regression] shorten_branches generates incorrect forward branch distances

2012-11-06 Thread amylaar at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55195 --- Comment #12 from Jorn Wolfgang Rennecke 2012-11-06 17:25:30 UTC --- One way to get the maximum right would be to change genattrtab:max_attr_value too process umax and/or smax, and use that to encapsulate the symbol_ref. longer term,

[Bug middle-end/55195] [4.8 Regression] shorten_branches generates incorrect forward branch distances

2012-11-06 Thread amylaar at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55195 --- Comment #11 from Jorn Wolfgang Rennecke 2012-11-06 15:40:43 UTC --- (In reply to comment #10) > The insn is actually a millicode call (branch) which needs to be able > to reach stub table. Different variants are generated depending o

[Bug middle-end/55195] [4.8 Regression] shorten_branches generates incorrect forward branch distances

2012-11-06 Thread dave.anglin at bell dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55195 --- Comment #10 from dave.anglin at bell dot net 2012-11-06 12:26:06 UTC --- On 5-Nov-12, at 11:20 AM, amylaar at gcc dot gnu.org wrote: > I take back that statement about this being straightforward. We > need valid > minimum and maxim

[Bug middle-end/55195] [4.8 Regression] shorten_branches generates incorrect forward branch distances

2012-11-05 Thread amylaar at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55195 Jorn Wolfgang Rennecke changed: What|Removed |Added Component|target |middle-end --- Comment

[Bug middle-end/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 #3 from Jorn Wolfgang Rennecke 2012-11-04 16:59:07 UTC --- I have done a -j2 bootstrap on gcc61, and in fails somewhere else in a similar fashion. I then transplanted some files to my local (faster) cross environment. I've ha

[Bug middle-end/55195] [4.8 Regression] shorten_branches generates incorrect forward branch distances

2012-11-03 Thread dave.anglin at bell dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55195 --- Comment #2 from dave.anglin at bell dot net 2012-11-04 02:52:31 UTC --- On 3-Nov-12, at 4:45 PM, amylaar at gcc dot gnu.org wrote: > > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55195 > > --- Comment #1 from Jorn Wolfgang Rennecke

[Bug middle-end/55195] [4.8 Regression] shorten_branches generates incorrect forward branch distances

2012-11-03 Thread amylaar at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55195 --- Comment #1 from Jorn Wolfgang Rennecke 2012-11-03 20:45:10 UTC --- Could you attach preprocessed source and the exact options passsed to cc1 (from -v --save-temos compilation) so that I can look at this in a cross environment?