Skip to content

Instantly share code, notes, and snippets.

View marxin's full-sized avatar

Martin Liška marxin

View GitHub Profile
#!/usr/bin/env python3
import os
import re
"""
Transform:
#define LDAP_CONTROL_VLVRESPONSE_W (const WCHAR []){'2','.','1','6','.', \
'8','4','0','.','1','.','1','1','3','7','3','0','.','3','.','4','.','1','0',0}
From: Ludwig Nussel <ludwig.nussel@suse.de>
Date: Fri, 10 Apr 2015 14:54:18 +0200
Subject: [PATCH] check for self provides
---
TagsCheck.py | 6 ++++++
1 file changed, 6 insertions(+)
Index: rpmlint-rpmlint-1.11/TagsCheck.py
===================================================================
diff --git a/gcc/cfgexpand.c b/gcc/cfgexpand.c
index 5a93447f520..f06ce5fb912 100644
--- a/gcc/cfgexpand.c
+++ b/gcc/cfgexpand.c
@@ -3793,6 +3793,9 @@ expand_gimple_stmt_1 (gimple *stmt)
ops.type = TREE_TYPE (lhs);
switch (get_gimple_rhs_class (ops.code))
{
+ case GIMPLE_QUATERNARY_RHS:
+ ops.op3 = gimple_assign_rhs4 (assign_stmt);
This file has been truncated, but you can view the full file.
# SVN revision to git mapping
2 6f39d4ff6715973bbdf6510a69fccc46f9a746b9
3 d25b6044317a741d650fad5bd1cddb12bbcb89b5
4 bbc375e815ba0ca075c935c4f205219530045b0a
5 78206eab7028c6f250295dfeea5722c404cd8746
6 ffa8863de31d6d1e35ad77b128f9bfe3676859f5
7 8323be1206252f68d0fe3f74acea5b953131803b
8 430bcc173e7677921a26cbfd12821d533cae7f86
9 a5eca796056811719d7ab36624d406c686a07ed4
This file has been truncated, but you can view the full file.
# SVN revision to git mapping
2 6f39d4ff6715973bbdf6510a69fccc46f9a746b9
3 d25b6044317a741d650fad5bd1cddb12bbcb89b5
4 bbc375e815ba0ca075c935c4f205219530045b0a
5 78206eab7028c6f250295dfeea5722c404cd8746
6 ffa8863de31d6d1e35ad77b128f9bfe3676859f5
7 8323be1206252f68d0fe3f74acea5b953131803b
8 430bcc173e7677921a26cbfd12821d533cae7f86
9 a5eca796056811719d7ab36624d406c686a07ed4
execve("/usr/bin/make", ["make", "foo"], 0x7fff81e57120 /* 89 vars */) = 0
brk(NULL) = 0x56433c375000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=245518, ...}) = 0
mmap(NULL, 245518, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7ffb9bb0a000
close(3) = 0
openat(AT_FDCWD, "/lib64/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0000\21\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=18472, ...}) = 0
1) timestamp outside ChangeLog entries
2020-04-23 Felix Yang <felix.yang@huawei.com>
gcc/testsuite/
PR target/94678
* gcc.target/aarch64/pragma_cpp_predefs_2.c: Fix typos, pop_pragma ->
pop_options. Add tests for general-regs-only.
* gcc.target/aarch64/pragma_cpp_predefs_3.c: Add tests for
general-regs-only.
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 080a5d6..4843cbf 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -170,7 +170,7 @@ configure_file(
)
install(PROGRAMS "${PROJECT_BINARY_DIR}/cvise.py"
- DESTINATION "bin"
+ DESTINATION "${CMAKE_INSTALL_BINDIR}"
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 080a5d6..4843cbf 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -170,7 +170,7 @@ configure_file(
)
install(PROGRAMS "${PROJECT_BINARY_DIR}/cvise.py"
- DESTINATION "bin"
+ DESTINATION "${CMAKE_INSTALL_BINDIR}"
[ 213s] =================================== FAILURES ===================================
[ 213s] _______________________________ test_array_array _______________________________
[ 213s] [gw9] linux -- Python 3.8.2 /usr/bin/python3
[ 213s] RuntimeWarning: invalid value encountered in equal
[ 213s]
[ 213s] The above exception was the direct cause of the following exception:
[ 213s]
[ 213s] def test_array_array():
[ 213s] tobj = type(object)
[ 213s] ones11 = np.ones((1, 1), np.float64)