aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimple-range-cache.cc
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2022-07-22 11:38:20 -0700
committerIan Lance Taylor <iant@golang.org>2022-07-22 11:57:18 -0700
commitcf1725610526fe347d2530455b32affc033fd7fc (patch)
treedc4777c35f2c5c8c8c655c55a369029ffe1145dd /gcc/gimple-range-cache.cc
parent41da4070a2acd9a9c1a24446d1a670bc70462886 (diff)
downloadgcc-cf1725610526fe347d2530455b32affc033fd7fc.zip
gcc-cf1725610526fe347d2530455b32affc033fd7fc.tar.gz
gcc-cf1725610526fe347d2530455b32affc033fd7fc.tar.bz2
libgo: use POSIX shell arithmetic expansion
Avoid bash-specific ((expression)) syntax. As the bash syntax converts a non-zero value to a zero status (and a zero value to a 1 status), and POSIX arithmetic expansion does not, we have to negate the result. Based on patch by Sören Tempel. Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/419154
Diffstat (limited to 'gcc/gimple-range-cache.cc')
0 files changed, 0 insertions, 0 deletions