Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 100188 Details for
Bug 138173
[4.1/build] fails to build on i[3-5]86 with -g
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
gcc41-pr22313.patch
gcc41-pr22313.patch (text/plain), 1.39 KB, created by
Ryan Hill (RETIRED)
on 2006-10-21 19:19:05 UTC
(
hide
)
Description:
gcc41-pr22313.patch
Filename:
MIME Type:
Creator:
Ryan Hill (RETIRED)
Created:
2006-10-21 19:19:05 UTC
Size:
1.39 KB
patch
obsolete
>--- branches/gcc-4_1-branch/gcc/dwarf2out.c 2006/09/01 15:38:00 116627 >+++ branches/gcc-4_1-branch/gcc/dwarf2out.c 2006/09/01 15:47:29 116628 >@@ -656,13 +656,19 @@ > { > dw_cfi_ref xcfi; > >- fde->dw_fde_current_label = label = xstrdup (label); >+ label = xstrdup (label); > > /* Set the location counter to the new label. */ > xcfi = new_cfi (); >- xcfi->dw_cfi_opc = DW_CFA_advance_loc4; >+ /* If we have a current label, advance from there, otherwise >+ set the location directly using set_loc. */ >+ xcfi->dw_cfi_opc = fde->dw_fde_current_label >+ ? DW_CFA_advance_loc4 >+ : DW_CFA_set_loc; > xcfi->dw_cfi_oprnd1.dw_cfi_addr = label; > add_cfi (&fde->dw_fde_cfi, xcfi); >+ >+ fde->dw_fde_current_label = label; > } > > add_cfi (&fde->dw_fde_cfi, cfi); >@@ -2050,6 +2056,7 @@ > else > dw2_asm_output_addr (DWARF2_ADDR_SIZE, > cfi->dw_cfi_oprnd1.dw_cfi_addr, NULL); >+ fde->dw_fde_current_label = cfi->dw_cfi_oprnd1.dw_cfi_addr; > break; > > case DW_CFA_advance_loc1: >@@ -3934,6 +3941,10 @@ > fde->dw_fde_unlikely_section_label = cfun->cold_section_label; > fde->dw_fde_unlikely_section_end_label = cfun->cold_section_end_label; > have_switched_text_section = true; >+ >+ /* Reset the current label on switching text sections, so that we >+ don't attempt to advance_loc4 between labels in different sections. */ >+ fde->dw_fde_current_label = NULL; > } > > #endif
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 138173
: 100188