This is an automated email from the git hooks/post-receive script.
unknown user pushed a commit to branch hjl/pr58066/gcc-5-branch
in repository gcc.
commit 2bf5d540eba8c7532ce81d5de36ed25781df6881
Author: Uros Bizja <ubizjak(a)gmail.com>
Date: Mon Jul 13 18:26:05 2015 -0700
Fix PR 58066, __tls_get_addr is called with misaligned stack on x86-64
This is rtl-optimization part of a two-part patch series.
As discussed in the PR, we have to prcompute register parameters
before stack alignment is performed, otherwise eventual call to
__tls_get_addr can be called with unaligned stack. When compiling the
testcase from the PR, anti_adjust_stack is called just before
precompute starts expanding function parameters.
The solution is to move precomputation before stack pointer is adjusted.
PR rtl-optimization/58066
* calls.c (expand_call): Precompute register parameters before stack
alignment is performed.
---
gcc/calls.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/gcc/calls.c b/gcc/calls.c
index 32ea4eb..88d3c4f 100644
--- a/gcc/calls.c
+++ b/gcc/calls.c
@@ -3115,6 +3115,10 @@ expand_call (tree exp, rtx target, int ignore)
compute_argument_addresses (args, argblock, num_actuals);
+ /* Precompute all register parameters. It isn't safe to compute anything
+ once we have started filling any specific hard regs. */
+ precompute_register_parameters (num_actuals, args, ®_parm_seen);
+
/* Perform stack alignment before the first push (the last arg). */
if (argblock == 0
&& adjusted_args_size.constant > reg_parm_stack_space
@@ -3155,10 +3159,6 @@ expand_call (tree exp, rtx target, int ignore)
funexp = rtx_for_function_call (fndecl, addr);
- /* Precompute all register parameters. It isn't safe to compute anything
- once we have started filling any specific hard regs. */
- precompute_register_parameters (num_actuals, args, ®_parm_seen);
-
if (CALL_EXPR_STATIC_CHAIN (exp))
static_chain_value = expand_normal (CALL_EXPR_STATIC_CHAIN (exp));
else
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
This is an automated email from the git hooks/post-receive script.
unknown user pushed a change to branch hjl/pr58066/gcc-5-branch
in repository gcc.
discards 4e7b637 Patch from Uros
discards b923fb4 Revert "Align stack before calling __tls_get_addr"
discards a357dd2 Align stack before calling __tls_get_addr
adds fb0f0fa Daily bump.
new 2bf5d54 Fix PR 58066, __tls_get_addr is called with misaligned stack [...]
new 091969c Fix PR 58066, __tls_get_addr is called with misaligned stack [...]
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (4e7b637)
\
N -- N -- N refs/heads/hjl/pr58066/gcc-5-branch (091969c)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omits" are not gone; other references still
refer to them. Any revisions marked "discards" are gone forever.
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.
Summary of changes:
gcc/DATESTAMP | 2 +-
gcc/calls.c | 2 +-
gcc/config/i386/i386.md | 8 ++++----
3 files changed, 6 insertions(+), 6 deletions(-)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
This is an automated email from the git hooks/post-receive script.
unknown user pushed a change to branch trunk
in repository gcc.
from 75409f7 Daily bump.
new 9727b44 compiler: Improve location info for function parameters.
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.
Summary of changes:
gcc/go/gofrontend/MERGE | 2 +-
gcc/go/gofrontend/gogo.cc | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
This is an automated email from the git hooks/post-receive script.
unknown user pushed a change to branch trunk
in repository gcc.
from 98f62f7 escape: Analyze multiple result type assertions.
new d800a60 Update to patch that Aldy committed directly here.
new 75409f7 Daily bump.
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.
Summary of changes:
gcc/DATESTAMP | 2 +-
gcc/go/gofrontend/MERGE | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
This is an automated email from the git hooks/post-receive script.
unknown user pushed a change to branch master
in repository gcc.
from 98f62f7 escape: Analyze multiple result type assertions.
new d800a60 Update to patch that Aldy committed directly here.
new 75409f7 Daily bump.
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.
Summary of changes:
gcc/DATESTAMP | 2 +-
gcc/go/gofrontend/MERGE | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
This is an automated email from the git hooks/post-receive script.
unknown user pushed a change to branch trunk
in repository gcc.
from dfb41c4 Fix PR c++/65186
new 98f62f7 escape: Analyze multiple result type assertions.
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.
Summary of changes:
gcc/go/gofrontend/MERGE | 2 +-
gcc/go/gofrontend/escape.cc | 35 ++++++++++++++++++++++
gcc/go/gofrontend/expressions.cc | 47 +----------------------------
gcc/go/gofrontend/expressions.h | 65 ++++++++++++++++++++++++++++++++++++++++
4 files changed, 102 insertions(+), 47 deletions(-)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
This is an automated email from the git hooks/post-receive script.
unknown user pushed a change to branch trunk
in repository gcc.
from 626256c PR libstdc++/66855 * src/c++11/codecvt.cc (__codecvt_utf8_u [...]
new dfb41c4 Fix PR c++/65186
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.
Summary of changes:
gcc/cp/ChangeLog | 6 ++++++
gcc/cp/pt.c | 5 +++++
gcc/testsuite/ChangeLog | 5 +++++
gcc/testsuite/g++.dg/template/pr65186.C | 26 ++++++++++++++++++++++++++
4 files changed, 42 insertions(+)
create mode 100644 gcc/testsuite/g++.dg/template/pr65186.C
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
This is an automated email from the git hooks/post-receive script.
unknown user pushed a change to branch trunk
in repository gcc.
from 643a814 * rtl.c (rtx_equal_p_cb): Fix typo.
new 626256c PR libstdc++/66855 * src/c++11/codecvt.cc (__codecvt_utf8_u [...]
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.
Summary of changes:
libstdc++-v3/ChangeLog | 5 +++
libstdc++-v3/src/c++11/codecvt.cc | 6 +++-
.../codecvt_utf8_utf16/66855.cc} | 37 ++++++++++++----------
3 files changed, 30 insertions(+), 18 deletions(-)
copy libstdc++-v3/testsuite/22_locale/{conversions/string/66441.cc => codecvt/code [...]
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
This is an automated email from the git hooks/post-receive script.
unknown user pushed a change to branch trunk
in repository gcc.
from 378ef47 syscall: remove calls to Entersyscall & Exitsyscall in Getdents
new 643a814 * rtl.c (rtx_equal_p_cb): Fix typo.
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.
Summary of changes:
gcc/ChangeLog | 4 ++++
gcc/rtl.c | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.