Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 543982 Details for
Bug 664016
sys-devel/gcc-7.3.0-r3 with -mx32 __builtin_eh_return uses movl to set return address, followed by retq
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
gcc-7.3.0-fix-x32-eh_return.patch
file_664016.txt (text/plain), 519 bytes, created by
camper
on 2018-08-19 06:58:26 UTC
(
hide
)
Description:
gcc-7.3.0-fix-x32-eh_return.patch
Filename:
MIME Type:
Creator:
camper
Created:
2018-08-19 06:58:26 UTC
Size:
519 bytes
patch
obsolete
>--- a/gcc/config/i386/i386.md >+++ b/gcc/config/i386/i386.md >@@ -12524,7 +12524,13 @@ > stack address we wish to restore. */ > tmp = gen_rtx_PLUS (Pmode, arg_pointer_rtx, sa); > tmp = plus_constant (Pmode, tmp, -UNITS_PER_WORD); >- tmp = gen_rtx_MEM (Pmode, tmp); >+ if (!TARGET_X32) >+ tmp = gen_rtx_MEM (Pmode, tmp); >+ else >+ { >+ tmp = gen_rtx_MEM (DImode, tmp); >+ ra = convert_to_mode (DImode, ra, 1); >+ } > emit_move_insn (tmp, ra); > > emit_jump_insn (gen_eh_return_internal ());
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 664016
: 543982