aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorTom de Vries <tom@codesourcery.com>2017-06-27 15:51:37 +0000
committerTom de Vries <vries@gcc.gnu.org>2017-06-27 15:51:37 +0000
commit22f1a03704bbb15cf766af822a17a41ac9f57121 (patch)
treee0abf5f9fc8bcbed50120155f56b0f77255f8f87 /gcc
parent5fee5eca5fe329cfd6c6fc1ae81d4da566a57431 (diff)
downloadgcc-22f1a03704bbb15cf766af822a17a41ac9f57121.zip
gcc-22f1a03704bbb15cf766af822a17a41ac9f57121.tar.gz
gcc-22f1a03704bbb15cf766af822a17a41ac9f57121.tar.bz2
Use secure_getenv for GOMP_DEBUG
2017-06-27 Tom de Vries <tom@codesourcery.com> * env.c (parse_unsigned_long_1): Factor out of ... (parse_unsigned_long): ... here. (parse_int_1): Factor out of ... (parse_int): ... here. (parse_int_secure): New function. (initialize_env): Use parse_int_secure for GOMP_DEBUG. * secure_getenv.h: Factor out of ... * plugin/plugin-hsa.c: ... here. * testsuite/libgomp.oacc-c-c++-common/gomp-debug-env.c: New test. From-SVN: r249694
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions