Skip to content

Conversation

@AlexeySachkov
Copy link
Contributor

Reverts #965

This patch effectively breaks Ubuntu 16 or any other system which has GCC < 7.1.

Before GCC 7.1, exception_ptr was only available if ATOMIC_INT_LOCK_FREE > 1 (see this commit), which doesn't seem to be true for SPIR*TargetInfo.

This reverts commit ab8e5fe.

This patch effectively breaks Ubuntu 16 or any other system which has
GCC < 7.1.

Before GCC 7.1, `exception_ptr` was only available if
`ATOMIC_INT_LOCK_FREE > 1`
(see [this commit](gcc-mirror/gcc@c45be7f)),
which doesn't seem to be true for `SPIR*TargetInfo`.

Signed-off-by: Alexey Sachkov <alexey.sachkov@intel.com>
@AlexeySachkov AlexeySachkov force-pushed the revert-965-exception-workaround branch from 8ee7c3e to 1335ad3 Compare December 26, 2019 16:35
@romanovvlad romanovvlad merged commit 2da1933 into sycl Dec 26, 2019
@AlexeySachkov AlexeySachkov deleted the revert-965-exception-workaround branch December 27, 2019 09:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants