This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/55030] [4.8 Regression]: gcc.c-torture/execute/builtins/memcpy-chk.c execution, -Os (et al)


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55030

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ebotcazou at gcc dot
                   |                            |gnu.org

--- Comment #10 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2013-02-16 09:37:22 UTC ---
I'm getting back to this because I think that we should reinstate the original
patch, now that the blockage patch has been installed.

I have run into the same issue as your original issue with a private port on
the 4.7 branch: the clobber causes the restoring of the frame pointer to be
deleted
  http://gcc.gnu.org/ml/gcc-patches/2012-10/msg01172.html
Later reload allocates a stack slot to a pseudo that is set before the setjmp
and used after, but the frame pointer doesn't have a consistent value...

Clearly the frame pointer needs to be restored so the clobber is wrong.  It was
there because the final blockage wasn't blocking enough, but the blockage patch
is supposed to have fixed that.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]