gcc

~vcs-imports/gcc/+git/gcc:jkoval/interrupt/master

Last commit made on 2015-09-16
Get this branch:
git clone -b jkoval/interrupt/master https://git.launchpad.net/~vcs-imports/gcc/+git/gcc

Branch merges

Branch information

Name:
jkoval/interrupt/master
Repository:
lp:~vcs-imports/gcc/+git/gcc

Recent commits

f12e019... by Julia Koval <email address hidden>

1. Remove red zone support
2. Fix formatting errors

31e4f4c... by "H.J. Lu" <email address hidden>

Remove railing whitespaces

aaca35d... by Julia Koval <email address hidden>

Interrupt

2100aaa... by "H.J. Lu" <email address hidden>

Document x86 interrupt/exception attribute

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

Add __builtin_ia32_interrupt_data

The interrupt and exception handlers are called by x86 processors. X86
hardware pushes information onto stack and calls the handler. We need
a builtin function to access interrupt or exception data from the
interrupt and exception handlers which are void function without
arguments. This patch adds __builtin_ia32_interrupt_data so that
interrupt or exception data can be retrieved from the interrupt and
exception handlers.

gcc/

 PR target/66960
 * config/i386/i386.c (ix86_expand_prologue): Sorry if DRAP is
 used and the address of interrupt/exception data has been
 taken.
 (ix86_builtins): Add IX86_BUILTIN_INTERRUPT_DATA.
 (ix86_expand_builtin): Handle IX86_BUILTIN_INTERRUPT_DATA.
 * config/i386/i386.h (machine_function): Add interrupt_data_taken.
 * doc/extend.texi: Document __builtin_ia32_interrupt_data.

gcc/testsuite/

 PR target/66960
 * gcc.target/i386/pr66960-1.c: New test.
 * gcc.target/i386/pr66960-2.c: Likewise.
 * gcc.target/i386/pr66960-3.c: Likewise.

9964a98... by law <law@138bc75d-0d04-0410-961f-82ee72b054a4>

[PATCH] Minor cleanup of const_and_copies stack

 * tree-ssa-scopedtables.c (const_and_copies::const_and_copies): Remove
 unnecessary constructor. It's now trivial and implemented inside...
 * tree-ssa-scopedtables.h (const_and_copies): Implement trivial
 constructor. Add comments to various methods. Remove unused
 private fields.
 * tree-ssa-dom.c (pass_dominator::execute): Corresponding changes.
 * tree-vrp.c (identify_jump_threads): Likewise.
 * tree-ssa-threadedge.c (thread_through_normal_block): Fix minor
 indentation issues.
 (thread_across_edge): Similarly.
 (record_temporary_equivalences_from_stmts_at_dest): Remove unused
 arguments in constructor call.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@227493 138bc75d-0d04-0410-961f-82ee72b054a4

2eebe9a... by hjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>

Apppend $prop to et_prop_list only if needed

 PR testsuite/67450
 * lib/target-supports.exp (check_cached_effective_target):
 Apppend $prop to et_prop_list only if needed.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@227492 138bc75d-0d04-0410-961f-82ee72b054a4

e96292e... by mpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4>

 PR sanitizer/67279
 * c-typeck.c (build_binary_op): Don't instrument static initializers.

 * gcc.dg/ubsan/pr67279.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@227491 138bc75d-0d04-0410-961f-82ee72b054a4

adace2e... by redi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>

Add portable timed_mutex and recursive_timed_mutex.

 PR libstdc++/65704
 * include/Makefile.am: Add <bits/mutex.h>.
 * include/Makefile.in: Regenerate.
 * include/bits/mutex.h (__mutex_base, mutex, lock_guard, unique_lock):
 New file containing types moved from <mutex>.
 * include/std/condition_variable: Include <bits/mutex.h> instead of
 <mutex>.
 * include/std/mutex (__mutex_base, mutex, lock_guard, unique_lock):
 Move to <bits/mutex.h>.
 * testsuite/30_threads/recursive_timed_mutex/cons/1.cc: Remove
 dg-require-gthreads-timed.
 * testsuite/30_threads/recursive_timed_mutex/cons/assign_neg.cc:
 Likewise.
 * testsuite/30_threads/recursive_timed_mutex/cons/copy_neg.cc:
 Likewise.
 * testsuite/30_threads/recursive_timed_mutex/dest/
 destructor_locked.cc: Likewise.
 * testsuite/30_threads/recursive_timed_mutex/lock/1.cc: Likewise.
 * testsuite/30_threads/recursive_timed_mutex/lock/2.cc: Likewise.
 * testsuite/30_threads/recursive_timed_mutex/try_lock/1.cc: Likewise.
 * testsuite/30_threads/recursive_timed_mutex/try_lock/2.cc: Likewise.
 * testsuite/30_threads/recursive_timed_mutex/try_lock_for/1.cc:
 Likewise.
 * testsuite/30_threads/recursive_timed_mutex/try_lock_for/2.cc:
 Likewise.
 * testsuite/30_threads/recursive_timed_mutex/try_lock_for/3.cc:
 Likewise.
 * testsuite/30_threads/recursive_timed_mutex/try_lock_until/1.cc:
 Likewise.
 * testsuite/30_threads/recursive_timed_mutex/try_lock_until/2.cc:
 Likewise.
 * testsuite/30_threads/recursive_timed_mutex/unlock/1.cc: Likewise.
 * testsuite/30_threads/timed_mutex/cons/1.cc: Likewise.
 * testsuite/30_threads/timed_mutex/cons/assign_neg.cc: Likewise.
 * testsuite/30_threads/timed_mutex/cons/copy_neg.cc: Likewise.
 * testsuite/30_threads/timed_mutex/dest/destructor_locked.cc:
 Likewise.
 * testsuite/30_threads/timed_mutex/lock/1.cc: Likewise.
 * testsuite/30_threads/timed_mutex/requirements/standard_layout.cc:
 Likewise.
 * testsuite/30_threads/timed_mutex/try_lock/1.cc: Likewise.
 * testsuite/30_threads/timed_mutex/try_lock/2.cc: Likewise.
 * testsuite/30_threads/timed_mutex/try_lock_for/1.cc: Likewise.
 * testsuite/30_threads/timed_mutex/try_lock_for/2.cc: Likewise.
 * testsuite/30_threads/timed_mutex/try_lock_for/3.cc: Likewise.
 * testsuite/30_threads/timed_mutex/try_lock_until/1.cc: Likewise.
 * testsuite/30_threads/timed_mutex/try_lock_until/2.cc: Likewise.
 * testsuite/30_threads/timed_mutex/try_lock_until/57641.cc: Likewise.
 * testsuite/30_threads/timed_mutex/unlock/1.cc: Likewise.
 * testsuite/30_threads/unique_lock/cons/5.cc: Likewise.
 * testsuite/30_threads/unique_lock/cons/6.cc: Likewise.
 * testsuite/30_threads/unique_lock/locking/3.cc: Likewise.
 * testsuite/30_threads/unique_lock/locking/4.cc: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@227490 138bc75d-0d04-0410-961f-82ee72b054a4

608283f... by iverbin <iverbin@138bc75d-0d04-0410-961f-82ee72b054a4>

2015-09-04 Jonas Hahnfeld <email address hidden>

gcc/
 * config/i386/intelmic-mkoffload.c (prepare_target_image): Fix if the
 temp path contains a '-'.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@227489 138bc75d-0d04-0410-961f-82ee72b054a4