Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 184737 Details for
Bug 261111
gcc-4.3.3 (armv4l) segfaults when emerging sys-process/procps-3.2.7
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Upstream gcc patch for versions < 4.4
gcc-arm-frename-registers.patch (text/plain), 1.12 KB, created by
Sven 'sleipnir' Rebhan
on 2009-03-11 20:23:34 UTC
(
hide
)
Description:
Upstream gcc patch for versions < 4.4
Filename:
MIME Type:
Creator:
Sven 'sleipnir' Rebhan
Created:
2009-03-11 20:23:34 UTC
Size:
1.12 KB
patch
obsolete
>Patch from http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35964 to >fix a segfault in gcc < 4.4 on arm if -frename-registers is used. > >ChangeLog (regrename) > > gcc/ > * regrename.c: Unshare RTX earlier in build_def_use to avoid > corruption of dup_loc. > > >Index: gcc/regrename.c >=================================================================== >--- gcc/regrename.c (revision 197947) >+++ gcc/regrename.c (working copy) >@@ -783,6 +783,10 @@ build_def_use (basic_block bb) > recog_data.operand_type[i] = OP_INOUT; > } > >+ /* Unshare dup_loc RTL */ >+ for (i = 0; i < recog_data.n_dups; i++) >+ *recog_data.dup_loc[i] = copy_rtx(*recog_data.dup_loc[i]); >+ > /* Step 1: Close chains for which we have overlapping reads. */ > for (i = 0; i < n_ops; i++) > scan_rtx (insn, recog_data.operand_loc[i], >@@ -813,7 +817,7 @@ build_def_use (basic_block bb) > OP_IN, 0); > > for (i = 0; i < recog_data.n_dups; i++) >- *recog_data.dup_loc[i] = copy_rtx (old_dups[i]); >+ *recog_data.dup_loc[i] = old_dups[i]; > for (i = 0; i < n_ops; i++) > *recog_data.operand_loc[i] = old_operands[i]; > if (recog_data.n_dups)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 261111
:
183812
| 184737