gcc

~vcs-imports/gcc/+git/gcc:hjl/pr81313/gcc-6-branch

Last commit made on 2017-07-08
Get this branch:
git clone -b hjl/pr81313/gcc-6-branch https://git.launchpad.net/~vcs-imports/gcc/+git/gcc

Branch merges

Branch information

Name:
hjl/pr81313/gcc-6-branch
Repository:
lp:~vcs-imports/gcc/+git/gcc

Recent commits

b256440... by "H.J. Lu" <email address hidden>

i386: Avoid stack realignment if possible

Since DRAP isn't used with -maccumulate-outgoing-args, pr59501-4a.c was
xfailed due to stack frame access via frame pointer instead of DARP.
This patch finds the maximum stack alignment from the stack frame access
instructions and avoids stack realignment if stack alignment needed is
less than incoming stack boundary.

gcc/

 PR target/59501
 * config/i386/i386.c (ix86_finalize_stack_realign_flags): Don't
 realign stack if stack alignment needed is less than incoming
 stack boundary.

gcc/testsuite/

 PR target/59501
 * gcc.target/i386/pr59501-4a.c: Remove xfail.

e664d57... by "H.J. Lu" <email address hidden>

x86: Use DRAP only if there are outgoing arguments on stack

Since DRAP is needed only if there are outgoing arguments on stack, we
should track outgoing arguments on stack and avoid setting need_drap to
true when there are no outgoing arguments on stack.

gcc/

 PR target/81313
 * config/i386/i386.c (ix86_function_arg_advance): Set
 outgoing_args_on_stack to true if there are outgoing arguments
 on stack.
 (ix86_function_arg): Likewise.
 (ix86_get_drap_rtx): Use DRAP only if there are outgoing
 arguments on stack and ACCUMULATE_OUTGOING_ARGS is false.
 * config/i386/i386.h (machine_function): Add
 outgoing_args_on_stack.

gcc/testsuite/

 PR target/81313
 * gcc.target/i386/pr81313-1.c: New test.
 * gcc.target/i386/pr81313-2.c: Likewise.
 * gcc.target/i386/pr81313-3.c: Likewise.
 * gcc.target/i386/pr81313-4.c: Likewise.
 * gcc.target/i386/pr81313-5.c: Likewise.

cafbde4... by naveenh <naveenh@138bc75d-0d04-0410-961f-82ee72b054a4>

gcc
 * config/aarch64/aarch64.c (aarch64_load_symref_appropriately):
 Access the lower part of RTX appropriately.

gcc/testsuite
 * gcc.target/aarch64/pr71112.c : New Testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-6-branch@250014 138bc75d-0d04-0410-961f-82ee72b054a4

10c4ea6... by gccadmin <gccadmin@138bc75d-0d04-0410-961f-82ee72b054a4>

Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-6-branch@250010 138bc75d-0d04-0410-961f-82ee72b054a4

4421de9... by gccadmin <gccadmin@138bc75d-0d04-0410-961f-82ee72b054a4>

Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-6-branch@249980 138bc75d-0d04-0410-961f-82ee72b054a4

ad0aadf... by thopre01 <thopre01@138bc75d-0d04-0410-961f-82ee72b054a4>

Fix ChangeLog format in r249597

This patch fixes relative pathnames in gcc/ChangeLog for r249597.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-6-branch@249968 138bc75d-0d04-0410-961f-82ee72b054a4

b685411... by jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>

Use ucontext_t not struct ucontext in linux-unwind.h files.

Current glibc no longer gives the ucontext_t type the tag struct
ucontext, to conform with POSIX namespace rules. This requires
various linux-unwind.h files in libgcc, that were previously using
struct ucontext, to be fixed to use ucontext_t instead. This is
similar to the removal of the struct siginfo tag from siginfo_t some
years ago.

This patch changes those files to use ucontext_t instead. As the
standard name that should be unconditionally safe, so this is not
restricted to architectures supported by glibc, or conditioned on the
glibc version.

Tested compilation together with current glibc with glibc's
build-many-glibcs.py.

 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
 config/pa/linux-unwind.h (pa32_fallback_frame_state),
 config/sh/linux-unwind.h (sh_fallback_frame_state),
 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
 ucontext_t instead of struct ucontext.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-6-branch@249957 138bc75d-0d04-0410-961f-82ee72b054a4

49bea35... by rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>

2017-07-04 Richard Biener <email address hidden>

 * BASE-VER: Bump to 6.4.1.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-6-branch@249955 138bc75d-0d04-0410-961f-82ee72b054a4

45dd06c... by rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>

Update ChangeLog and version files for release

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-6-branch@249945 138bc75d-0d04-0410-961f-82ee72b054a4

3777bb1... by rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>

2017-07-04 Richard Biener <email address hidden>

        Update displayed copyright years to include 2017.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-6-branch@249944 138bc75d-0d04-0410-961f-82ee72b054a4