https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79793
Bug 79793 depends on bug 81570, which changed state.
Bug 81570 Summary: create_pseudo_cfg assumes that INCOMING_FRAME_SP_OFFSET is a
constant
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81570
What|Removed |Add
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79793
--- Comment #21 from Aldy Hernandez ---
Author: aldyh
Date: Wed Sep 13 16:05:20 2017
New Revision: 252181
URL: https://gcc.gnu.org/viewcvs?rev=252181&root=gcc&view=rev
Log:
i386: Update INCOMING_FRAME_SP_OFFSET for exception handler
Since there
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79793
H.J. Lu changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79793
--- Comment #19 from hjl at gcc dot gnu.org ---
Author: hjl
Date: Sun Jul 30 14:10:32 2017
New Revision: 250721
URL: https://gcc.gnu.org/viewcvs?rev=250721&root=gcc&view=rev
Log:
i386: Update INCOMING_FRAME_SP_OFFSET for exception handler
Since
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79793
H.J. Lu changed:
What|Removed |Added
Status|REOPENED|NEW
Depends on|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79793
--- Comment #17 from H.J. Lu ---
(In reply to H.J. Lu from comment #16)
> The problem is in create_cie_data:
>
> /* On entry, the Canonical Frame Address is at SP. */
> memset (&loc, 0, sizeof (loc));
> loc.reg = dw_stack_pointer_regnum;
>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79793
--- Comment #16 from H.J. Lu ---
The problem is in create_cie_data:
/* On entry, the Canonical Frame Address is at SP. */
memset (&loc, 0, sizeof (loc));
loc.reg = dw_stack_pointer_regnum;
loc.offset = INCOMING_FRAME_SP_OFFSET;
def_cfa
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79793
H.J. Lu changed:
What|Removed |Added
Attachment #41834|0 |1
is obsolete|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79793
H.J. Lu changed:
What|Removed |Added
Attachment #41830|0 |1
is obsolete|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79793
H.J. Lu changed:
What|Removed |Added
Attachment #41826|0 |1
is obsolete|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79793
--- Comment #12 from H.J. Lu ---
Created attachment 41828
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41828&action=edit
An updated patch
Update gcc.dg/guality/pr68037-1.c. I got
FAIL: gcc.dg/guality/pr68037-1.c -O2 -flto -fuse-linke
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79793
--- Comment #11 from H.J. Lu ---
(In reply to Uroš Bizjak from comment #9)
> Created attachment 41826 [details]
> Adjust INCOMING_FRAME_SP_OFFSET for TYPE_EXCEPTION functions
>
> How about something like attached patch? The patch adjusts
> INCOM
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79793
--- Comment #10 from H.J. Lu ---
Created attachment 41827
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41827&action=edit
An untested patch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79793
--- Comment #9 from Uroš Bizjak ---
Created attachment 41826
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41826&action=edit
Adjust INCOMING_FRAME_SP_OFFSET for TYPE_EXCEPTION functions
How about something like attached patch? The patch a
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79793
--- Comment #8 from H.J. Lu ---
clang 5.0 handles stack alignment correctly:
[hjl@gnu-skl-1 pr79793]$ cat x.c
typedef unsigned int uword_t __attribute__ ((mode (__word__)));
__attribute__((interrupt))
void
fn (void *frame)
{
char fxsave_regio
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79793
--- Comment #7 from H.J. Lu ---
(In reply to H.J. Lu from comment #5)
> In 64-bit mode, stack is 16-byte aligned when entering handler. But if
> there is error code
>
> SS
> RSP
> FLAGS
> CS
> RIP
> Error Code
>
> the stack alignment is off by
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79793
Jakub Jelinek changed:
What|Removed |Added
Target Milestone|7.0 |7.2
--- Comment #6 from Jakub Jelinek -
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79793
H.J. Lu changed:
What|Removed |Added
Status|RESOLVED|REOPENED
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79793
H.J. Lu changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79793
--- Comment #3 from hjl at gcc dot gnu.org ---
Author: hjl
Date: Mon Mar 6 16:08:59 2017
New Revision: 245926
URL: https://gcc.gnu.org/viewcvs?rev=245926&root=gcc&view=rev
Log:
Set incoming stack boundary to 128 for 64-bit targets
For 64-bit t
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79793
--- Comment #2 from Yulia Koval ---
Patch posted at
https://gcc.gnu.org/ml/gcc-patches/2017-03/msg00178.html
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79793
--- Comment #1 from Richard Biener ---
Well, not "incorrect" but too conservative.
22 matches
Mail list logo